As far as I know the only way to render a cancel button inside a form is this:

<s:submit value="%{getText('button.label.cancel')}" action="cancelFormAction"/>

This requires

struts.mapper.action.prefix.enabled = true.

I can't imagine a middle-high size development which does not use a single cancel button.

Shouldn't 'struts.mapper.action.prefix.enabled=true' by default?

Or, is there any other way to render a cancel button?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to