DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29180>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29180

Tag attributes with array type don't work

           Summary: Tag attributes with array type don't work
           Product: Tomcat 4
           Version: 4.0 Beta 1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


If the type of an attribute is an array type, like java.lang.Object[], the
generated java code will contain casts to the name of the array type, e.g.
something like this:

   
_jspx_th_stat_arrayiter_0.setArray(([Ljava.lang.Object;)JspRuntimeLibrary.getValueFromPropertyEditorManager([Ljava.lang.Object;.class,
"array", "<%= context.filterReports(context.getReports(), 1) %>"));

which is not valid Java, because the name of an array type isn't a valid identifier.

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

Reply via email to