You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/08/20 22:40:46 UTC
DO NOT REPLY [Bug 22600] New: -
Defining inheritance for dynamic action forms in struts-config
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22600>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22600
Defining inheritance for dynamic action forms in struts-config
Summary: Defining inheritance for dynamic action forms in struts-
config
Product: Struts
Version: 1.1 Final
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Enhancement
Priority: Other
Component: Unknown
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: andrew@astarte.co.nz
Many of our forms have several attributes in common. In struts 1.0.x we defined
a class inheriting from ActionForm (MainActionForm), defined those attributes
in it, and extended our ActionForms from MainActionForm.
With dynamic forms there is no base class. It is all defined in struts-config.
It would help to be able to define a set or several sets of attributes in
struts-config and have the relevant dynamic forms refer to, or include, one of
those base definitions. Probably only one so that it mimics the fact that java
classes can extend only one class.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org