t;
>>>> I might just have to make it so the pay isn't a submit button, maybe
>>>> have
>>>> a
>>>> sort of 'shopping cart' running total at the top of the screen where
>>>> they
>>>> can click on the link to go to the make payment screen.. But, I do
&
*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
where they
>> can click on the link to go to the make payment screen.. But, I do still
>> believe that what I'm trying to do should work.
>
> *and* configuration.
>
> I only see a method defined for the "pay" submit button; does the
> ListCustomerData action conig
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.
d to check to make sure I
>> haven't done anything wrong before reporting it.
>
> Can you show the JSP and configuration? I've used the "method" parameter
> with the submit tag without any issues.
>
> Dave
>
>
> -----------------------
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,
buttons using action and method
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 m
but I wanted to check to make sure I
haven't done anything wrong before reporting it.
Cheers,
Stephanie
--
View this message in context:
http://www.nabble.com/-s2--multiple-submit-buttons-using-action-and-method-tp23311584p23311584.html
Sent from the Struts - User
9 matches
Mail list logo