Re: initialize a DynaValidatorForm property

2006-12-18 Thread Pille
t; > Regards, > Mano > thank you regards philippe > > -Original Message- > From: Pille [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 19, 2006 5:12 AM > To: user@struts.apache.org > Subject: initialize a DynaValidatorForm property > > hi, > how ca

initialize a DynaValidatorForm property

2006-12-18 Thread Pille
hi, how can i initialize a property of type ArrayList in a DynaValidatorForm? i saw that i can do some simple initialization with the initial attribute in the form-peoperty tag in struts-config. at the moment i do some initialization in a prepare action that sets the attributes some combo boxes.

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 ju

Re: DynaValidatorForm - cannot find bean

2006-12-18 Thread Pille
w.ingrid.org/jajakarta/struts/struts1.0/en/target/documentation/api > /org/apache/struts/util/PropertyUtils.html#getSimpleProperty(java.lang.Objec > t,%20java.lang.String) > > > Regards, > Mano thank you regards philippe > > -Original Message- > From: Pil

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 insta

Re: DynaValidatorForm - cannot find bean

2006-12-17 Thread Pille
anymore or do i have to cast to a DynaValidatorForm? is it actually possible to do a cast or do i have to implement a ValidatorForm instead of using a DynaValidatorForm? thank you Pille wrote: > > Christopher Schultz wrote: >> Philippe, >> >> Pille wrote: >>> but aft

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 b

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