But you have the possibility to built up one meta
form which contains all the needed forms

e.g.
public class MetaForm ...{
        UserForm user = new UserForm();
        CompanyForm company = new CompanyForm();

        public CompanyForm getCompany(){
                return this.company;
        }
        ...
}

and the Company Form should look like

public class CompanyForm ... {
        String test
        public String test(){
                return test;
        }
        ...
}


in the jsp form you have to configure the meta form to work with
and in the jsp itself the code you can work like this

<html:text property="company.test"/>
<html:text property="user.test"/>

Struts would then call the getter from MetaForm and the from CompanyForm,
so you could use as many form as you want

-----Original Message-----
From: Sandeep Takhar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 5:20 PM
To: Struts Users Mailing List
Subject: Re: one Action with more ActionForms ?


nope
--- Johannes Wolfgang Woger
<[EMAIL PROTECTED]> wrote:
> Hi,
> a very newbee question, I know.
> Can one Action be assoziated with
> more ActionForms? like:
>
> <action  path="/needMore"
>              type="org....NeedMoreAction"
>           name="a_Form"
>           name="b_Form"
>           name="c_Form"
>              scope="request"
>              validate="false">
> </action>
>
> I am sure it is not possible, is it?
>
> Thank in advance
> Wolfgang
>


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to