Suggest that you create a RelayAction that looks for a certain Form/Request
parameter (set by your buttons). The RelayAction then just forwards onto the
real Actions that you want performed, based on the value of the Request
parameter.

William

-----Original Message-----
From: Eric Schneider [mailto:[EMAIL PROTECTED]
Sent: Monday, 28 June 2004 12:48 PM
To: Struts Users Mailing List
Subject: multiple submit buttons/one form


Hi,

What is best approach using Struts for a forms that have multiple 
submit buttons.   Is it possible to bind actions to submit buttons 
instead of forms?   Ideally, I'd like each submit button to execute 
different actions.

Looking at the docs, a solution hasn't jumped out at me.   This is 
something that must be common, no?

Thanks,
Eric


---------------------------------------------------------------------
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]

Reply via email to