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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]