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

2009-04-30 Thread Stephiems
d* 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: >> >> > value="%{getText('button.label.save')}" action="ListCustomerData&q

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

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

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

2009-04-30 Thread Stephiems
Cheers, Stephanie newton.dave wrote: > > 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

[s2] multiple submit buttons using action and method

2009-04-30 Thread Stephiems
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, if it passes, I fo