Now I'm just confused. sorry.
Niall
- Original Message -
From: "Joe Hertz" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'"
Sent: Wednesday, February 09, 2005 7:15 PM
Subject: RE: LazyDynaBean question
> But I still have to implem
5 3:30 AM
> To: Struts Users Mailing List
> Subject: Re: LazyDynaBean question
>
> Yes BeanValidatorForm is just a DynaBean wrapper - it can
> wrap either other DynaBean or POJO beans. FormBeanConfig has
> become the ActionForm factory (since Struts 1.2) which makes
> it s
5 3:30 AM
> To: Struts Users Mailing List
> Subject: Re: LazyDynaBean question
>
> Yes BeanValidatorForm is just a DynaBean wrapper - it can
> wrap either other DynaBean or POJO beans. FormBeanConfig has
> become the ActionForm factory (since Struts 1.2) which makes
> it s
Yes BeanValidatorForm is just a DynaBean wrapper - it can wrap either other
DynaBean or POJO beans. FormBeanConfig has become the ActionForm factory
(since Struts 1.2) which makes it straight forward to plug in your own
mechanism by overriding the createActionForm() method. You can get it to
defaul
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 07, 2005 1:01 PM
> To: Struts Users Mailing List
> Subject: Re: LazyDynaBean question
>
> If you wanted to have Struts use different flavours of
> BeanValidatorForm to wrap objects then you would have to
> c
From: Niall Pemberton [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 07, 2005 1:01 PM
> To: Struts Users Mailing List
> Subject: Re: LazyDynaBean question
>
> If you wanted to have Struts use different flavours of
> BeanValidatorForm to wrap objects then you would have to
> c
);
}
}
}
You need to be careful about overriding the "indexed" getter - BeanUtils
uses that when populating indexed values and thats where indexed properties
need to "automatically grow" for the ActionForm population to work properly
in Struts.
Niall
- Or
]
> Sent: Monday, February 07, 2005 1:01 PM
> To: Struts Users Mailing List
> Subject: Re: LazyDynaBean question
>
> If you wanted to have Struts use different flavours of
> BeanValidatorForm to wrap objects then you would have to
> create your own custom FormBeanConfig impl
]
> Sent: Monday, February 07, 2005 1:01 PM
> To: Struts Users Mailing List
> Subject: Re: LazyDynaBean question
>
> If you wanted to have Struts use different flavours of
> BeanValidatorForm to wrap objects then you would have to
> create your own custom FormBeanConfig impl
If you wanted to have Struts use different flavours of BeanValidatorForm to
wrap objects then you would have to create your own custom FormBeanConfig
implementation and override the createActionForm() method. Then you need to
configure struts to use the custom FormBeanConfig and put in place a
mech
10 matches
Mail list logo