[Seaside] Anchor with submit and callback

Carl Gundel carlg at libertybasic.com
Thu Nov 16 22:12:03 UTC 2006

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

More information about the Seaside mailing list