>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
