My mistake, I've just took a look again to the code and got the answer,
you just define the facets for the different rendering type of the
nodes, but not for the levels.

Thanks a lot Martin, really.

Regards

Matias




-----Original Message-----
From: Martin Marinschek [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 06, 2005 11:32 AM
To: MyFaces Discussion
Subject: Re: Tree2 Levels

Wait a minute - the facets just define the view for a node-type, right?

So you build up your data-model just as you want, and can implement n
levels into this datamodel, and the view is determined by the
corresponding facet of the node.

That doesn't mean that you have to have n levels for the facets as well!

regards,

Martin

On 12/6/05, Matias Gomez Carabias <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> Hi there, I have the following question, how do I implement n levels
with a
> tree2? I have to statically define in the jsp the levels that the tree
will
> have (via facets)? Is there any way to do this dynamically?
>
>
>
> Thanks for your time.
>
>
>
> Regards
>
>
>
> Matias Gomez Carabias
>
>


--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to