RE: code reuse - DispatchAction input parameter for different C RUD pages

2003-01-09 Thread PILGRIM, Peter, FM
-Original Message- From: Peterkofsky, Don [mailto:[EMAIL PROTECTED]] --///-- I've been successfully using the Dispatch action in the development of an application here, without yet implementing validation. I'm using DynaValidatorActionForm beans and extending action classes from

Re: code reuse - DispatchAction input parameter for differentC RUD pages

2003-01-08 Thread Peterkofsky, Don
? Any assistance/advice is appreciated. Thanks and regards, Don Peterkofsky * From: Ted Husted * Subject: Re: code reuse * Date: Sun, 22 Jul 2001 11:54:30 -0700 I would say that if you have one EJB for all these properties, then you should have one ActionForm as well

RE: code reuse

2001-07-24 Thread Stephen LeClair
] Subject: Re: code reuse I would say that if you have one EJB for all these properties, then you should have one ActionForm as well. The trick to ActionForm reuse is the validation method. If the class is used on more than one form, then validate() may need to address a different set

Re: code reuse

2001-07-24 Thread Ted Husted
From your description, it sounds like there could be an ancestor ActionForm common to the Order and Maintenance wizards. If that were the case, each could subclass that ActionForm, and the Corporate Info Action would then refer to the ancestor class, common to both wizards. In general, an Action

Re: code reuse

2001-07-24 Thread Steve LeClair
prototype to identify what I'm missing. Thanks...Steve - Original Message - From: Ted Husted [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 24, 2001 9:25 AM Subject: Re: code reuse From your description, it sounds like there could be an ancestor ActionForm common to the Order

Re: code reuse

2001-07-22 Thread Ted Husted
I would say that if you have one EJB for all these properties, then you should have one ActionForm as well. The trick to ActionForm reuse is the validation method. If the class is used on more than one form, then validate() may need to address a different set of properties. If you are using the

code reuse

2001-07-21 Thread Steve LeClair
Our firm is has been using the struts framework to build our application demos. Now that we are shifting into a development cycle for a production release, we'd like to know more about how to build the struts side of our codebase with reuse in mind. Has anyone collected threads on reuse