How do you extend if you are using a DynaForm ???
Is there anyway out .. ??
-Original Message-
From: Philip Mark Donaghy [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 9:16 PM
To: Struts Users Mailing List
Subject: Re: Best Practices in Struts for Form objects?
If all of
: Michael Cardon [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 9:05 PM
To: [EMAIL PROTECTED]
Subject: Best Practices in Struts for Form objects?
Hello,
If I have 5 Action classes that all need to reference the same Form object,
should I map each Action to the same form name, or use
uts Users Mailing List" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Best Practices in Struts for Form objects?
Date: Thu, 6 Nov 2003 07:35:04 -0800
Hello,
If I have 5 Action classes that all need to reference the same Form object,
should I map each Action to the same form name,
(except you explicite destroy it)
Michael
- Original Message -
From: "Michael Cardon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 4:35 PM
Subject: Best Practices in Struts for Form objects?
> Hello,
>
> If I have 5 Action cla
If all of your Forms have exactly the same properties
then use the same form mapping for all your actions.
If all of your Forms share some properties then use
different forms for each action. Each of these forms
would extend a generic form which extends of course
ActionForm or ValidatorForm.
Phil
Hello,
If I have 5 Action classes that all need to reference the same Form object,
should I map each Action to the same form name, or use different names for
each of the Forms in the Actions? Does it make a difference if Im using
session scope vs. request scope?
Example using the same form name
6 matches
Mail list logo