remove one important piece of scripting.
And it seemed like it might be useful information in the context of this
thread.
From: Riyad Kalla <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: Struts Users Mailing List <[EMAIL PROTECTED]>
Subje
Rick,
This is a great approach as well and I think we've giving good answers.
1 way you change the Form, and another way you change the Action.
I didn't know you could do it the way you described, thanks for the tip!
Rick Reumann wrote:
Riyad Kalla wrote:
1) Yes you can do it
2) Given each button
Riyad Kalla wrote:
1) Yes you can do it
2) Given each button a different value, like "List Products" and "List
All Products"
3) Add a "buttonValue" (or some other adequetly names) property to your
form for the respective action, it will capture the button clicked.
4) In your action:
if(form.getB
1) Yes you can do it
2) Given each button a different value, like "List Products" and "List
All Products"
3) Add a "buttonValue" (or some other adequetly names) property to your
form for the respective action, it will capture the button clicked.
4) In your action:
if(form.getButtonValue().equals
4 matches
Mail list logo