You should look at the FindForwardAction in scaffold. It relies on you creating forwards that correspond to button names (with the .x or .y if you are using image buttons). If you can stomach a little bit of javascript (simply to set the value on a hidden field), you can use the RelayAction to do the same type of thing without worrying about button names.
-----Original Message----- From: Garth Patil [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 5:51 PM To: [EMAIL PROTECTED] Subject: posting an alternate value to a submit button is there any way to post an alternate value for a submit button without using javascript? alternately, is there a good way to have the actionform get the name of the submit button without writing a set method for every possible case? thanks. _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]