c:set Collection size

2002-09-05 Thread Hari Mukkala
I am trying to get the size of a collection (ArrayList) and use in c:set ex: c:set var=total value=${list.size}/ The error I am getting is: The . operator was supplied with an index value of type java.lang.String to be applied to a List or array, but that value cannot be converted to an

Re: set Collection size

2002-09-05 Thread David Geary
Karr, David wrote: -Original Message- From: Hari Mukkala [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 7:26 AM To: Tag Libraries Users List Subject: c:set Collection size I am trying to get the size of a collection (ArrayList) and use in c:set ex: c:set var=total

Re: set Collection size

2002-09-05 Thread Thomas Colin de Verdière
But you can write a JavaBean Info. You define a property 'size' and you call its read method size() which EL will find (am i right or not) David Geary wrote: Karr, David wrote: -Original Message- From: Hari Mukkala [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 7:26

Re: set Collection size

2002-09-05 Thread Shawn Bayern
On Thu, 5 Sep 2002, Thomas Colin de Verdière wrote: But you can write a JavaBean Info. You define a property 'size' and you call its read method size() which EL will find (am i right or not) You can do this on your own custom objects. When encountering a Collection, however, the JSTL EL (and

XTags URL

2002-09-05 Thread Chen, Gin
Why doesnt this work? xtags:parse url='/get/?media=%= request.getParameter(type) %'/ i wanted to do something using the EL language as in: xtags:parse url='/get/?media=$param:type'/ as was in the docs for xtags but its not working. i am running in Tomcat 4.04 and deployed with just the