Hi Maik, the Tree/TreeTable are using the TreeModel ([1]). This clazz is a specialized JSF DataModel, by using getRowData(num) and getRowCount() (see [2]) you can access the children. The Tree has special API, since the children can be "containers". The JavaDoc of the TreeModel API has some informations on the usage.
We also have some documentation in the dev-guide ([3]). Greetings, Matthias [1] http://myfaces.apache.org/trinidad/trinidad-api/apidocs/org/apache/myfaces/trinidad/model/TreeModel.html [2] http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/javax/faces/model/DataModel.html [3] http://myfaces.apache.org/trinidad/devguide/tree.html On 9/19/07, Maik77 <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm using Trinidad's (1.0.2) TreeTable component and want to iterate through > all Nodes/Rows after performing an action. > In the UIXTree are methods like getDisclosedRowKeys() or > getSelectedRowKeys() that returns a RowKeySet. > Unfortunately there is no method to give me a RowKeySet that from the > complete tree. > What is the easiest way to get all the Rows? > > Maik > -- > View this message in context: > http://www.nabble.com/-Trinidad--Getting-all-rows-from-TreeTable--tf4480633.html#a12776232 > Sent from the MyFaces - Users mailing list archive at Nabble.com. > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org

