Re: saving a DynaForm

2005-07-19 Thread Dewitte Rémi
me),Array.getLength(value)); for(int i =0 ; i Bonjour Remi > Am glad that satisfies your requirement.. > Bon Chance, > Martin- > - Original Message - > From: "Dewitte Rémi" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Tuesday, J

Re: saving a DynaForm

2005-07-19 Thread Martin Gainty
Bonjour Remi Am glad that satisfies your requirement.. Bon Chance, Martin- - Original Message - From: "Dewitte Rémi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, July 19, 2005 5:32 AM Subject: Re: saving a DynaForm I think i'll t

Re: saving a DynaForm

2005-07-19 Thread Dewitte Rémi
I think i'll take your second option. I could make something work with serializable as said Martin (and confirmed by you), but if we decide a day to change the way to make data persistent, many frameworks exist for POJOs (eg. hibernate). And Benautils provides : BeanUtilsBean.populate(bean,map)

Re: saving a DynaForm

2005-07-18 Thread Laurie Harper
Dewitte Rémi wrote: Hello ! I uses LazyDynaForm to gather user results. Now I'd like to save those results. All persisence framework are for POJO, do you know a common solution ? May I create a POJO to make the transition/link ? It all depends on your requirements and what persistence techno

Re: saving a DynaForm

2005-07-18 Thread Martin Gainty
Rémi The Base Class of LazyDynaForm is ActionForm .. to quote the doc on ActionForm ActionForms are JavaBeans, subclasses should also implement Serializable, as required by the JavaBean specification Implementing Serializable interface would effectively 'save' your LazyDynaForm attributes Anyo