thank you!!


On Thu, Apr 8, 2010 at 5:55 PM, Lukas Renggli <renggli@gmail.com> wrote:
> This behavior is not the same for a select. The first code works ok with a
> select.
> Does anybody know why? It looks like serializing only the checkbox is not
> enought to trigger the checkbox's callback...

Yes, see the method comment of the method #serializeThis.

JQAjax>>serializeThis
       "Serialize the receiving element. Note that this might not work for
all form elements: (1) for check-boxes and multi-select lists Seaside
internally depends on an additional hidden form element that is
generated automatically, instead use #serializeThisWithHidden (2)
submit-button callbacks are ignored, instead use a normal callback to
trigger specific code evaluation."

       self serialize: self jQuery this

Lukas

--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside-dev mailing list
seaside-dev@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev