You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2014/03/12 16:49:43 UTC

[jira] [Created] (MYFACES-3869) Ids used by c:if, c:forEach and other facelet tags requires to be unique per facelet

Leonardo Uribe created MYFACES-3869:
---------------------------------------

             Summary: Ids used by c:if, c:forEach and other facelet tags requires to be unique per facelet
                 Key: MYFACES-3869
                 URL: https://issues.apache.org/jira/browse/MYFACES-3869
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314, JSR-344
            Reporter: Leonardo Uribe
            Assignee: Leonardo Uribe


As part of MYFACES-3867, it was found in some cases where parts of the tree are changed by effect of a ui:include tag, the facelet tag ids used by c:if or c:forEach for example are not unique enough. 

The fix is apply the same logic used in DefaultFaceletContext.generateUniqueId(...), which is use a combination between a facelet hierarchy hashcode and the tagId, which is associated to the position of the tag in the page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)