>Nope - just a collection.  Here is an example of the problem (tested
with tomcat 5.0.19) :
>...

Strange. Although I don't have any problems reading or writing jsp in
the old syntax, my hands on experience with it togheter with EL is
somewhat limited, since I write my pages exclusively as jsp documents
(xml). Your code seems alright to me. Only difference I can see from my
example is this:

<%@ attribute name="items" required="true" %>

<jsp:directive.attribute name="objects"
                         type="java.lang.Object"
                         required="true"/>

Where I declare the type and you don't.

It might be that the "old" jsp style behaves in a different manner that
I'm not aware of, and that it translates into some sort of simpler
non-object aware level on parameters, thereby just invoking toString()
for all of them?

Have you tried to write your tag as a jsp document (xml) as in my
example to see if you can get to the type information from there?

Regards Erik Beijnoff

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to