Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 21145 invoked from network); 5 Sep 2006 13:15:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2006 13:15:56 -0000 Received: (qmail 64128 invoked by uid 500); 5 Sep 2006 13:15:54 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 64067 invoked by uid 500); 5 Sep 2006 13:15:53 -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 64056 invoked by uid 99); 5 Sep 2006 13:15:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 06:15:53 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2006 06:15:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 716F1714320 for ; Tue, 5 Sep 2006 13:12:23 +0000 (GMT) Message-ID: <15557016.1157461943461.JavaMail.jira@brutus> Date: Tue, 5 Sep 2006 06:12:23 -0700 (PDT) From: "Michael Lipp (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Created: (TOMAHAWK-657) HtmlDataScrollerRenderer.renderScroller causes duplicate Ids MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N HtmlDataScrollerRenderer.renderScroller causes duplicate Ids ------------------------------------------------------------ Key: TOMAHAWK-657 URL: http://issues.apache.org/jira/browse/TOMAHAWK-657 Project: MyFaces Tomahawk Issue Type: Bug Components: Data Scroller Affects Versions: 1.1.5-SNAPSHOT Reporter: Michael Lipp Priority: Blocker HtmlDataScrollerRenderer.renderScroller modifies the sroller component's structure by adding command links to it. This works only once. However, it is perfectly legal to invoke lifecycle.render several times *without* calling lifecycle.execute in between (that's what portals to for portlets that have not participated in the current action). Because the component structure is reused rather than recreated in this case, the added command links from the previous render invocation are still there. Adding the command links again eventually leads to duplicate ids. Workaround (and probably fix as well): clear list of children at the start of renderScroller. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira