[Seaside] Click, Replace and Submit

Lukas Renggli renggli at gmail.com
Tue Aug 2 10:42:53 UTC 2011

> I'm trying to do something like this: In a Form a Submit Button should be
> replaced by the String "Processing" when the user submits the form.
> What I tried was this (in renderContentOn:):
> [...]
>         html submitButton
>             id: #submit;
>             onClick: ((html jQuery id: #submit) replaceWith: 'Processing');
>             on: #save of: self]
> [...]

This removes the button from the page, before the form is actually submitted.


Lukas Renggli

More information about the seaside mailing list