Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D377410E04 for ; Thu, 13 Mar 2014 15:14:49 +0000 (UTC) Received: (qmail 31198 invoked by uid 500); 13 Mar 2014 15:14:48 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 31109 invoked by uid 500); 13 Mar 2014 15:14:47 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 30847 invoked by uid 99); 13 Mar 2014 15:14:45 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Mar 2014 15:14:45 +0000 Date: Thu, 13 Mar 2014 15:14:45 +0000 (UTC) From: "Leonardo Uribe (JIRA)" To: dev@myfaces.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (MYFACES-3869) Ids used by c:if, c:forEach and other facelet tags requires to be unique per facelet MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MYFACES-3869?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Leonardo Uribe resolved MYFACES-3869. ------------------------------------- Resolution: Fixed Fix Version/s: 2.2.2 Thanks to Gon=C3=A7alo Manuel Cruchinho for provide us help to debug and fi= x 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 tr= ee 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.=20 > The fix is apply the same logic used in DefaultFaceletContext.generateUni= queId(...), 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)