You only need a facet per node type, not node level. A facet represents a type of node. This way, you can have nodes that look different without having to code a bunch of rendered="" attributes. You can have one facet with 100s of levels if you want.

On 7/26/06, Mr Arvind Pandey <[EMAIL PROTECTED]> wrote:
Hi,

   I have problem with tree2 , it seems as if in
tree2, we must be aware of depth of tree in advance
before development because of facet child. For every
level in the tree I must provide a facet child in jsp
code. But what if I don't know the number of levels in
tree in advance? It seems as if we can generate the
name attribute of facet dynamically but unfortunately
name attribute of facet accepts only static value.
   If this is the case then we can not generate
dynamic tree using tree2 because we must define the
level of tree statically in jsp code.
   I need a tree which grows dynamically.

    Any help regarding this will be appreciated.
Many Thanks...
Arvind Pandey



__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

Reply via email to