https://issues.apache.org/bugzilla/show_bug.cgi?id=54314
Bug ID: 54314
Summary: Code generation of TagPlugins: When and Otherwise
error when they are used without <c:choose> outside
Product: Tomcat 7
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Created attachment 29773
--> https://issues.apache.org/bugzilla/attachment.cgi?id=29773&action=edit
Patchs for Choose When & Otherwise
There is no "}" when "<c:when> or <c:otherwise>" are used without <c:choose>
outside.
For example,
<c:choose>
<c:when test="${true}">
When 1
<c:when test="${abc}"> When 2 </c:when>
<c:otherwise>
Otherwise
</c:otherwise> <!-- These two tags will generate code like this "if ($abc})
{} else {", no "}" at the end" -->
</c:when>
</c:choose>
--
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]