Is it possible to use a DispatchAction but that some of the submit buttons display the same name, but they redirect to different methods.???
I have tried this:
<html:submit property="method" value="ActivateAccount"> Activate </html:submit>
<html:submit property="method" value="ActivateUser"> Activate </html:submit>
It keeps rendering the value as the submit button“s displayed label.
So what am I doing wrong?? What can I do?? I need both buttons to show the same label "Activate" (this weird requirement is because they are in different tabs in the same jsp.
one is Account Tab and The other Users tab, so It dosent need to explicitly show which entity the button is going to activate). But both tabs are inside the same form and they redirect
to the same DispatchAction.
Is this a design bug??
Ashuin Sharma
Software Developer
Isthmus Inc.
The Costa Rica IT Outsourcing Company
www.isthmusit.com <blocked::http://www.isthmusit.com/>
asharma@(protected)
Office +1 (506) 560-1600
Mobile +1 (506) 817-4059
Fax +1 (506) 560-1610
San Jose, Costa Rica
********************************************
The information contained in this e-mail is privileged and confidential, this information is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, copy or taking action in reliance upon this email is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and then delete this e-mail in its entirety.
********************************************