You could want take a look at struts1-plugin for struts2, if you need more behavior of struts1 in your app.
Felipe __Billa__ wrote: > > > Thanks a Lot! > > -----Original Message----- > From: Dave Newton [mailto:[EMAIL PROTECTED] > Sent: Friday, March 30, 2007 2:36 PM > To: Struts Users Mailing List > Subject: Re: Using ActionForm in struts2 > > --- Syed Ibrahim <[EMAIL PROTECTED]> wrote: >> Instead of writing the getter and setters in Action >> I would prefer then to be written separately as the >> same bean can be used elsewhere in models or >> DAO transfer objects. >> >> How to achieve that in Struts 2 ? > > Write your POJO, expose it in your action per JavaBean > spec, and use it in your form? Pseudo: > > class Action Foo { > private User user; // Plus getter and setter. > } > > <s:form.../> > <s:textfield name="user.fname".../> > </...> > > d. > > > > > ____________________________________________________________________________ > ________ > Get your own web address. > Have a HUGE year through Yahoo! Small Business. > http://smallbusiness.yahoo.com/domains/?p=BESTDEAL > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts-ui-components-inside-%3Ctable%3E-in-a-single-line.-tf3489297.html#a9751361 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]