[Seaside] Different actions upon form submission possible?

Alexandre Paes alex.paes at streetdogstudio.com
Wed Oct 17 13:59:39 UTC 2007

Thanks Lukas,

I keep forgetting about ajax since i'm not used to using it all that 
much. This way i can easily deploy many different actions.

Maybe you can help me with some other Ajax doubt.

I have several containers expanded by an SUEffect. Is there a way to 
have an Evaluator be applied to these containers, but only to expanded 
ones (by testing visible for instance)? I think i can achieve this 
relatively easily but only performing one Ajax request per container, 
since the callback would be the same, would there be a way to do this 
with a single request?

Thanks for all the help,

Alex Paes

Em 10/17/07 13:11 Lukas Renggli escreveu:
> JavaScript. For example using an Scriptaculous something along this should work:
> html anchor
>     onClick: (html evaluator
>        triggerFormNamed: 'formId';
>        callback: [ :script |
>           self validate; whatever; something.
>           script refresh ]);
>     with: 'validate'
> Lukas

More information about the seaside mailing list