[Seaside] Form and checkbox?
philippe.marschall at gmail.com
Wed Nov 1 16:43:17 UTC 2006
2006/11/1, Brian Brown <rbb at techgame.net>:
> On Nov 1, 2006, at 1:21 AM, Philippe Marschall wrote:
> > You could make the checkbox sumit on change (not implemented right now
> > but should be simple). This way the form will be submitted when the
> > checkbox value is changed.
> Actually, there is a convenience method in WACheckboxTag,
> #submitFormNamed: which creates an onClick event to submit the named
> html form. Just make sure you have the WAStandardScript as part of
> your app in the configuration.
Yeah, be #beSubmitOnChange of WASelectTag is much nicer. No need to
fiddle around with form ids.
Damn do I want Traits.
More information about the Seaside