[Seaside] Anchor with submit and callback
Philippe Marschall
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.
Philippe
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
> http://www.libertybasic.com
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
More information about the Seaside
mailing list