<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">renderContentTableOn: html<br>
<br>
html table: [<br>
html tableBody<br>
script: (html jQuery new sortable<br>
onStop: (html jQuery ajax<br>
callback: [ :values | self halt. items :=
values.]<br>
passengers: (html jQuery this find: 'tr')));<br>
with: [<br>
items do: [ :each |<br>
html tableRow <br>
class: 'ui-corner-all';<br>
passenger: each; <br>
with: [html tableData<br>
with: each <br>
] <br>
]<br>
]<br>
]<br>
<br>
seems to work.<br>
<br>
</font>
<div class="moz-cite-prefix">On 11/24/14 10:01 AM, Mariano Martinez
Peck wrote:<br>
</div>
<blockquote
cite="mid:CAA+-=mWn-TrKBRbriNSyTBWA=LLxpEwTY5_5U0D-Sp=G66zO5g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi guys,
<div><br>
</div>
<div>I am trying to use JQueryUI sortable for making the rows of
a table sortable. I could make it to work at the client side
but I don't now how to be able to get the values at the server
side in order to update my internal OrderedCollection.<br
clear="all">
<div><br>
</div>
<div>I found #callbackSortable: but it seems I am doing
something wrong... This is what I am doing:</div>
<div><br>
</div>
<div>
<div><span class="" style="white-space:pre"> </span>html
script: ((html jQuery: 'tbody') sortable</div>
<div><span class="" style="white-space:pre"> </span>onUpdate:
(html jQuery ajax<span class="" style="white-space:pre">
</span></div>
<div><span class="" style="white-space:pre"> </span> <span
class="" style="white-space:pre"> </span>callbackSortable:
[ :event |</div>
<div><span class="" style="white-space:pre"> </span></div>
<div><span class="" style="white-space:pre"> </span>
event inspect. </div>
<div><span class="" style="white-space:pre"> </span>]))</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>But the event inspected has nothing.. Everything from
"passanger" is nil. I guess I may be missing passing
passengers..but I don't know what nor where.</div>
<div><br>
</div>
<div>Any idea?</div>
<div><br>
</div>
<div>Thanks, </div>
<div><br>
</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">Mariano<br>
<a moz-do-not-send="true"
href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
seaside mailing list
<a class="moz-txt-link-abbreviated" href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a>
</pre>
</blockquote>
<br>
</body>
</html>