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,
-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
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?
>
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
-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
-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
/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
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
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
-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
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
11 matches
Mail list logo