You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by "Karr, David" <Da...@wamu.net> on 2003/07/23 00:46:54 UTC

RE: if with 2 script element not working

First of all, it's hard to help if you don't say what's happening.
Saying "it doesn't work" isn't enough.

It might be useful if you would print out the values you're comparing.
If they're really not equal, then they really won't be equal :) .

> -----Original Message-----
> From: Thomas Martin [mailto:tmartin@endeca.com]
> 
> The forEach work but not the if.
> 
> <c:forEach var="dimension" items="${requestScope.navigationTree}" >
>                                 <c:if test="${param.filter eq
> dimension.group}">
> 				<tr>
> 					<td colspan="5"><c:out
> value="${dimension.name}"/>
> 					</td>
> 				</tr>
> 				<tr>
> 
>                                         <c:forEach var="refinement"
> items="${dimension.refinements}">
> 					<td><input type="checkbox"
> value="<c:out value="${refinement.ID}"/>"><c:out
> value="${refinement.name}"/>
> 					</td>
>                                         </c:forEach>
> 				</tr>
>                                 <tr>
>                                     <td colspan='10'><hr width="100%"
> size="3">
>                                     </td>
>                                 </tr>
>                                 </c:if>
> </c:forEach>

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