tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49534] New: ForEachSupport handles unsupported items inconsistently
Date Thu, 01 Jul 2010 05:02:03 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49534

           Summary: ForEachSupport handles unsupported items
                    inconsistently
           Product: Taglibs
           Version: 1.2.0
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Standard Taglib
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: jboynes@apache.org


When the "items" attribute contains an unsupported type an exception is thrown
with a "FOREACH_BAD_ITEMS" error message. However, if it contains a value
expression that evaluates to an unsupported type, no error occurs. An example
would be the snippet:

  <c:set var="hello" value="${true}"/>
  <c:forEach var="x" items="#{hello}">
      <c:out value="${x}"/>
  </c:forEach>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message