[Seaside] triggerFormElement: and checkboxes?

Mart-Mari Breedt breedt_m at aircom.co.za
Wed Aug 23 09:31:14 UTC 2006


Ah, ok. I read right over the exclusion list the first time around. I
was wondering when this magic salt of triggerFormElement: was gonna run
out :-(.

Last week you said that the best approach to solving my problem with
submit buttons and updaters is to add a slightly different method to
FormElement that only serializes the input elements and that is
internally used by
#triggerForm. I really do not know how to do this. Will please just give
a couple of pointers?

Thanks for all the help!

Kind regards,

Mart-Mari


-----Original Message-----
From: Lukas Renggli [mailto:renggli at gmail.com] 
Sent: 23 Augustus 2006 11:18
To: The Squeak Enterprise Aubergines Server - general discussion.
Subject: Re: [Seaside] triggerFormElement: and checkboxes?

> I wondering, has anyone else also experienced that triggerFormElement:
> doesn't work with checkboxes?

The method comment in #triggerFormElement: gives you the answer. A
more detailled explanation can be found in the archive of this
mailing-list.

       "Serializing form elements does not always work as one would
expect, since Seaside sometimes depends on extra hidden-fields to be
triggered to be able to perform your callback-block. When encountering
a problem (check-boxes, multi-select lists) try using #triggerForm:
instead."

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Seaside mailing list
Seaside at lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list