Re: [s2] multiple submit buttons using action and method

2009-04-30 Thread Stephiems
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 &

Re: [s2] multiple submit buttons using action and method

2009-04-30 Thread Dave Newton
*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

Re: [s2] multiple submit buttons using action and method

2009-04-30 Thread Stephiems
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

Re: [s2] multiple submit buttons using action and method

2009-04-30 Thread Dave Newton
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.

Re: [s2] multiple submit buttons using action and method

2009-04-30 Thread Stephiems
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 > > > -----------

RE: [s2] multiple submit buttons using action and method

2009-04-30 Thread Kofford, C Todd
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

Re: [s2] multiple submit buttons using action and method

2009-04-30 Thread Dave Newton
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,

RE: [s2] multiple submit buttons using action and method

2009-04-30 Thread Kishan G. Chellap Paandy
ve possibly found a bug, 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-meth od-tp23311584p23311584.html Sent from the Struts - User

[s2] multiple submit buttons using action and method

2009-04-30 Thread Stephiems
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

Multiple submit buttons using

2006-10-16 Thread Vinod Kumar
Hi All, I have a page with multiple submit buttons. I am using LookupDispathAction. If I use button, then everything is working fine. Look at code1 below, which works fine. But, my application requires to use images instead of standard submit button for submitting the form. So, if i use the code