avi.bryant at gmail.com
Tue Oct 11 03:36:43 UTC 2005
On Oct 10, 2005, at 10:28 PM, Mart-Mari Breedt wrote:
> Maybe I was a bit unclear in the first mail. What I basically want to
> achieve is for an anchor tag to exibit the same behavior as a submit
> button. I.e when I click on the anchor tag it should also submit the
> form contents and then do something else (normally defined in the
> block). I thought that WAAnchorTag>>submitFormNamed: should do the
> trick, but I do not know exactly how to use it with
> #anchorWithAction:text: and it seems that nobody else know what I am
> talking about. Any other ideas would however be appreciated.
Which version of Seaside are you using? This has been changing a bit
on the a2 branch. And it will change more, because it's currently a
little bit too hard to use.
Anyway, as of the most recent version you do this:
callback: ["do something else"];
text: 'Not a submit button'
More information about the Seaside