Yup my CreateUserProfileForm does extend from ActionForm, but I still get
the exception. Have you tried something like this before? It would help me
alot to know that this is something possible and can be done :)



----- Original Message -----
From: "Jin Bal" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 24, 2002 12:16 AM
Subject: Re: [ActionForm] Extending existing ActionForm classes


> CreateUserProfileForm etc must extend from ActionForm then
> UpdateUserProfileForm can extend from CreateUserProfileForm.
>
> Your forms must have a base type of ActionForm
>
> HTH
>
> Jin
>
> ----- Original Message -----
> From: "Charles" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Tuesday, September 24, 2002 7:16 PM
> Subject: [ActionForm] Extending existing ActionForm classes
>
>
> > Hi,
> > I got question about new actionform classes extending existing
actionform
> > classes. For example, I have this CreateUserProfileForm that has all the
> > fields for User Profiles, which I would like to use them in my new form
> > UpdateUserProfileForm. Is it possible that the UpdateUserProfileForm
> extend
> > from the existing CreateUserProfileForm (so that I can reuse all the
> > existing attributes of that class)  instead of extending from
ActionForm?
> > I've tried that and when I start up my application I get a
> > UnavailableException thrown by the ActionServlet. but when I replace the
> > "extend CreateUserProfileForm" back to "extend ActionForm" everything
> worked
> > fine. Could someone help me out ? Thanks.
> >
> >
> >
> > --
> > 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]>
>
>
>



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

Reply via email to