Re: Struts 2.0 form bean

2007-07-01 Thread tom tom
Before anything try model driven interface if you are not doing any portlet developments. Thanks, --- [EMAIL PROTECTED] wrote: > Hi All, > > As there is no concept of Action form beans in > struts 2.0 we have to define > the field attributes in the Action class. > > I am using the same action c

Re: Struts 2.0 form bean

2007-06-29 Thread Manoj . Gupta
cc Please respond to Subject "Struts Users Re: Struts 2.0 form bean Mailing List" &

Re: Struts 2.0 form bean

2007-06-29 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > In the action class i defined a attribute called > > public PersonalDetailForm getForm() { > return form; > } > > public void setForm(PersonalDetailForm form) { > this.form = form; > } > > PersonalDetailForm form; > > > and the

Re: Struts 2.0 form bean

2007-06-29 Thread Manoj . Gupta
ubject "Struts Users Re: Struts 2.0 form bean Mailing List" <[EMAIL PROTECTED]

Re: Struts 2.0 form bean

2007-06-29 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > is there any way of defining this fields attribute > in two separate bean classes and configure with the > appropriate action? Use regular JavaBeans and use the appropriate bean in the JSP form and configure validation for each bean/method combination. That's a rea

Struts 2.0 form bean

2007-06-29 Thread Manoj . Gupta
Hi All, As there is no concept of Action form beans in struts 2.0 we have to define the field attributes in the Action class. I am using the same action class for two form submission, is there any way of configuring form beans to this actions. For example if my first form has fields name, addr