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 class
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,
--- [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
--- [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 jsp looks
2.0 form bean
Mailing List
[EMAIL PROTECTED]
he.org
Please respond to Subject
Struts Users Re: Struts 2.0 form bean
Mailing List
[EMAIL PROTECTED
6 matches
Mail list logo