A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
Struts 2 Cancel Button
Joined: Oct 29, 2001
Sep 16, 2010 07:16:41
I had a problem canceling a form in a Struts 2 app and went googling for "Struts 2 Cancel Button". One of the hits was the
Struts 2 Announcement Page
Easy cancel handling - The Struts2 Cancel button can go directly to a different action.
I can't find any reference to this functionality in my books or the Struts documentation. The Struts 2.0.6 home page has this code:
<s:submit action="Register_cancel" value="Cancel" name="Cancel" onclick="form.onsubmit=null"/>
Is that what the announcement is talking about?
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: Struts 2 Cancel Button
How to assign names to buttons and tell which button was pressed in the Action class?
Problems with action
Struts Cancel Button submits the form
document.referrer in struts
My Cancel button is not working in struts1.2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014