it gives you the advantage of being able to construct your domain objects easily: new Person(personBean);
you also dont have to access the form components directly to poll their models, to me this is a plus. -igor On Jan 21, 2008 9:00 AM, Sergey Podatelev <[EMAIL PROTECTED]> wrote: > On Jan 20, 2008 8:14 PM, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > personally i would map the form to a bean, and then in onsubmit() > > transfer those properties to an instance of your domain object. > > > > > Igor, could you please tell in short how is this better than just get data > form the models of each component in onsubmit()? > I'm doing same thing within my app and was wondering if I should create a > bean just for form data extraction purposes. > > -- > sp > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
