Re: LazyDynaBean question

2005-02-09 Thread Niall Pemberton
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

RE: LazyDynaBean question

2005-02-09 Thread Joe Hertz
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

RE: LazyDynaBean question

2005-02-09 Thread Joe Hertz
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

Re: LazyDynaBean question

2005-02-09 Thread Niall Pemberton
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

RE: LazyDynaBean question

2005-02-08 Thread Joe Hertz
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

RE: LazyDynaBean question

2005-02-08 Thread Joe Hertz
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

Re: LazyDynaBean question

2005-02-07 Thread Niall Pemberton
); } } } 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

RE: LazyDynaBean question

2005-02-07 Thread Joe Hertz
] > 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

RE: LazyDynaBean question

2005-02-07 Thread Joe Hertz
] > 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

Re: LazyDynaBean question

2005-02-07 Thread Niall Pemberton
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