A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Introducing JavaFX 8 Programming
this week in the
Struts 2 Cancel Button
Joined: Oct 29, 2001
Sep 16, 2010 07:16:41
I had a problem canceling a form in a
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?
How To Ask Questions On JavaRanch
I agree. Here's the link:
subject: Struts 2 Cancel Button
document.referrer in struts
How to assign names to buttons and tell which button was pressed in the Action class?
Struts Cancel Button submits the form
My Cancel button is not working in struts1.2
Problems with action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015