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/06/13 20:52:38 UTC

DO NOT REPLY [Bug 20760] - Should have ability to extend ActionForms

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=20760>.
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=20760

Should have ability to extend ActionForms





------- Additional Comments From Gin.Chen@NielsenMedia.com  2003-06-13 18:52 -------
Should have the ability to do:
&lt;form-bean name="productForm" 
type="org.apache.struts.validator.DynaValidatorForm"&gt;
   &lt;form-property name="productID" type="java.lang.Integer" initial=""/&gt;
   &lt;form-property name="productName" type="java.lang.String"/&gt;
&lt;/form-bean&gt;

&lt;form-bean name="MyProduct" 
type="org.apache.struts.validator.DynaValidatorForm" extends="productForm"&gt;
   &lt;form-property name="productName" type="java.lang.String" 
initial="MyProduct"/&gt;
&lt;/form-bean&gt;

Similiar to what Tiles provides with the definitions.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org