We have also implemented a multiple submit button system; but in our case we wrote a custom tag that generates javascript that sets a property to a specified value and submits the form when you hit the button.
The tags look something like: <my_submit property="formAction" value="delete" label="Delete this record"/> <my_submit property="formAction" value="save" label="Save changes"/> <my_submit property="formAction" value="copy" label="Copy this record"/> etc A single action object can then use the value of formAction to decide what to do in each case. This has the side-effect of reducing the number of Action classes needed. However, the tags generate javascript and I wasn't sure if this fitted the struts philosophy; so I haven't submitted the code changes. But if anyone was interested I could make it available. Joe Faith Runtime Collective, Ltd T: (+44) 01273 234294 Erik Hatcher wrote: > As promised earlier today, here is my contribution to the multiple > html:submit button saga (Ted, time to update your FAQ! :)....