Yes, it makes sense to include this.  However, since clicking on
cancel still cancels the form (and doesn't cause JavaScript errors),
I'm tempted to leave it like it is (since it's simpler and easier to
understand).

If you configure your validation rules in PersonAction-validation.xml,
the cancel button will fail and you will need this workaround.

Matt

On 3/25/07, Johan Chaves SaborĂ­o <[EMAIL PROTECTED]> wrote:
Hi,

I think that the "Using Struts 2" tutorial can be updated in the
personForm.jsp
(http://appfuse.org/display/APF/Using+Struts+2#UsingStruts2-formview
) by adding the allow canceling workaround
(http://jira.opensymphony.com/browse/WW-648).





--
http://raibledesigns.com

Reply via email to