RE: Submit buttons

2007-12-31 Thread Al Sutton
iling List Subject: Re: Submit buttons The name of the button is what gets submitted. The value, I believe, is the user display value which doesn't get sent in the submission. On Dec 28, 2007 12:43 PM, Al Sutton <[EMAIL PROTECTED]> wrote: > I've been bashing my head against a b

Re: Submit buttons

2007-12-28 Thread Paul Benedict
The name of the button is what gets submitted. The value, I believe, is the user display value which doesn't get sent in the submission. On Dec 28, 2007 12:43 PM, Al Sutton <[EMAIL PROTECTED]> wrote: > I've been bashing my head against a brick wall on this one so maybe > someone > can help ease t

Re: Submit buttons getting their value

2005-10-28 Thread Dave Newton
Dakota Jack wrote: [...] you are not going to do all that well in social situations. *rotflmao* Kettle, this is the Pot; you're black. Oh, man, that was funny. d - To unsubscribe, e-mail: [EMAIL PROTECTED] For addition

[OT] Re: Submit buttons getting their value

2005-10-28 Thread Dave Newton
Dakota Jack wrote: Try to stay on topic, Martin. Less heat and more light, please. [...] Kettle, this is the Pot; you're black. d - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Submit buttons getting their value

2005-10-27 Thread Dakota Jack
"Struts Users Mailing List" > Sent: Sunday, October 16, 2005 7:51 PM > Subject: Re: Submit buttons getting their value > > > Breathe in; breathe out, Martin. > > This tag does almost exactly what actions do when you use the > solutions on www.michaelmcgrady.com. Pr

Re: Submit buttons getting their value

2005-10-27 Thread Dakota Jack
TED]> > To: "Struts Users Mailing List" > Sent: Sunday, October 16, 2005 7:51 PM > Subject: Re: Submit buttons getting their value > > > Breathe in; breathe out, Martin. > > This tag does almost exactly what actions do when you use the > solutions on www.mi

Re: Submit buttons getting their value

2005-10-16 Thread Martin Gainty
From: "Dakota Jack" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, October 10, 2005 5:59 PM Subject: Re: Submit buttons getting their value Actually this won't work either. The problem is that the request object has been purloined and given

Re: Submit buttons getting their value

2005-10-16 Thread Dakota Jack
; .. > > - Original Message - > From: "Dakota Jack" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Monday, October 10, 2005 5:59 PM > Subject: Re: Submit buttons getting their value > > > Actually this won't work either.

Re: Submit buttons getting their value

2005-10-16 Thread Adam Hardy
Martin- - Original Message - From: "Adam Hardy" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 16, 2005 2:26 PM Subject: Re: Submit buttons getting their value Martin, what HTML does this taglib produce? Seems as if it would be so: A

Re: Submit buttons getting their value

2005-10-16 Thread Martin Gainty
AIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 16, 2005 2:26 PM Subject: Re: Submit buttons getting their value Martin, what HTML does this taglib produce? Seems as if it would be so: A cursory check on the W3C website confirmed my suspicions - I don

Re: Submit buttons getting their value

2005-10-16 Thread Adam Hardy
t: Monday, October 10, 2005 5:59 PM Subject: Re: Submit buttons getting their value Actually this won't work either. The problem is that the request object has been purloined and given another wrapper name. You might want to look at the code before giving these ideas. On 10/10/05, Rich

Re: Submit buttons getting their value

2005-10-15 Thread Martin Gainty
I hope this works for you, Martin- I will now wait for Dakota Jack to explain why this is an *(!&^%ic solution .. - Original Message - From: "Dakota Jack" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Monday, October 10, 2005 5:59 PM Subje

Re: Submit buttons getting their value

2005-10-15 Thread Dakota Jack
I guess you are not doing what I thought. If you were trying to use the access the multipart request in the Action, you cannot, if you have used an ActionForm. That is for sure. On 10/11/05, Richard Yee <[EMAIL PROTECTED]> wrote: > D.J., > Perhaps you should try it yourself. It works for me. > I

Re: Submit buttons getting their value

2005-10-11 Thread Richard Yee
D.J., Perhaps you should try it yourself. It works for me. If the html:submit tag is used, and the property attribute is specified, then that property is available in the action class as request.getParameter("the_submit_button_property_name"); I don't see any code that wraps HttpServletRequest. -

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
Actually this won't work either. The problem is that the request object has been purloined and given another wrapper name. You might want to look at the code before giving these ideas. On 10/10/05, Richard Yee <[EMAIL PROTECTED]> wrote: > Try getParameter() instead of getAttribute(). > > -Richar

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
LookupDispatchAction is a disaster. This is discussed in detail on www.michaelmcgrady.com. On 10/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Do you want to create something like this: > http://www.superinterface.com/wizard/signupWizard.do > > It would be easier if you switched to event-b

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
whose HashMap maps to different bean key > http://www.servlets.com/archive/servlet/ReadMsg?msgId=163930&listName=struts-dev > > HTH, > Martin- > > - Original Message - > From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> > To: "Struts Users

Re: Submit buttons getting their value

2005-10-10 Thread Dakota Jack
Jouravlev just took this from www.michealmcgrady.com and made it way too complex. The complexities are not helpful. Just look at www.michaelmcgrady.com for a better implementation of the ideas. On 10/9/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Do you want to create something like this:

Re: Submit buttons getting their value

2005-10-10 Thread Richard Yee
Try getParameter() instead of getAttribute(). -Richard C.F. Scheidecker Antunes wrote: Hello all, I have two submit buttons, one with a value of Continue and the other Back. How do I check their values? I've tried request.getAttribute("submit").toString() but I do not get anything. My

Re: Submit buttons getting their value

2005-10-10 Thread Martin Gainty
HashMap maps to different bean key http://www.servlets.com/archive/servlet/ReadMsg?msgId=163930&listName=struts-dev HTH, Martin- - Original Message - From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 09, 2005 8

Re: Submit buttons getting their value

2005-10-09 Thread Michael Jouravlev
Do you want to create something like this: http://www.superinterface.com/wizard/signupWizard.do It would be easier if you switched to event-based action class, like DispatchAction or LookupDispatchAction. I would humbly suggest to use SelectAction from my Struts Dialogs library. SelectAction works

Re: Submit buttons getting their value

2005-10-09 Thread Dakota Jack
See www.michaelmcgrady.com on buttons. This is a fascinating subject. On 10/9/05, C.F. Scheidecker Antunes <[EMAIL PROTECTED]> wrote: > But where is PropertyName? The only thing passed to the action is request. > Thanks > > Martin Gainty wrote: > > > Antunes > > I thought it was > > PropertyName.

Re: Submit buttons getting their value

2005-10-09 Thread C.F. Scheidecker Antunes
But where is PropertyName? The only thing passed to the action is request. Thanks Martin Gainty wrote: Antunes I thought it was PropertyName.getValue() ?? M- - Original Message - From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, Octobe

Re: Submit buttons getting their value

2005-10-09 Thread Martin Gainty
Antunes I thought it was PropertyName.getValue() ?? M- - Original Message - From: "C.F. Scheidecker Antunes" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Sunday, October 09, 2005 6:17 PM Subject: Submit buttons getting their value Hello all, I have two submit buttons, o

Re: submit buttons - how to put them label from resource

2005-09-30 Thread Laurie Harper
Wendy Smoak wrote: From: "Borislav Sabev" <[EMAIL PROTECTED]> I'd like to set a label of submit buttons getting it from property file. But seems that this is not possible. One other problem I see is that value attribute has two purposes: to set the label, and on submit to provide value for the

Re: submit buttons - how to put them label from resource

2005-09-30 Thread Wendy Smoak
From: "Borislav Sabev" <[EMAIL PROTECTED]> I'd like to set a label of submit buttons getting it from property file. But seems that this is not possible. One other problem I see is that value attribute has two purposes: to set the label, and on submit to provide value for the request parameter. I

Re: submit buttons - how to put them label from resource

2005-09-30 Thread Michael Jouravlev
On 9/30/05, Borislav Sabev <[EMAIL PROTECTED]> wrote: > One other problem I see is that value attribute has two purposes: to set > the label, and on submit to provide value for the request parameter. Is > there any way they to be different? No. > (consider i18n problem: my buton can have German,

Re: submit buttons - how to put them label from resource

2005-09-30 Thread atta-ur rehman
On 9/30/05, Borislav Sabev <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'd like to set a label of submit buttons getting it from property file. > But seems that this is not possible. > One other problem I see is that value attribute has two purposes: to set > the label, and on submit to provi