You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gonçalo Manuel Cruchinho (JIRA)" <de...@myfaces.apache.org> on 2014/03/13 17:13:44 UTC
[jira] [Comment Edited] (MYFACES-3869) Ids used by c:if, c:forEach
and other facelet tags requires to be unique per facelet
[ https://issues.apache.org/jira/browse/MYFACES-3869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13933369#comment-13933369 ]
Gonçalo Manuel Cruchinho edited comment on MYFACES-3869 at 3/13/14 4:13 PM:
----------------------------------------------------------------------------
Hi Leonardo. Your patch works for my case. The navigation is completed without any errors. Thank you.
was (Author: gmanuel):
Hi Leonard. Your patch works for my case. The navigation is completed without any errors. Thank you.
> 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)