As Andrew said, you can always use a single node type (only one
facet), and inside of it apply your presentation logic looking at the
node properties.

Cosma


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

Hi,
  the facet are for "node types", not for "nodes .
  but i am getting date from databases and  as per my requirements
 i have to set   diffenent node types   dynamically which i may not be
declared in
my jsp (predefine(
 when i click that node it has to go to some page.
 bu
t what happen here is i have to declare all node types (pre define) in jsp
like this

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);

 i want to declare my  facets  also in backing beans with nodestypes   so
that my tree will become dynamic

is there any solutions
please give some rough example .

with regards
shannu
--
View this message in context: 
http://www.nabble.com/tree-2-is-not--a-dynamic-tree-tf1899088.html#a5212173
Sent from the MyFaces - Users forum at Nabble.com.


Reply via email to