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

Should have the ability to define collection types

           Summary: Should have the ability to define collection types
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Digester
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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="MyProducts" 
type="org.apache.struts.validator.DynaValidatorForm" extends="productForm"&gt;
   &lt;form-property name="productName" collectionType="java.util.ArrayList" 
type="productForm" initial="MyProduct"/&gt;
&lt;/form-bean&gt;

We can further enhance it by using ${productForm} (suggested by James M) or do 
something like ${fb:productForm} to suggest that it is a form-bean to look up.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to