Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 29661 invoked from network); 13 Dec 2005 00:47:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 00:47:11 -0000 Received: (qmail 97254 invoked by uid 500); 13 Dec 2005 00:47:09 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 97209 invoked by uid 500); 13 Dec 2005 00:47:09 -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 97187 invoked by uid 99); 13 Dec 2005 00:47:09 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2005 16:47:08 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id EE398231 for ; Tue, 13 Dec 2005 01:46:46 +0100 (CET) Message-ID: <832096246.1134434806973.JavaMail.jira@ajax.apache.org> Date: Tue, 13 Dec 2005 01:46:46 +0100 (CET) From: "Dave Brondsema (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (MYFACES-769) configurable IDs used for rendering In-Reply-To: <1781828546.1130790355683.JavaMail.jira@ajax.apache.org> 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 [ http://issues.apache.org/jira/browse/MYFACES-769?page=comments#action_12360269 ] Dave Brondsema commented on MYFACES-769: ---------------------------------------- Okay. If my portlet does this: And I use that portlet twice on one page, both instances of the portlet are using "foo" prefixes which doesn't help. (All lifecycle phases run fine since each instance is executed independently of the other, but the portal aggregates the HTML of instance 1, the HTML of instance 2, and some of its own HTML which makes forms and javascript not work) I'd like to do something like this or (where render-id is a new attribute used only when rendering components): > configurable IDs used for rendering > ----------------------------------- > > Key: MYFACES-769 > URL: http://issues.apache.org/jira/browse/MYFACES-769 > Project: MyFaces > Type: Improvement > Reporter: Dave Brondsema > > If the same code is used ot generated a component tree for more than one part of a webpage, the rendered IDs are the same and functionality is broken (javascript needs unique IDs). > An example of when this happens is when as portlet uses JSF for rendering. If the portlet is used more than once on a single page (e.g. an RSS reader) all the IDs are the same. > Thus we need a way to have more configurable (perhaps random) IDs when rendered. -- 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