myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Resolved] (MYFACES-3869) Ids used by c:if, c:forEach and other facelet tags requires to be unique per facelet
Date Thu, 13 Mar 2014 15:14:45 GMT

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

Leonardo Uribe resolved MYFACES-3869.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2

Thanks to Gonçalo Manuel Cruchinho for provide us help to debug and fix this issue. @Karl:
I think your but is something else, so we need to deal with it in another issue.

> 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
>             Fix For: 2.2.2
>
>
> 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)

Mime
View raw message