Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-27 Thread Guilherme Bisconcini
it 2" > indicator="indicator" > button="true" > /> > > > > > Best Regards > > Johannes > > ##### &

Re: Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-24 Thread Johannes Geppert
2016-06-23 22:11 GMT+02:00 Guilherme Bisconcini < guilherme.bisconc...@sefisa.com.br>: > Hi, > > I have spent about 3 hours trying to do Multiple Submit Buttons in same > form using Jquery/Ajax. I have tried > https://struts.apache.org/docs/multiple-submit-buttons.html witho

Multiple Submit Buttons in Same Form using Jquery/Ajax

2016-06-23 Thread Guilherme Bisconcini
Hi, I have spent about 3 hours trying to do Multiple Submit Buttons in same form using Jquery/Ajax. I have tried https://struts.apache.org/docs/multiple-submit-buttons.html without success. I'm using Jquery with struts, so I think thats why it doens't work? because my Struts is: 2.

Re: Struts2 multiple submit buttons in One action class

2014-03-25 Thread struts2problems
----- > If you reply to this email, your message will be added to the discussion > below: > > http://struts.1045723.n5.nabble.com/Struts2-multiple-submit-buttons-in-One-action-class-tp5715568p5715574.html > To unsubscribe from Struts2

Re: Struts2 multiple submit buttons in One action class

2014-03-24 Thread Dave Newton
On Sat, Mar 22, 2014 at 6:31 AM, struts2problems < charitha.nagell...@gmail.com> wrote: > private static PInfoDTO bean; > Whoa; that can't be a good idea, regardless of anything else. Dave -- e: davelnew...@gmail.com m: 908-380-8699 s: davelnewton_skype t: @dave_newton

Struts2 multiple submit buttons in One action class

2014-03-24 Thread struts2problems
I wrote code for multiple submit buttons of one form in one Action class by using java bean. But when I was running the application first time its working fine After that I am getting NullPointerException . Please Help me. Here is My code. *Exception:* *!st time running.* calling bean

Re: Multiple Submit Buttons problem in Struts2

2011-01-04 Thread aum strut
;> > > >> Dave > > >> > > >> On Mon, Jan 3, 2011 at 11:33 AM, Biesbrock, Kevin < > > > biesbrock.ke...@aoins.com > > >>> wrote: > > >> > > >>> Should this be included in documentation as a mo

Re: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Brian Thompson
Biesbrock, Kevin < > > biesbrock.ke...@aoins.com > >>> wrote: > >> > >>> Should this be included in documentation as a more complex example of > >>> Struts2? Maybe an example action as well? Just a thought. > >>> > >>> > >&g

Re: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Maurizio Cucchiara
-Beez >>> >>> -Original Message- >>> From: stanl...@gmail.com [mailto:stanl...@gmail.com] >>> Sent: Sunday, January 02, 2011 5:20 PM >>> To: Struts Users Mailing List >>> Subject: Re: Multiple Submit Buttons problem in Struts2 >>&g

Re: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Brian Thompson
an example action as well? Just a thought. >> >> >> -Beez >> >> -Original Message- >> From: stanl...@gmail.com [mailto:stanl...@gmail.com] >> Sent: Sunday, January 02, 2011 5:20 PM >> To: Struts Users Mailing List >> Subject: Re: Multiple Subm

RE: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Biesbrock, Kevin
Well, I have no CLA but I will contribute what I may. Beez r 5347 -Original Message- From: Dave Newton [mailto:davelnew...@gmail.com] Sent: Monday, January 03, 2011 11:42 AM To: Struts Users Mailing List Subject: Re: Multiple Submit Buttons problem in Struts2 I kind of thought the

Re: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Dave Newton
Struts2? Maybe an example action as well? Just a thought. > > > -Beez > > -Original Message- > From: stanl...@gmail.com [mailto:stanl...@gmail.com] > Sent: Sunday, January 02, 2011 5:20 PM > To: Struts Users Mailing List > Subject: Re: Multiple Submit Buttons

RE: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread Biesbrock, Kevin
: Re: Multiple Submit Buttons problem in Struts2 How about something like this? Scott On Sat, Jan 1, 2011 at 8:53 AM, aum strut wrote: > Hi All, > > Trying to work with multiple submit buttons within a single form in > struts2 application but not able to work. her

Re: Multiple Submit Buttons problem in Struts2

2011-01-03 Thread aum strut
11 at 5:20 PM, wrote: > > > How about something like this? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Scott > > > > On S

Re: Multiple Submit Buttons problem in Struts2

2011-01-02 Thread Dave Newton
> > Scott > > On Sat, Jan 1, 2011 at 8:53 AM, aum strut wrote: > > > Hi All, > > > > Trying to work with multiple submit buttons within a single form in > struts2 > > application but not able to work. here is the jsp code i am using > &g

Re: Multiple Submit Buttons problem in Struts2

2011-01-02 Thread stanlick
How about something like this? Scott On Sat, Jan 1, 2011 at 8:53 AM, aum strut wrote: > Hi All, > > Trying to work with multiple submit buttons within a single form in struts2 > application but not able to work. here is the jsp cod

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread Dave Newton
So what might some of those ways be? Dave On Sat, Jan 1, 2011 at 2:33 PM, aum strut wrote: > agree!!! > > On Sat, Jan 1, 2011 at 10:20 PM, Dave Newton > wrote: > > > And *my* point is that perhaps there's another way you can solve your > > problem and eliminate the "tight" coupling between for

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread aum strut
agree!!! On Sat, Jan 1, 2011 at 10:20 PM, Dave Newton wrote: > And *my* point is that perhaps there's another way you can solve your > problem and eliminate the "tight" coupling between form and action. > > Dave > > On Sat, Jan 1, 2011 at 11:16 AM, aum strut wrote: > > > My point was that the b

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread Dave Newton
And *my* point is that perhaps there's another way you can solve your problem and eliminate the "tight" coupling between form and action. Dave On Sat, Jan 1, 2011 at 11:16 AM, aum strut wrote: > My point was that the boolean approach mentioned in the document was in my > opinion is better and s

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread aum strut
My point was that the boolean approach mentioned in the document was in my opinion is better and same was mentioned in the document sinnce it was not coupling the form tightly with action. On Sat, Jan 1, 2011 at 9:44 PM, Dave Newton wrote: > On Sat, Jan 1, 2011 at 11:13 AM, aum strut wrote: >

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread Dave Newton
On Sat, Jan 1, 2011 at 11:13 AM, aum strut wrote: > agree! > but i still believe coupling the form value with action component is never > a > good idea.. so still believe the first approach was was better. > So... is there another way to achieve what you want? Dave

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread aum strut
false value. > > > > > > Dave > > > > > > On Sat, Jan 1, 2011 at 9:53 AM, aum strut > wrote: > > > > > > > Hi All, > > > > > > > > Trying to work with multiple submit buttons within a single form in > > > struts

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread Dave Newton
> > > On Sat, Jan 1, 2011 at 9:53 AM, aum strut wrote: > > > > > Hi All, > > > > > > Trying to work with multiple submit buttons within a single form in > > struts2 > > > application but not able to work. here is the jsp code i am usi

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread Maurizio Cucchiara
I'm not sure at this moment, but using 1 as value should work Maurizio Cucchiara On Jan 1, 2011 4:29 PM, "aum strut" wrote: i was just refreing the following document http://struts.apache.org/2.0.14/docs/multiple-submit-buttons.html since it was mentioned that second approach will make action c

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread aum strut
ert "Import" to a true or false value. > > Dave > > On Sat, Jan 1, 2011 at 9:53 AM, aum strut wrote: > > > Hi All, > > > > Trying to work with multiple submit buttons within a single form in > struts2 > > applicatio

Re: Multiple Submit Buttons problem in Struts2

2011-01-01 Thread Dave Newton
S2 would have no idea how to convert "Import" to a true or false value. Dave On Sat, Jan 1, 2011 at 9:53 AM, aum strut wrote: > Hi All, > > Trying to work with multiple submit buttons within a single form in struts2 > application but not able to work. here is t

Multiple Submit Buttons problem in Struts2

2011-01-01 Thread aum strut
Hi All, Trying to work with multiple submit buttons within a single form in struts2 application but not able to work. here is the jsp code i am using

Re: Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-20 Thread RogerV
eeing "request", "request" and promptly rolls over. I'm currently writing a proxy for the device to serialize access to it - I was just wondering if there was a better alternative. Regards -- View this message in context: http://old.nabble.com/Forms-with-Multiple-Submit-but

Re: Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-19 Thread RogerV
lained it! Thanks -- View this message in context: http://old.nabble.com/Forms-with-Multiple-Submit-buttons-%28Bug-or-Expected-%29-tp28606047p28607804.html Sent from the Struts - User mailing list archive at Nabble.com. - To u

Re: Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-19 Thread Denis Cabasson
thout any javascript handlers it looks like; &action%3performAction=Submit and with the javascript handlers i.e the Struts action information is not being attached. Is this expected or a bug? Am I handling multiple submit buttons in

Forms with Multiple Submit buttons (Bug or Expected?)

2010-05-19 Thread RogerV
cted or a bug? Am I handling multiple submit buttons in the wrong way? Regards -- View this message in context: http://old.nabble.com/Forms-with-Multiple-Submit-buttons-%28Bug-or-Expected-%29-tp28606047p28606047.html Sent from the Struts - User mailing list ar

Re: How to correct this syntax for multiple submit buttons?

2009-06-28 Thread Paweł Wielgus
Hi Sam, remove "submit" word. Best greetings, Paweł Wielgus. 2009/6/27 Sam Wun : > Hi, > > here are the offending lines in my jsp file: > > > /> > > > Errors on console: > > org.apache.jasper.JasperException: > /html/portlet/onlinepayment_portlet/sign_in.jsp(110,18) equal symbol > expected > o

How to correct this syntax for multiple submit buttons?

2009-06-27 Thread Sam Wun
Hi, here are the offending lines in my jsp file: Errors on console: org.apache.jasper.JasperException: /html/portlet/onlinepayment_portlet/sign_in.jsp(110,18) equal symbol expected org.apache.jasper.JasperException: /html/portlet/onlinepayment_portlet/sign_in.jsp(110,18) equal symbol expecte

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
You may want to re-consider the design of having multiple submit buttons on the same page. This can be tricky for users that like to use the "enter" key instead of the mouse click, and make it hard for the user to figure out which submit button was executed. I won't even get into

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

RE: HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Martin Gainty
> Subject: HOWTO implement multiple submit buttons with type = image. > Date: Tue, 10 Mar 2009 13:46:25 -0500 > From: ak...@allstate.com > To: user@struts.apache.org > > Hello > > I am implementing a form with two buttons CANCEL and REGISTER. > > I have followe

Re: HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Jim Kiley
With image type submits, an "x" and "y" value are usually submitted (so that if the button is an imagemap, the server knows where the user clicked). Struts is complaining that you don't have any fields that accept an "x" or a "y" field on your action class. jk On Tue, Mar 10, 2009 at 2:46 PM, Kra

HOWTO implement multiple submit buttons with type = image.

2009-03-10 Thread Kra, Aime yao (TEK System)
Hello I am implementing a form with two buttons CANCEL and REGISTER. I have followed the sample provided in the cookbook http://struts.apache.org/2.x/docs/multiple-submit-buttons.html This works fine if type="submit" -

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Musachy Barroso
The only thing I can think of, is extending DefaultActionMapper, extract the id from there, and add it to the mapping params, then plugin your mapper: musachy On Mon, Feb 2, 2009 at 11:48 AM, Greg Lindholm wrote: > > Thanks Jim, but I can't use a link, I need to submit the form as there are a

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Greg Lindholm
Thanks Jim, but I can't use a link, I need to submit the form as there are a bunch of other fields that need to get posted with the request. Jim Kiley wrote: > > How bout: > > > > Delete > > On Mon, Feb 2, 2009 at 11:37 AM, Greg Lindholm > wrote: > >> >> Yes Musachy, that is correct. So

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Jim Kiley
How bout: Delete On Mon, Feb 2, 2009 at 11:37 AM, Greg Lindholm wrote: > > Yes Musachy, that is correct. So is there some struts magic to do this? > > The only way I can think of doing this is to add some javascript to each > button that would set the id as a hidden parameter before doing th

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Greg Lindholm
Yes Musachy, that is correct. So is there some struts magic to do this? The only way I can think of doing this is to add some javascript to each button that would set the id as a hidden parameter before doing the submit. But I would prefer to do this without JS if possible. I guess what I'm th

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Musachy Barroso
What you need to do is pass a different parameter on each submit, not call a different method. musachy On Mon, Feb 2, 2009 at 11:06 AM, Greg Lindholm wrote: > > Thanks Miguel, but that doesn't sound workable with an arbitrary number of > buttons. > > Anyone else? > > I'm looking for a method of

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-02-02 Thread Greg Lindholm
Thanks Miguel, but that doesn't sound workable with an arbitrary number of buttons. Anyone else? I'm looking for a method of dealing with a table with each row having a "remove" button. I need to pass a different rowId based on which button is clicked so I know which row to remove. I need to us

Re: [S2] Passng a parameter with (multiple) Submit buttons

2009-01-30 Thread Miguel
You can use the method attribute in the s:submit button, combined with a method in your action. You could use the different method invocation as an implicit parameter. You may need to use the action wildcard feature in struts.xml Si quieres ser más positivo, pierde un electrón Miguel Ruiz Velasco

[S2] Passng a parameter with (multiple) Submit buttons

2009-01-30 Thread Greg Lindholm
I have a CRUD action and jsp page for an entity, this entity has a list of attributes. I display these attributes in a table one per row. What I would like to do is have a button on each row of the table so the user can click on the button to remove the attribute. In order to make this work I w

Re: Multiple submit buttons in a single JSP

2008-02-07 Thread Lukasz Lenart
Hi, You can use and Action class with three methods, the same like execute() http://struts.apache.org/2.x/docs/submit.html Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart - To unsubscribe, e-mail: [EMAIL PROTECT

Multiple submit buttons in a single JSP

2008-02-07 Thread Johnson nickel
/JSP/user_details.jsp /JSP/user_details.jsp /JSP/user_details.jsp In Jsp, -- View this message in context: http://www.nabble.com/Multiple-submit-buttons-in-a-single-JSP-tp15334087p15334087.html Sent

RE: Multiple submit buttons on form not working

2007-03-01 Thread Neil Aggarwal
your inbox. Visit http://www.spammilter.com for details. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 01, 2007 7:46 AM To: Struts Users Mailing List Subject: Re: Multiple submit buttons on form not working --- Neil Aggarwal <[EMAIL PROTEC

Re: Multiple submit buttons on form not working

2007-03-01 Thread Dave Newton
--- Neil Aggarwal <[EMAIL PROTECTED]> wrote: > > > > > > Any ideas why this is not working? I would guess because it's trying to convert the string value into a true/false boolean and failing? (If I change the value to "true" for the msg1/msg2 buttons it works.) So I guess I'm a little c

Multiple submit buttons on form not working

2007-02-28 Thread Neil Aggarwal
Hello: I am trying to follow this guide: http://struts.apache.org/2.0.6/docs/html-form-buttons-howto.html To create a multiple button form. Unfortuntely, it is not working for me. I created a simple demo page at: https://tweb.retcgroup.com/thymeleweb/test/FormTest.action As you can see, press a

RE: Validation + multiple Submit buttons

2006-11-16 Thread Andrew Martin
Schultz [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 14 november 2006 15:37 Aan: Struts Users Mailing List Onderwerp: Re: Validation + multiple Submit buttons -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Martin wrote: > That would be one solution, but in my case I have 4 sub

Re: Validation + multiple Submit buttons

2006-11-14 Thread Laurie Harper
Andrew Martin wrote: Maybe a stupid question but is it possible to call the specifc XML configuration from within the action? Yup, just set up your validation as usual, then set validate="false" on the action mapping and call the validation by hand: ActionMessages errors = form.validate()

Re: Validation + multiple Submit buttons

2006-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Martin wrote: > That would be one solution, but in my case I have 4 submit buttons, > two of which redirect the user to another action (keeping scope set to > session) > and then back to the original form. Hmm... that makes things mor

Re: Validation + multiple Submit buttons

2006-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lance, Lance Semmens wrote: > A JS free application? You can assume today's browsers have > javascript, the web would break otherwise. Sure there are some cross > platform issues but to go JS free is a tall order and will limit you > to a clunky UI.

RE: Validation + multiple Submit buttons

2006-11-14 Thread Andrew Martin
:[EMAIL PROTECTED] Verzonden: dinsdag 14 november 2006 15:20 Aan: Struts Users Mailing List Onderwerp: Re: Validation + multiple Submit buttons You could turn off automatic validation in struts-config.xml and call it manually in the action method when you need validation. If you are using a recent

Re: Validation + multiple Submit buttons

2006-11-14 Thread Mark Shifman
Use a Cancel button http://struts.apache.org/1.x/struts-taglib/tlddoc/html/cancel.html from javadoc Renders an HTML element of type submit. This tag is only valid when nested inside a form tag body. Pressing of this submit button causes the action servlet to bypass calling the associated form

Re: Validation + multiple Submit buttons

2006-11-14 Thread Ed Griebel
page. -Oorspronkelijk bericht- Van: Lance Semmens [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 14 november 2006 14:54 Aan: 'Struts Users Mailing List' Onderwerp: RE: Validation + multiple Submit buttons A JS free application? You can assume today's browsers have javascript,

Validation + multiple Submit buttons

2006-11-14 Thread Andrew Martin
Hi, I have just begun to add validation to my forms using struts validator, which is quite nice. I have however a problem when I have more than one submit button on a form. For example I have a Save button and a Back button. The Back button is also a submit (instead of a standard button - basic

RE: Validation + multiple Submit buttons

2006-11-14 Thread Andrew Martin
an: 'Struts Users Mailing List' Onderwerp: RE: Validation + multiple Submit buttons A JS free application? You can assume today's browsers have javascript, the web would break otherwise. Sure there are some cross platform issues but to go JS free is a tall order and will limit you to a

RE: Validation + multiple Submit buttons

2006-11-14 Thread Lance Semmens
posts to a different action to your save. Lance. -Original Message- From: Andrew Martin [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 13:36 To: Struts Users Mailing List Subject: Validation + multiple Submit buttons Hi, I have just begun to add validation to my forms using struts vali

Re: Validation + multiple Submit buttons

2006-11-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Martin wrote: > I have just begun to add validation to my forms using struts > validator, which is quite nice. I have however a problem when I have > more than one submit button on a form. > > For example I have a Save button and a Bac

RE: Validation + multiple Submit buttons

2006-11-14 Thread Andrew Martin
Users Mailing List Onderwerp: Re: Validation + multiple Submit buttons -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew Martin wrote: > That would be one solution, but in my case I have 4 submit buttons, > two of which redirect the user to another action (keeping scope

RE: Validation + multiple Submit buttons

2006-11-14 Thread Andrew Martin
. (if that make sense!) -Oorspronkelijk bericht- Van: Christopher Schultz [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 14 november 2006 14:48 Aan: Struts Users Mailing List Onderwerp: Re: Validation + multiple Submit buttons -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew, Andrew

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

Re: MESS!: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Dakota Jack
The Action class is not the controller. The controller is the class that chooses the Action class. On 3/1/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > On 3/1/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > > I got the ok on switching to 1.2.8, and I will also try your method this > > afte

Re: MESS!: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Michael Jouravlev
On 3/1/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > I got the ok on switching to 1.2.8, and I will also try your method this > afternoon. I appreciate everyones responses. In the mean time, I have > some design issues and questions: > > Does the old lookupdispatch action sometimes loose stuff th

MESS!: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread SIRAGHER, JOEL
again. What a mess. All this lives on one screen. Any ideas on redesign or how to make it easier to program? -Original Message- From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 11:17 AM To: Struts Users Mailing List Subject: Re: multiple submit bu

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Michael Jouravlev
ev [mailto:[EMAIL PROTECTED] > Sent: Tue 2/28/2006 4:15 PM > To: Struts Users Mailing List > Subject: Re: multiple submit buttons: LookupDispatchAction / ActionForward > formdata missing > > > > > On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > >

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Dakota Jack
looking. > > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. On the jsp side, I am entering data, etc. > > Do I have to put something special in my struts-config.xml? > >

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread Dakota Jack
gs: > > I've been debugging now for a while, and don't know where to continue > looking. > > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. On the jsp side, I

RE: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread SIRAGHER, JOEL
submit buttons: LookupDispatchAction / ActionForward formdata missing > On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: By the way, LookupDispatchAction is not the best choice to dispatch events. I suggest you to use this one: http://issues.apache.org/bugzilla/attachment.cgi?id=

RE: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-03-01 Thread SIRAGHER, JOEL
have i defined it? yes i did. I will check as soon as I get to work. thank you for the observation. From: Michael Jouravlev [mailto:[EMAIL PROTECTED] Sent: Tue 2/28/2006 4:09 PM To: Struts Users Mailing List Subject: Re: multiple submit buttons

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-02-28 Thread Michael Jouravlev
> On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: By the way, LookupDispatchAction is not the best choice to dispatch events. I suggest you to use this one: http://issues.apache.org/bugzilla/attachment.cgi?id=17724 You will also need ActionDispatcher class from Struts 1.2.7+ distro. Michae

Re: multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-02-28 Thread Michael Jouravlev
On 2/28/06, SIRAGHER, JOEL <[EMAIL PROTECTED]> wrote: > I'm doing multiple submit buttons on my struts/jsp 1.1 page. My > debugger takes me to the correct action, but the action has no form data > in it. ... > RetrieveFormBean dataForm = (RetrieveFormBean) form; >//

multiple submit buttons: LookupDispatchAction / ActionForward formdata missing

2006-02-28 Thread SIRAGHER, JOEL
Greetings: I've been debugging now for a while, and don't know where to continue looking. I'm doing multiple submit buttons on my struts/jsp 1.1 page. My debugger takes me to the correct action, but the action has no form data in it. On the jsp side, I am entering data, etc.

Re: Multiple Submit Buttons

2006-01-20 Thread Michael Jouravlev
On 1/20/06, Paul Benedict <[EMAIL PROTECTED]> wrote: > Laurie, > > I thought I saw a version of dispatchaction that could handle this. The > parameter attribute > contained a comma-delimited list of possible names and thus methods which > could be invoked for the > particular action. Do you remem

Re: Multiple Submit Buttons

2006-01-20 Thread Paul Benedict
Laurie, I thought I saw a version of dispatchaction that could handle this. The parameter attribute contained a comma-delimited list of possible names and thus methods which could be invoked for the particular action. Do you remember this proposal? Paul

Re: Multiple Submit Buttons

2006-01-20 Thread Laurie Harper
Paul Benedict wrote: What's the best way to accomplish this? I really dislike using the button text to find the correct dispatch so I don't want to use LookupDispatchAction. Is there another way, such as using the button's name to invoke the correct method? I thought I saw such a proposal in t

Multiple Submit Buttons

2006-01-20 Thread Paul Benedict
What's the best way to accomplish this? I really dislike using the button text to find the correct dispatch so I don't want to use LookupDispatchAction. Is there another way, such as using the button's name to invoke the correct method? I thought I saw such a proposal in the API docs but I can n

Re: Same action with multiple submit buttons

2005-12-25 Thread Srinivasu Gandu
List" cc Subject Same action with multiple submit buttons Hi, Thnaks for the tip reg LookupDispatchAction, but the problem is that I have the same name for different buttons in the same form. In that case, how will I kno

Re: Same action with multiple submit buttons

2005-12-22 Thread Dakota Jack
Again, how lookup dispatch action "works" is explained at http://www.michaelmcgrady.com/button/. But the options there are simpler, faster, superior. LookupDispatchAction is a dynosaur. On 12/21/05, Shiby Maria John <[EMAIL PROTECTED]> wrote: > > > Hi, > > I tried using the LookupDispatchAction

Re: Same action with multiple submit buttons

2005-12-21 Thread Shiby Maria John
Hi, I tried using the LookupDispatchAction for this... But I am gettng this error.. Can anyone explain how this class works?? java.lang.NullPointerException org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:233) org.apache.struts.action.RequestProcessor.process

Re: Same action with multiple submit buttons

2005-12-21 Thread Shiby Maria John
cc: 12/21/2005 03:26 Subject: Re: Same action with multiple submit buttons PM

Re: Same action with multiple submit buttons

2005-12-21 Thread Dakota Jack
To: "Struts Users Mailing List" > | > > | > cc: > | > > | Subject: Re: Same action with multiple submit > buttons | > &g

Re: Same action with multiple submit buttons

2005-12-21 Thread David Delbecq
| To: "Struts Users Mailing List" >| > | cc: >| > | Subject: Re: Same action with multiple submit buttons >| > > >---

Re: Same action with multiple submit buttons

2005-12-21 Thread Pazhanikanthan Periasamy
" To "Struts Users Mailing List" cc Subject Re: Same action with multiple submit buttons But that will require javascript, isnt it?? |-+--> | | Pazhanikanthan Periasamy |

Re: Same action with multiple submit buttons

2005-12-21 Thread Shiby Maria John
| | cc: | | Subject: Re: Same action with multiple submit buttons | >--| Have a hidden attribute call

Re: Same action with multiple submit buttons

2005-12-21 Thread Pazhanikanthan Periasamy
Extn: 40123 "Shiby Maria John" <[EMAIL PROTECTED]> 12/21/2005 03:02 PM Please respond to "Struts Users Mailing List" To "Struts Users Mailing List" cc Subject Same action with multiple submit buttons Hi, Thnaks for the tip reg LookupDispatchAction

Same action with multiple submit buttons

2005-12-21 Thread Shiby Maria John
Hi, Thnaks for the tip reg LookupDispatchAction, but the problem is that I have the same name for different buttons in the same form. In that case, how will I know which button submitted that action?? - To unsubscribe, e-mail:

Re: multiple submit buttons

2005-09-30 Thread Michael Jouravlev
On 9/30/05, Warren Bell <[EMAIL PROTECTED]> wrote: > I am sure this question has been asked before, but I don't know what > keywords to use to search for it. I have a table where each row has a hidden > field and two submit buttons, a "buy now" and a "Add to shopping cart". A > typical layout for m

multiple submit buttons

2005-09-30 Thread Warren Bell
I am sure this question has been asked before, but I don't know what keywords to use to search for it. I have a table where each row has a hidden field and two submit buttons, a "buy now" and a "Add to shopping cart". A typical layout for most e-commerce sites. How do I figure out which item needs

Re: multiple submit buttons on a form

2004-10-05 Thread Michael McGrady
Rick Reumann wrote: Michael McGrady wrote the following on 10/5/2004 1:40 PM: He cannot use a basic DispatchAction, Rick, since he wants to use multiple buttons. He needs multiple buttons with the same value. Since the value of the name parameter in the HTML is completely decoupled from all of

  1   2   >