Tim,

I am going to move this discussion to the list in case this discussion
is of interest to anyone else.

Can you be a little more specific about your feature request?  What do
you mean by specifying the root location?  Are you referrring to the
root location of the tree or a file system that is modeled by the tree
(or are they the same?)

Right now <f:param> only works with JSF components that support it. 
Tree2 does not really support <f:param> itself (although it could if
we found a reason for that.)   You can use <f:param> inside your tree
but only with components that support it (like commandLink).  Notice
how I use it in the tree2 example for the document facet.

So if you are using <f:param> to try and configure the tree itself you
won't get very far.  Again, we could consider using <f:param> but
right now if you want to configure the tree you just change one of the
attributes in the <x:tree2> tag.  For instance if you don't want to
show the connecting lines you specify showLines="false".

sean

---------- Forwarded message ----------
From: Tim Pyle <[EMAIL PROTECTED]>
Date: Thu, 03 Mar 2005 09:55:30 -0600
Subject: Re: Tree2
To: Sean Schofield <[EMAIL PROTECTED]>


Hey man how's it going?
Tree is working great, no problems yet. However, I have need to be able
to do somehting, and not sure the best way to get it accomplished. I am
needing to be able to pass in a parameter or two before the tree data
gets built. I have the tree which gets it's data from a method in a
backing bean. I would really like to find a way to get these parameters
to the backing bean from the jsp page. I tried to use the <f:param> tag,
but that didn't seem to work. Like in this one use of the file-structure
tree, I would like the developer who writes the jsp page to be able to
specify the root location that the tree will begin. And again, all of
this is implemented within the bean, but I would like to find a way for
the jsp guy to pass in the parameters. Any idea on this?

Tim

On Wed, 2005-03-02 at 22:10, Sean Schofield wrote:
> Tim,
>
> How is the new tree working out for you?  Let me know if you find anything.
>
> sean

Reply via email to