/customerDataList.jsp
/customerDataList.jsp
/error.jsp
MakePayment!input
Then with the save() method in ListCustomerDataAction I return SUCCESS.
With the pay() method I do some value checking..just to make sure some
elements have been selected to pay and that the amount is greater then zero.
I
*and* configuration.
Stephiems wrote:
Oh, sorry, I was experimenting and changed the code:
Here is what I have for the submits, all the rest is the same:
method="save" cssClass="button"/>
value="%{getText('button.label.paynow')}" action="ListCustomerData"
method="pay" cssClass="button"/>
Th
Oh, sorry, I was experimenting and changed the code:
Here is what I have for the submits, all the rest is the same:
Thanks
newton.dave wrote:
>
> Stephiems wrote:
>> Both submits go to the same action, just different methods, so I can't
>> have
>> different forms. I might have to change h
Stephiems wrote:
Both submits go to the same action, just different methods, so I can't have
different forms. I might have to change how it works. I don't like it as it
is, but that is what the client wanted, and as much as I tried to get them
to chanage, in the end I have to do what they want.
Both submits go to the same action, just different methods, so I can't have
different forms. I might have to change how it works. I don't like it as it
is, but that is what the client wanted, and as much as I tried to get them
to chanage, in the end I have to do what they want.
Here is basically
browser issues.
Todd Kofford
tkoff...@ku.edu
University of Kansas - IT
-Original Message-
From: Kishan G. Chellap Paandy
[mailto:kishanchellapaand...@spanservices.com]
Sent: Thursday, April 30, 2009 6:38 AM
To: Struts Users Mailing List
Subject: RE: [s2] multiple submit buttons using ac
Stephiems wrote:
I'm having a problem with the action and method values on the s:submit tag.
I have a form where I have two submits, Save and Pay Now. Save submits to
the actions save() method and Pay Now submits to the actions pay() method.
In the pay() method I have some of my own validation,
Hi Stephiems,
Are you using same action class for pay() and save()?
If you are using different actions, then have you tried to associate
each submit with a form/s:form?
Do you have mentioned any action in your current form/s:form?
Since you are not getting an error, it may because of the above pr
8 matches
Mail list logo