Re: DynaActionForm question / FW: ActionForms and Interfaces

2005-03-04 Thread Chad Baker
This was posted a couple weeks back... -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24, 2005 1:15 PM To: Struts Users Mailing List; Matthew Hughes Subject: Re: ActionForms and Interfaces IIRC, there's some ongoing work to provi

Re: ActionForms and Interfaces

2005-02-24 Thread Craig McClanahan
IIRC, there's some ongoing work to provide an "extends" capability in DynaActionForm definitions. In the mean time, though, you can leverage the fact that struts-config.xml is an XML document, and use XML entities to encapsulate the common chunks. Consider: ]>

ActionForms and Interfaces

2005-02-24 Thread Matthew Hughes
While reading through the DynaActionForm debate, I wondered if using Interfaces as well as inheritance might be a good alternative for those who want type enforcement but don't want to duplicate common form elements. I inherited a fairly large struts application months ago with 30+ forms. However