You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Andrew Robinson (JIRA)" <de...@myfaces.apache.org> on 2013/12/02 18:32:35 UTC

[jira] [Resolved] (TRINIDAD-2430) ForEach looses varStatus data if JSP tags are not executed

     [ https://issues.apache.org/jira/browse/TRINIDAD-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Robinson resolved TRINIDAD-2430.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1-core

Added an API to RequestContext to be used by ForEachTag to avoid cleaning up when tags are not going to be executed during a request 

> ForEach looses varStatus data if JSP tags are not executed
> ----------------------------------------------------------
>
>                 Key: TRINIDAD-2430
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2430
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.1.1-core
>            Reporter: Andrew Robinson
>            Assignee: Andrew Robinson
>             Fix For: 2.1.1-core
>
>
> the ForEachTag has a phase listener that removes unused iteration data (varStatus data). If a 3rd party JSF library skips JSP tag execution during a request, that code assumes the ForEachTag is no longer used. The result is the data is thrown out when it should not need to be.
> There should be a way to allow such a library notify Trinidad that the JSP tags are not being executed so that the information is not cleaned up.



--
This message was sent by Atlassian JIRA
(v6.1#6144)