Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Quick question... I'm using 2 submit buttons in the same form, so that I can do 1 of 2 things, with the same input data. (You can do that, right?) I have the value attribute for one of them set to 'delete'. What I'm wondering is how to get the value of the submit button that was clicked from

RE: Submit Value

2003-05-29 Thread Phillip Qin
Don't bother trying it. Only Mozilla gives you the value, while IE doesn't. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 1:01 PM To: '[EMAIL PROTECTED]' Subject: Submit Value Quick question... I'm using 2 submit buttons

RE: Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Really? I thought that was a fairly common thing to do? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Submit Value Don't bother trying it. Only Mozilla gives you the value, while IE

RE: Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
Ok... Does anyone have a good alternative then? -Original Message- From: Phillip Qin [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Submit Value Don't bother trying it. Only Mozilla gives you the value, while IE doesn't

[RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
it. Only Mozilla gives you the value, while IE doesn't. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 1:01 PM To: '[EMAIL PROTECTED]' Subject: Submit Value Quick question... I'm using 2 submit buttons in the same form, so that I can do

Re: Submit Value

2003-05-29 Thread Josh McCulloch
' Subject: RE: Submit Value Don't bother trying it. Only Mozilla gives you the value, while IE doesn't. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 1:01 PM To: '[EMAIL PROTECTED]' Subject: Submit Value Quick question... I'm using 2

RE: Submit Value

2003-05-29 Thread Kamholz, Keith (corp-staff) USX
www.buffalo.edu/~kkamholz -Original Message- From: Josh McCulloch [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:39 PM To: Struts Users Mailing List Subject: Re: Submit Value A submit button is supposed to submit a parameter when selected. i.e. input type=submit name

RE: Submit Value

2003-05-29 Thread Brandon Goodin
In that case use the LookupDispatchAction Brandon Goodin -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:39 AM To: 'Struts Users Mailing List' Subject: RE: Submit Value Alright, I think I basically understand how

RE: [struts-user] RE: Submit Value

2003-05-29 Thread Bradley M. Handy
28, 2003 1:39 PM To: 'Struts Users Mailing List' Subject: [struts-user] RE: Submit Value Alright, I think I basically understand how this works, but doesn't this interfere with internationalization? If we want to use a message from Application Resources for the button label, and if we check

Re: Submit Value

2003-05-29 Thread Josh McCulloch
To: Struts Users Mailing List Subject: Re: Submit Value A submit button is supposed to submit a parameter when selected. i.e. input type=submit name=submitButton value=Delete should send /xxx.do?submitButton=Delete This should correspond to a member of your ActionForm. You should also look

RE: [struts-user] RE: Submit Value

2003-05-29 Thread Kandi Potter
thanks. I hadn't figured out yet that you could just provide the button value without value= -Original Message- From: Bradley M. Handy [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 1:48 PM To: 'Struts Users Mailing List' Subject: RE: [struts-user] RE: Submit Value

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Erik Price
Denis Avdic wrote: **$* damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there) cannot use the feature? /rant /flame Gah. Now to figure out an elegant way of fixing this Maybe you could have

RE: Submit Value

2003-05-29 Thread Michael Ruppin
[EMAIL PROTECTED] wrote: In that case use the LookupDispatchAction Brandon Goodin -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 11:39 AM To: 'Struts Users Mailing List' Subject: RE: Submit Value Alright, I

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
Actually, I just tried taking the value from request and it works. If I do request.getParameter(submit); it returns value, but if i go myForm.getSubmit(); it does not. Weird. Only IE I can test right now is whatever comes with XP. Anyone have any other experiences with this? Denis Erik

Re: [APOLOGY] Re: Submit Value

2003-05-29 Thread Denis Avdic
I apologize to the entire struts-dev-team. Many things were said in a moment of panic. Denis Erik Price wrote: Denis Avdic wrote: **$* damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there)

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Phillip Qin
Subject: Re: [RANT/FLAME] Re: Submit Value Actually, I just tried taking the value from request and it works. If I do request.getParameter(submit); it returns value, but if i go myForm.getSubmit(); it does not. Weird. Only IE I can test right now is whatever comes with XP. Anyone have any other

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Bradley M. Handy
: [RANT/FLAME] Re: Submit Value Because there is no member variable to store the value of submit button. Plus you cannot guarantee request.getParameter(submit) returning value for some browsers. -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 2:23 PM

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
:[EMAIL PROTECTED] Sent: May 28, 2003 2:23 PM To: Struts Users Mailing List Subject: Re: [RANT/FLAME] Re: Submit Value Actually, I just tried taking the value from request and it works. If I do request.getParameter(submit); it returns value, but if i go myForm.getSubmit(); it does not. Weird

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Phillip Qin
. -Original Message- From: Denis Avdic [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 2:39 PM To: Struts Users Mailing List Subject: Re: [RANT/FLAME] Re: Submit Value Why wouldn't there be a member variable? In the form? html:submit property=submitButtonName value=WhateverValueIWantInHere submit

Re: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Denis Avdic
: Submit Value Why wouldn't there be a member variable? In the form? html:submit property=submitButtonName value=WhateverValueIWantInHere submit is there just because i put property=submit. I could have called it property=yellowdinosaurwithpurplepolkadots and it would still work (i think, never

RE: [RANT/FLAME] Re: Submit Value

2003-05-29 Thread Mike Jasnowski
: [RANT/FLAME] Re: Submit Value **$* damn MICROSOFT! And me for not testing on IE. Now I have to redesign half my webapp! And why is this implemented if IE (90% of population out there) cannot use the feature? /rant /flame Gah. Now to figure out an elegant way of fixing this Phillip Qin

RE: Submit Value

2003-05-29 Thread guo yingshou
, May 28, 2003 1:14 PM To: 'Struts Users Mailing List' Subject: RE: Submit Value Don't bother trying it. Only Mozilla gives you the value, while IE doesn't. -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED] Sent: May 28, 2003 1:01 PM

Retrieve a Submit Value in a Form Bean

2003-04-04 Thread Jordan Reed
All, I'm working on updating my Struts app from 1.0.1 to 1.1RC1 and hit some unexpected behavior. I wanted to know if this made sense. I have a form with multiple html:submit tags in it, each having a different value. The form bean associated with it has a submit property. In Struts 1.0.1 I

RE: Retrieve a Submit Value in a Form Bean

2003-04-04 Thread Wendy Smoak
Jordan wrote: html:submit value=Update/ I would be interested in seeing the resulting HTML. What's the name attribute of the input type=submit tag? If it's not name=submit, then that's why your Form bean is not being populated. Try this: html:submit property=submit value=Update/ -- Wendy

RE: Retrieve a Submit Value in a Form Bean

2003-04-04 Thread Jordan Reed
Updating to your suggestion of: html:submit property=submit value=Update/ fixed it. Thanks! - Jordan -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 7:47 PM To: 'Struts Users Mailing List' Subject: RE: Retrieve a Submit Value in a Form