Hi Sarma,

the facet are for "node types", not for "nodes". This way, you define
in your view how a node type has to be displayed (which is the right
place to do that IMO). For example, you can have two node type,
"person" and "department", and use a different icon for the two. The
correct facet will be automatically picked by the tree2 while
rendering looking at the node tye attribute.

Bye
Cosma


2006/7/6, sarma <[EMAIL PROTECTED]>:

hi,
  in sun stdio creator   i am getting a dynamic tree  without using facets

 in tree 2 we have to declare all  nodes names in <facet> like this
<f:facet name="person">
  in java code
 TreeNodeBase personNode = new TreeNodeBase("person", "Frank Foo", false);

why  i should declare facet for every  nodes in jsp.
then how we can call it  as  a  dynamic tree.

how to make tree with out using facets.

like in sun stdio creatror ide
if there is any possibility.
with regards
shannu sarma
--
View this message in context: 
http://www.nabble.com/tree-2-is-not--a-dynamic-tree-tf1899088.html#a5195222
Sent from the MyFaces - Users forum at Nabble.com.


Reply via email to