tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mfncoo...@gmail.com>
Subject Re: Looping with paramValues
Date Fri, 10 Sep 2004 18:38:34 GMT
I'm not totally sure what you're asking either, but you should note
that the only difference between 'param' and 'paramValues' is that the
values in 'param' are strings while the values in 'paramValues' are
arrays of strings. In all other respects, they are the same.

--
Martin Cooper


On Fri, 10 Sep 2004 10:23:14 -0700, Nic Werner <nic.werner@sonoma.edu> wrote:
> Hi,
>    Is there a '.key' accessor for paramValues? Basically I only want to
> access the variables that match a certain index and do comparison work
> with them....
> 
>    I'm familiar with accessing data using paramValues.var_name[index],
> and I'm familiar with looping through params with only one value:
> 
> <c:forEach items="${param}" var="params" varStatus="status">
>    <c:out value="${params.key} -- ${params.value}"/><BR>
>    </c:forEach>
> 
> The problem with paramValues is that I have to specify a variable name,
> while params lets me use '.key'.
> 
> Thanks for your help,
> 
> - Nic
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org


Mime
View raw message