[Seaside] Click, Replace and Submit

Alexander Lazarević laza at blobworks.com
Tue Aug 2 11:05:03 UTC 2011


2011/8/2 Lukas Renggli <renggli at gmail.com>

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

Ok, so how can I replace the button by some other element (text/image) and
trigger an explicit submit? I could have missed that in the docs, so please
feel free to point me to some page explaining this!

In the meantime I can live with this. It's not as nice as I intended it, but
it works for now:

            onClick: ((html jQuery id: #submit) value: 'Processing';
attributeAt: #disabled put: #true);

Thanks, Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20110802/b4982554/attachment-0001.htm


More information about the seaside mailing list