Re: Reset button not always working

2003-10-29 Thread struts
The reset should change all values on your jsp page to those matching the html page, which would be populated by your ActionForm. In other words, if you haven't changed any of the values on your web page, then the reset would appear to do nothing. Is that the behavior you're expecting, or are y

Re: Reset button.

2003-02-11 Thread Gus Delgado
ny. -Dave -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Reset button. isReset() who's method is that, action, form? I can't seem to find it. -Gus Jacky Kim

Re: Reset button.

2003-02-10 Thread Gus Delgado
From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 3:14 PM To: Struts Users Mailing List Subject: Re: Reset button. isReset() who's method is that, action, form? I can't seem to find it. -Gus Jacky Kimmel wrote: if (isReset(httpServletRequest))

RE: Reset button.

2003-02-10 Thread Durham David Cntr 805CSS/SCBE
3:14 PM > To: Struts Users Mailing List > Subject: Re: Reset button. > > > isReset() who's method is that, action, form? > > I can't seem to find it. > > -Gus > Jacky Kimmel wrote: > > >if (isReset(httpServletRequest)) > > { > >

Re: Reset button.

2003-02-10 Thread Gus Delgado
isReset() who's method is that, action, form? I can't seem to find it. -Gus Jacky Kimmel wrote: if (isReset(httpServletRequest)) { return actionMapping.findForward(Constants.D_RESET); } As you can see, I had a constants class that I refer to. Also, in the struts-config.xml I have

Re: Reset button.

2003-02-10 Thread Jacky Kimmel
if (isReset(httpServletRequest)) { return actionMapping.findForward(Constants.D_RESET); } As you can see, I had a constants class that I refer to. Also, in the struts-config.xml I have mapped this forward back to the original jsp. I put this snippet of code in the beginning of

Re: Reset button.

2003-02-10 Thread Gus Delgado
how do I check for the reset in the Action? Jacky Kimmel wrote: It sounds like your action does not check to see if the reset was clicked or not. What I have done is do this check at the beginning of all my action classes. If the reset has been selected then the action is redirected to the emp

RE: Reset button.

2003-02-10 Thread Durham David Cntr 805CSS/SCBE
Yeah, the reset button will return the form elements to their initial state. If the initial state includes values, i.e. , then clicking reset will set the value of this element to "someValue", it's original value. One solution is to write a function that loops throught the form elements and se

Re: Reset button.

2003-02-10 Thread David Graham
An html reset button resets all form fields to their initial values. Look at your html source and you will see something like The reset button is functioning properly. David From: Gus Delgado <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mail

Re: Reset button.

2003-02-10 Thread Jacky Kimmel
It sounds like your action does not check to see if the reset was clicked or not. What I have done is do this check at the beginning of all my action classes. If the reset has been selected then the action is redirected to the empty jsp. It sounds like your action mapping may also not be cor

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Gupta, Priyank x57787
That's a good idea. I too wanted to avoid dirty javascript :) Thanks Priyank -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:34 PM To: 'Struts Users Mailing List' Subject: RE: Reset button does

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Kamholz, Keith (corp-staff) USX
x57787 [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:24 PM To: 'Struts Users Mailing List' Subject: RE: Reset button does not invoke the FormBean's reset() Thanks James. I greatly appreciate your help. -Original Message- From: James Mitchell [mailto:[EM

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Gupta, Priyank x57787
Thanks James. I greatly appreciate your help. -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 12:10 PM To: Struts Users Mailing List Subject: RE: Reset button does not invoke the FormBean's reset() Ok, then what are wanting is &

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread James Mitchell
; -Original Message- > From: Gupta, Priyank x57787 [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 11:29 AM > To: 'Struts Users Mailing List' > Subject: RE: Reset button does not invoke the FormBean's reset() > > > Hey, > > This explanation

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Gupta, Priyank x57787
e radios should clear." How to do that ? Thanks Priyank -Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 11:20 AM To: Struts Users Mailing List Subject: RE: Reset button does not invoke the FormBean's reset() I'm t

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread James Mitchell
:[EMAIL PROTECTED]] > Sent: Thursday, August 01, 2002 10:52 AM > To: 'Struts Users Mailing List' > Subject: RE: Reset button does not invoke the FormBean's reset() > > > Hey > I am using the reset button and it's not working . > Try to be serious on

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Gupta, Priyank x57787
August 01, 2002 10:46 AM To: Struts Users Mailing List Subject: RE: Reset button does not invoke the FormBean's reset() Yes, use the reset button... James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the "Open Minded Developer Network" http://www.open

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread James Mitchell
ay, August 01, 2002 8:45 AM > To: 'Struts Users Mailing List' > Subject: RE: Reset button does not invoke the FormBean's reset() > > > Hi JML, > Thanks for your response. I think using property="reset"/> > will post the form and take me to the n

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Leblon Jean-marc
sorry no idea, have i had a solution to my problem, I didnt look further :) JML [EMAIL PROTECTED] -Original Message- From: Gupta, Priyank x57787 [mailto:[EMAIL PROTECTED]] Sent: jeudi 1 août 2002 14:45 To: 'Struts Users Mailing List' Subject: RE: Reset button does not

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Gupta, Priyank x57787
-Original Message- From: Leblon Jean-marc [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 4:14 AM To: Struts Users Mailing List Subject: RE: Reset button does not invoke the FormBean's reset() If i understand your problem, I had same problem last week, this is my solution i

RE: Reset button does not invoke the FormBean's reset()

2002-08-01 Thread Leblon Jean-marc
A B JML [EMAIL PROTECTED] -Original Message- From: Gupta, Priyank x57787 [mailto:[EMAIL PROTECTED]] Sent: jeudi 1 août 2002 00:04 To: 'Struts Users Mailing List' Subject: RE: Reset button does not invoke t

RE: Reset button does not invoke the FormBean's reset()

2002-07-31 Thread Gupta, Priyank x57787
rom: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 5:46 PM To: Struts Users Mailing List Subject: RE: Reset button does not invoke the FormBean's reset() Ok, first of all, its probably not a good idea to have.. 'when the user hits the back button it should...'

RE: Reset button does not invoke the FormBean's reset()

2002-07-31 Thread James Mitchell
- > From: Gupta, Priyank x57787 [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 31, 2002 5:13 PM > To: 'Struts Users Mailing List' > Subject: RE: Reset button does not invoke the FormBean's reset() > > > I need the bean in Session scope , so that > when

RE: Reset button does not invoke the FormBean's reset()

2002-07-31 Thread Gupta, Priyank x57787
-Original Message- From: James Mitchell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 5:09 PM To: Struts Users Mailing List Subject: RE: Reset button does not invoke the FormBean's reset() What scope did you define for this formbean? James Mitchell Software Engineer\S

RE: Reset button does not invoke the FormBean's reset()

2002-07-31 Thread James Mitchell
gt; Sent: Wednesday, July 31, 2002 4:50 PM > To: 'Struts Users Mailing List' > Subject: RE: Reset button does not invoke the FormBean's reset() > > > Yeah I figured that out. But my problem is little tricky. > I have a set of radio buttons and when I select the

RE: Reset button does not invoke the FormBean's reset()

2002-07-31 Thread Gupta, Priyank x57787
) USX [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 4:39 PM To: 'Struts Users Mailing List' Subject: RE: Reset button does not invoke the FormBean's reset() Hey, This is a mistake I made at first too. One would assume that a reset button would call the reset method, but

RE: Reset button does not invoke the FormBean's reset()

2002-07-31 Thread Kamholz, Keith (corp-staff) USX
Hey, This is a mistake I made at first too. One would assume that a reset button would call the reset method, but this is not the case. The reset method is called when an action is forwarding to a JSP with a form/form bean. It's mainly used to set the boolean properties associated with a checkb