[Seaside] Anchor with submit and callback
philippe.marschall at gmail.com
Thu Nov 16 22:22:20 UTC 2006
What you want is a submitButton. It has a callback and submitts a form.
2006/11/16, Carl Gundel <carlg at libertybasic.com>:
> When I use the code below the anchor submits, but it doesn't execute the
> callback. If I eliminate the submitFormNamed: then clicking executes the
> callback, but of course then it doesn't submit the form. Is it possible to
> have an anchor that does both?
> html anchor
> id: 'cssID';
> submitFormNamed: 'submitMe';
> callback: [self doSomething];
> text: 'Do something'.
> -Carl Gundel, author of Liberty BASIC
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside