struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10936] New: - No way to create arrays of non String/primitive types using DynaForms
Date Thu, 18 Jul 2002 04:17:06 GMT
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=10936>.
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=10936

No way to create arrays of non String/primitive types using DynaForms

           Summary: No way to create arrays of non String/primitive types
                    using DynaForms
           Product: Struts
           Version: Nightly Build
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Standard Actions
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: turner@blackbear.com


Suppose I have a class called Person, which stores information like 
personName.  I have a form that stores will allow input for 10 of these 
entries.

Can't do
<form-property name="person" type="com.foobar.Person[10]"/>
That's an invalid syntax

Can't do it with an initial value param because initial values can only create 
things that beanutils.ConvertUtils knows about.

Suggested fix:  Either allow a size in the type param, or add a new size param 
(size=)

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


Mime
View raw message