Re: prefill form bean ahead of the jsp

2003-07-23 Thread Rick Reumann
On Wed, Jul 23,'03 (03:34 PM GMT+0200), Struts wrote: > Hi all > Can I prefill the values of my form bean ahead of displaying the jsp > page that is associated with this form? > If yes, how? Sure just do it in Action before you go the form or if you know they will always be the same values you c

RE: prefill form bean ahead of the jsp

2003-07-23 Thread Cecile Mercado
Check out http://jakarta.apache.org/struts/faqs/newbie.html#prepopulate - Cecile -Original Message- From: Struts [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 9:34 AM To: [EMAIL PROTECTED] Subject: prefill form bean ahead of the jsp Hi all Can I prefill the values of my form

Re: prefill form bean ahead of the jsp

2003-07-24 Thread Struts
Thanks I am actually doing as per example, but in my action class the form is null !!! I mean it does not seem to create an instance of the associated form and pass it into the execute(). Any ideas to what I am doing wrong? Tex... "Cecile Mercado" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:

RE: prefill form bean ahead of the jsp

2003-07-24 Thread Guy . Molinari
lto:[EMAIL PROTECTED] Sent: Thursday, July 24, 2003 8:11 AM To: [EMAIL PROTECTED] Subject: Re: prefill form bean ahead of the jsp Thanks I am actually doing as per example, but in my action class the form is null !!! I mean it does not seem to create an instance of the associated form and pass i

Re: prefill form bean ahead of the jsp

2003-07-24 Thread Struts
AdjustmentForm = (DynaActionForm) formClass.newInstance(); > accountAdjustmentForm.initialize(mapping); > } > > -Original Message- > From: Struts [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 24, 2003 8:11 AM > To: [EMAIL PROTECTED] > Subject: Re: prefill form bean ahead

Re: prefill form bean ahead of the jsp

2003-07-24 Thread Struts
mentForm")); > > if (accountAdjustmentForm == null) { > > accountAdjustmentForm = (DynaActionForm) formClass.newInstance(); > > accountAdjustmentForm.initialize(mapping); > > } > > > > -----Original Message- > > From: Struts [mailto:[EMAIL PROTEC

Re: prefill form bean ahead of the jsp

2003-07-24 Thread Struts
Found it. The struts frame work was not finding all the classes required to create the form bean so it was giving me a null value instead of throwing an exception. "Rick Reumann" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > On Wed, Jul 23,'03 (03:34 PM GMT+0200), Struts wrote

Re: prefill form bean ahead of the jsp

2003-07-24 Thread Struts
Found it. The struts frame work was not finding all the classes required to create the form bean so it was giving me a null value instead of throwing an exception. "Struts" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Thanks > I am actually doing as per example, but in my act