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 <[EMAIL PROTECTED]> 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
