| Author |
Tree Implementation using Trinidad tag
|
Saurabh Chandra
Greenhorn
Joined: Feb 28, 2008
Posts: 2
|
|
Stating below is the problem which I am facing while implementing tree. I am able to display the data which is passed as collection( for example an array list[one dimensional array] the data gets arranged up vertically in a single line ) but the graphical symbols or representation of tree is not appearing like the "+" and " -" symbol as well as the vertical lines that comes in the left-side of elements of tree is also not appearing . However when i am passing an array of objects in that array(i.e., 2d array) to represent parent child relationship. the code is not working. I am hereby sending you the code with which i have tried the code. <tr:tree var="foo" value="#{tree.newList}"> <f:facet name="nodeStamp"> <tr utputText value="#{foo.newName}" > </f:facet> </tr:tree> newList ----->this is the name of the array list ( data can be seen if new list is a 1 dimensional array list of object but when we are passing a 2 dimensional array list ie an array list which holds an array of object to represent parent child relationship) the code doesnt WORKS!!! newName--------> this is one of the property of the object stored in that array. nodeStamp-----------> it is the facet name to stamp each element.
|
 |
rajani varma
Ranch Hand
Joined: Dec 21, 2006
Posts: 30
|
|
Hello Saurabh, I have no idea about <tr:tree>. Sorry..... :-( Regards, Rajani
|
 |
 |
|
|
subject: Tree Implementation using Trinidad tag
|
|
|