From adffaces-user-return-1497-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Tue Dec 05 01:45:59 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 94585 invoked from network); 5 Dec 2006 01:45:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2006 01:45:59 -0000 Received: (qmail 28116 invoked by uid 500); 5 Dec 2006 01:46:07 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 28105 invoked by uid 500); 5 Dec 2006 01:46:07 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 28096 invoked by uid 99); 5 Dec 2006 01:46:07 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 17:46:07 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of awiner@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 17:45:56 -0800 Received: by ug-out-1314.google.com with SMTP id y2so3846183uge for ; Mon, 04 Dec 2006 17:45:35 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HqVncL3aSBY8iOIuqzIwqivYzTf/kfDnZ8RelxxAY2KEWzPGYf8RZPgztU0TPxkEMueOe2F57C6UuFr3Yq/7upzQBBBH28NaQBvpJKmg4dXcwMtANbppJHgYd1XGXIpVYlVmySyt37ZQcwwsaCtH57vXpVb1u28NGY6REoh2PpA= Received: by 10.66.242.20 with SMTP id p20mr12965617ugh.1165283134744; Mon, 04 Dec 2006 17:45:34 -0800 (PST) Received: by 10.67.102.2 with HTTP; Mon, 4 Dec 2006 17:45:34 -0800 (PST) Message-ID: <6dac79b90612041745h3deb01f2x6b257028100f19f8@mail.gmail.com> Date: Mon, 4 Dec 2006 17:45:34 -0800 From: "Adam Winer" To: adffaces-user@incubator.apache.org Subject: Re: Duplicated clientIds in Components embedded in Trinidad TreeTable In-Reply-To: <5a99335f0612040607k446b022bsbcbc646b7f0abbfb@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_53420_10212919.1165283134673" References: <885AADC3D2318E45807C702ABC2637DD133876@MOES0037.tcc.local> <5a99335f0612040607k446b022bsbcbc646b7f0abbfb@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_53420_10212919.1165283134673 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Agreed. It's not obvious why you're having problems. -- Adam On 12/4/06, Martin Marinschek wrote: > > Hi Jochen, > > interesting - you should file this as an issue - I do think that all > components should be able to be embedded in a trinidad tree, if this > isn't possible, it's a bug in Trinidad. > > regards, > > Martin > > On 12/4/06, B=F6hringer Jochen wrote: > > >As far as I can see, your code should work properly. There is really > > >no magic involved here - getClientId() will get the id of the > > >parent-container, and the tree will probably (if it works the same as > > >the dataTable) just assign a row-based id to the component. Should > > >work IMHO! > > > > Hello Martin, > > > > I have changed my Component's code to extend > org.apache.myfaces.trinidad.component.UIXComponentBase instead of > javax.faces.component.UIComponentBase. > > > > Each rendered div tag gets its own id now. The digit between > treeeTableId and testid is increased for each row in my tree table. > > > >
> >
> >
> > > > If I extend javax.faces.component.UIComponentBase each div tag gets the > same client id: > > > >
> >
> >
> > > > So I think there is some magic in the Trinidad framework which causes > this issue. > > > > Regards > > Jochen > > > > > -- > > http://www.irian.at > > Your JSF powerhouse - > JSF Consulting, Development and > Courses in English and German > > Professional Support for Apache MyFaces > ------=_Part_53420_10212919.1165283134673--