This doesn't answer your question, but...
If you don't need access to the submitted values of your form within
your listener method (as is typically the case) then you can easily (and
more efficiently) implement a cancel button by combining any type of
link component (e.g. DirectLink) with a
org.apache.tapestry.link.ButtonLinkRenderer.
Paul
Nick Stuart wrote:
Ok, so I've seen several mentions of the new "Cancel" ability for
forms, but how does one actually go about doing this? I've noticed
@Form can now have a cancel listener, but how do you tell it to hit
that one instead of the regular one?
A component along the lines of a "Cancel" button or something would be
nice, as I'm sure this will be a common occurence in 4.0+.
Thanks for the help!
-Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]