[jboss-jira] [JBoss JIRA] (WFLY-6267) JSTL will fail with tags using x:out nested in a x:forEach
Matthew Casperson (JIRA)
issues at jboss.org
Wed Feb 24 19:42:00 EST 2016
[ https://issues.jboss.org/browse/WFLY-6267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13167944#comment-13167944 ]
Matthew Casperson commented on WFLY-6267:
-----------------------------------------
Pull request has been done: https://github.com/jboss/jboss-jstl-api_spec/pull/12
> JSTL will fail with tags using x:out nested in a x:forEach
> ----------------------------------------------------------
>
> Key: WFLY-6267
> URL: https://issues.jboss.org/browse/WFLY-6267
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Reporter: Matthew Casperson
> Assignee: Stuart Douglas
>
> See https://github.com/mcasperson/wildfly_jstl_bug/
> What happens is you have a x:forEach in a JSP page. Inside this x:forEach you call a tag that itself has a x:forEach. The variable created by the second x:forEach is inaccessible to any nested x:out elements.
> This happens because the x:out pageContext is actually linked to the pageContext from the jsp page, which doesn't hold any variables created by the x:whatever elements in the tag file.
> See https://github.com/mcasperson/wildfly_jstl_bug/blob/master/src/main/webapp/index.jsp and https://github.com/mcasperson/wildfly_jstl_bug/blob/master/src/main/webapp/WEB-INF/tags/my.tag for more details.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list