Hello.

I'm using standard-1.0.4.jar taglib and was wondering
if there's a bug when trying to use a <c:choose> tag
inside of another <c:choose> tag?

The following is causing an error in my Struts
application:

<c:choose>
  <c:when test="{!empty resultsList}">
  Some content...

    <c:choose>
      <c:when test="${hasMultipleLocations}">
      (Multiple locations)
      </c:when>
      <c:otherwise>
      <c:out value="${primaryLocation}"/>
      </c:otherwise>
    </c:choose>

  More content...
  </c:when>
  <c:otherwise>
  No results.
  </c:otherwise>
</c:choose>


The strange thing is that I'm not getting any detailed
JSP error information and the StrutsAction is
immediately throwing an Exception (i.e. the first line
of code in the Action is not even executed, which
leads me to suspect it is a JSP/Taglib issue).  When I
remove internal <c:choose> logic and replace it with
two <c:if> tags, it works fine.

Has anyone else experienced this?

Also, is there a page that lists what was fixed in
standard-1.0.5?  

Thank you very much.




                
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail

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

Reply via email to