Re: How to set an ActionForm to null

2004-05-15 Thread vancega
I am using DynaValidatorForm but I need to set the default values for some text fields in a form. Therefore, I write a ActionForm which extends DynaValidatorForm and use reset method to set default values. The values were not shown after the form was loaded. I must miss something here. Could anyone

Re: How to set an ActionForm to null

2004-05-15 Thread Niall Pemberton
ou need to rethink how you design this. Niall - Original Message - From: "pls" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, May 14, 2004 5:33 AM Subject: How to set an ActionForm to null > hi there, > > i am trying to set an actionform to null af

R: How to set an ActionForm to null

2004-05-15 Thread Andrea M
l the properties you need to) instead of messing up with strange iterations. Regards Andrea -Messaggio originale- Da: Richard Yee [mailto:[EMAIL PROTECTED] Inviato: sabato 15 maggio 2004 0.01 A: Struts Users Mailing List; pls Oggetto: Re: How to set an ActionForm to null pls, You won'

Re: How to set an ActionForm to null

2004-05-14 Thread Richard Yee
> news:[EMAIL PROTECTED] > > > > > > Hi, > > > > > > I havn't tried this but just try this in > the > > > > > execute method :-- > > > > > > public ActionForward execute(ActionMapping > > > > > mapping, ActionForm

Re: How to set an ActionForm to null

2004-05-14 Thread pls
t; > mapping, ActionForm form, > > > > > HttpServletRequest req, HttpServletResponse > > res) { > > > > > > > > > > ... > > > > > ... > > > > > mapping.setAttribute(null); > > > > > > >

Re: How to set an ActionForm to null

2004-05-14 Thread Richard Yee
te(ActionMapping > > > mapping, ActionForm form, > > > > HttpServletRequest req, HttpServletResponse > res) { > > > > > > > > ... > > > > ... > > > > mapping.setAttribute(null); > > > > > > > > }

Re: How to set an ActionForm to null

2004-05-14 Thread pls
> > > > > > ... > > > ... > > > mapping.setAttribute(null); > > > > > > } > > > > > > Hope this may help you!!! > > > --Amol > > > > > > -Original Message- > > > From: pls [mailto:[EMA

Re: How to set an ActionForm to null

2004-05-13 Thread Kiran Kumar
.. > > ... > > ... > > mapping.setAttribute(null); > > > > } > > > > Hope this may help you!!! > > --Amol > > > > -----Original Message----- > > From: pls [mailto:[EMAIL PROTECTED] > > Sent: Friday, May 14, 2004 10:03 AM > &

Re: How to set an ActionForm to null

2004-05-13 Thread pls
y, May 14, 2004 10:31 AM > To: [EMAIL PROTECTED] > Subject: Re: How to set an ActionForm to null > > > thanks for the suggestion Amol, but that returns an IllegalStateException.. > thanks for trying anyways. > > > "Amol Yadwadkar" <[EMAIL PROTECTED]> wrote

RE: How to set an ActionForm to null

2004-05-13 Thread Amol Yadwadkar
Has your ActionMappings at Struts-config.xml contains the name of the form which you are using ? -Original Message- From: pls [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 10:31 AM To: [EMAIL PROTECTED] Subject: Re: How to set an ActionForm to null thanks for the suggestion

Re: How to set an ActionForm to null

2004-05-13 Thread pls
:[EMAIL PROTECTED] > Sent: Friday, May 14, 2004 10:03 AM > To: [EMAIL PROTECTED] > Subject: How to set an ActionForm to null > > > hi there, > > i am trying to set an actionform to null after inserting it's properties > into a DB. > then, control is forwarded to a di

RE: How to set an ActionForm to null

2004-05-13 Thread Amol Yadwadkar
ssage- From: pls [mailto:[EMAIL PROTECTED] Sent: Friday, May 14, 2004 10:03 AM To: [EMAIL PROTECTED] Subject: How to set an ActionForm to null hi there, i am trying to set an actionform to null after inserting it's properties into a DB. then, control is forwarded to a different action and t

How to set an ActionForm to null

2004-05-13 Thread pls
hi there, i am trying to set an actionform to null after inserting it's properties into a DB. then, control is forwarded to a different action and the info is read from the DB back into the actionform for display by a JSP. the only part that is giving me trouble is with explicitly setting my acti