incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Winer" <awi...@gmail.com>
Subject Re: Duplicated clientIds in Components embedded in Trinidad TreeTable
Date Tue, 05 Dec 2006 01:45:34 GMT
Agreed.  It's not obvious why you're having problems.

-- Adam


On 12/4/06, Martin Marinschek <martin.marinschek@gmail.com> 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öhringer Jochen <Jochen.Boehringer@tcc-products.de> 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.
> >
> > <div id="_id25:treeTableId:0:testid">
> > <div id="_id25:treeTableId:1:testid">
> > <div id="_id25:treeTableId:2:testid">
> >
> > If I extend javax.faces.component.UIComponentBase each div tag gets the
> same client id:
> >
> > <div id="_id25:treeTableId:0:testid">
> > <div id="_id25:treeTableId:0:testid">
> > <div id="_id25:treeTableId:0:testid">
> >
> > 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message