Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Pille
Christopher Schultz wrote: > Philippe, > > Pille wrote: how can i set a property of a dyna form from within an action? >>> That's easy: just do the same thing you do in your SaveAction to get a >>> reference to the form bean. Then, instead of just calling accessors to >>> get the data our,

Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, Pille wrote: >>> how can i set a property of a dyna form from within an action? >> >> That's easy: just do the same thing you do in your SaveAction to get a >> reference to the form bean. Then, instead of just calling accessors to >> get the

Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Pille
le [mailto:[EMAIL PROTECTED] > Sent: Monday, December 18, 2006 5:48 AM > To: Struts Users Mailing List > Subject: Re: DynaValidatorForm - cannot find bean > > how can i access the getters and setters in of a DynaValidatorForm from > within an action method? >

Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Pille
Christopher Schultz wrote: > Philippe, > > Pille wrote: >> how can i set a property of the form, that is used and needed in the jsp >> of the form after editing? > > I usually add that property to the form bean itself and then use a > hidden parameter. For instance, if I'm editing a database reco

Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, Pille wrote: > how can i access the getters and setters in of a DynaValidatorForm from > within an action method? You can use them as before. > when i had a own form class i could do the following in a action method: > > productForm = (My

Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, Pille wrote: > how can i set a property of the form, that is used and needed in the jsp > of the form after editing? I usually add that property to the form bean itself and then use a hidden parameter. For instance, if I'm editing a databas

RE: DynaValidatorForm - cannot find bean

2006-12-17 Thread mano dasanayake
/org/apache/struts/util/PropertyUtils.html#getSimpleProperty(java.lang.Objec t,%20java.lang.String) Regards, Mano -Original Message- From: Pille [mailto:[EMAIL PROTECTED] Sent: Monday, December 18, 2006 5:48 AM To: Struts Users Mailing List Subject: Re: DynaValidatorForm - cannot find bean how can i

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
how can i access the getters and setters in of a DynaValidatorForm from within an action method? when i had a own form class i could do the following in a action method: productForm = (MyOwnForm)form; productForm.setComboArrayList(comboArrayListWithBeans); with a dynamic form i cannot cast anym

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
Christopher Schultz wrote: > Philippe, > > Pille wrote: >> but after submitting the form with wrong input and returning >> to the jsp-page i get the following exception: >> javax.servlet.jsp.JspException: Cannot find bean under name countries at >> org.apache.struts.taglib.html.OptionsTag.getIte

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Philippe, Pille wrote: > but after submitting the form with wrong input and returning > to the jsp-page i get the following exception: > javax.servlet.jsp.JspException: Cannot find bean under name countries at > org.apache.struts.taglib.html.OptionsTa

DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
hi, i have a DynaValidatorForm and a jsp-page to display the form data. in the jsp page i´m using some combo boxes too. i have one action class for all actions. this action class does all the actions for this single jsp page and it extends MappingDispatchAction class. to initialize my combo boxes w