RE: how to reset form

2004-08-26 Thread Qinjian Jian
I have to call reset method explicitly if you have no choice Tim Jian -Original Message- From: Ruben Cepeda [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 9:42 AM To: [EMAIL PROTECTED] Subject: RE: how to reset form Hi Sabastian, I came across the same problem when I

RE: how to reset form

2004-08-26 Thread Ruben Cepeda
Hi Sabastian, I came across the same problem when I first started using Struts. The easies way to fix it is to set the scope of the bean in the action mapping to request. * Ruben Cepeda [EMAIL PROTECTED] * Original M

Re: how to reset form

2004-08-26 Thread dileepmohan
Visit keralatouch.com __ Scanned and protected by Email scanner - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how to reset form

2004-08-26 Thread Paul McCulloch
tAttribute(Globals.CANCEL_KEY, Boolean.TRUE); } return f; } Paul > -Original Message- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 26, 2004 9:07 AM > To: Struts Users Mailing List > Subject: RE: how to reset form > > &g

Re: how to reset form

2004-08-26 Thread Shinobu Kawai
Hi Sebastian, > I call this in my action.. > > form.reset(mapping, request); > > Is this right? Of course, you need to implement ActionForm#reset(), because the default does nothing. http://struts.apache.org/api/org/apache/struts/action/ActionForm.html#reset(org.apache.struts.action.Action

RE: how to reset form

2004-08-26 Thread Sebastian Ho
eset in my case? > > > > > > On Thu, 2004-08-26 at 16:07, Yves Sy wrote: > > > I mean your "actionform" is stored in session scope by default :) > > > > > > Regards, > > > -Yves- > > > > > > >

RE: how to reset form

2004-08-26 Thread Sebastian Ho
ot;. > > Regards, > -Yves- > > > -Original Message- > > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 26, 2004 4:07 PM > > To: Struts Users Mailing List > > Subject: RE: how to reset form > > > > 1. I need to use

RE: how to reset form

2004-08-26 Thread Yves Sy
: Struts Users Mailing List > Subject: RE: how to reset form > > 1. I need to use session for this one. > > 2. The textfield in the JSP didn't load the value from the bean. It is a > normal textfield. > > How do I reset in my case? > > > On Thu, 2004-08-26 at 16:07,

RE: how to reset form

2004-08-26 Thread Sebastian Ho
; > Regards, > -Yves- > > > -Original Message- > > From: Yves Sy [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 26, 2004 4:02 PM > > To: 'Struts Users Mailing List' > > Subject: RE: how to reset form > > > > > > This i

RE: how to reset form

2004-08-26 Thread Yves Sy
I mean your "actionform" is stored in session scope by default :) Regards, -Yves- > -Original Message- > From: Yves Sy [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 26, 2004 4:02 PM > To: 'Struts Users Mailing List' > Subject: RE: how to reset for

RE: how to reset form

2004-08-26 Thread Yves Sy
This is happening because your session is stored in session scope by default. You should explicitly specify scope="request" in your actionmapping. Regards, -Yves- > -Original Message- > From: Sebastian Ho [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 26, 2004 3:33 PM > To: Struts