If you don't want to add another form element to the page you could take a look at LookupDispatchAction's getKeyMethodMap() method. Extend LookupDispatchAction in your action class. Override the getKeyMethodMap in which you can map your button's keys to methods you create. You could create a mapping for your "prompt.back.button" to a goBack method. In goBack() you can do whatever processing you might need to "undo" things, then return a forward name that you map for it in your struts-config file.
On 3/19/08 9:02 AM, "Dimitris Mouchritsas" <[EMAIL PROTECTED]> wrote: Hi all, we're using struts 1.2.4 in our project and I'm trying to implement a back button for a 3 step registration procedure. The problem is I'd like to do it without using javascript. I've discovered html:cancel which works nicely for ...canceling. But I couldn't find anything similar for the back button. Any ideas? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]