<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>
      &nbsp;&nbsp;&nbsp; html table: [<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html tableBody<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; script: (html jQuery new sortable<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; onStop: (html jQuery ajax<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; callback: [ :values | self halt. items :=
      values.]<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; passengers: (html jQuery this find: 'tr')));<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: [<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; items do: [ :each |<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; html tableRow <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; class: 'ui-corner-all';<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; passenger: each;&nbsp;&nbsp;&nbsp; <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: [html tableData<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; with: each <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ] <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ]<br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ]<br>
      &nbsp;&nbsp;&nbsp; ]<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: &nbsp;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:
              &nbsp;(html jQuery ajax<span class="" style="white-space:pre">
              </span></div>
            <div><span class="" style="white-space:pre"> </span> &nbsp;<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> &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; event inspect.&nbsp;</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,&nbsp;</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>