Re: Tree2 expand

2006-12-15 Thread William Huang
I think you can create your own TreeState object and set it on the TreeModel.. Bill "Leyzerzon, Simeon"

RE: Tree2 expand

2006-12-15 Thread Leyzerzon, Simeon
William, Thanks for the answer, but could you elaborate please? Thanks, Simeon -Original Message- From: William Huang [mailto:[EMAIL PROTECTED] Sent: Friday, December 15, 2006 4:38 PM To: MyFaces Discussion Subject: Re: Tree2 expand I think you can create your own TreeState object

RE: Tree2 expand

2006-12-15 Thread William Huang
2/15/2006 04:43 PMSubject RE: Tree2 expand Pl

Re: tree2 expand/collapse

2006-05-23 Thread Chris Hane
This isn't going to help too much; but I started to run into the same things when I was using tree2 and client side expand/collapse. What I tracked it down to was the expand/collapse state is stored in a cookie that is relevant for a the tree2 component on a specific screen. For me that meant

Re: tree2 expand/collapse

2006-05-23 Thread Sean Schofield
I think this is the issue: http://issues.apache.org/jira/browse/TOMAHAWK-437 Its on my list of tree2 issues to address. Right now we're sorting through some big picture tomahawk and core issues. Sean On 5/23/06, Chris Hane <[EMAIL PROTECTED]> wrote: This isn't going to help too much; but I

Re: tree2 expand/collapse

2006-05-23 Thread Adrien FOURES
Hi Chris, I have the same problem, and i found a solution to pass over. i delete my myfaces tree : name "tree1", in the jsf tree component, and its works now fine. // delete component "tree1" directly in the jsf tree component if(FacesContext.getCurrentInstance(

Re: tree2 expand/collapse

2006-05-25 Thread Chris Hane
Please keep this on the list I'm not at the machine with my source (so this is from memory). Basically I created my own tree state object that looks something like: public class MyTreeState extends TreeStateBase { @Override public boolean isNodeExpanded(String node_id){ return t

Re: tree2 expand once again

2007-07-13 Thread Andrew Robinson
Tree2 uses node indexes, not IDs for expanding/collapsing. Please search the archives for more information. On 7/13/07, Michał 'Gandalf' Stawicki <[EMAIL PROTECTED]> wrote: I would like to be able to expand a node upon clicking on commandLink in the node. The tree is bound to HtmlTree in backin

Re: tree2 expand all default

2005-07-06 Thread Adrian Merrall
On 7/7/05, Dennis Byrne <[EMAIL PROTECTED]> wrote: > I am using the tree2 control, backing bean is in request > scope and clientSideToggle="false". Does anyone know how to > get all nodes to be expanded when this component is first > seen by the user? > Dennis Byrne > There have been a few threa

Re: tree2 expand all default

2005-07-06 Thread Dennis Byrne
http://www.mail- archive.com/users@myfaces.apache.org/msg05064.html I see. Original message >Date: Thu, 7 Jul 2005 13:23:11 +1200 >From: Adrian Merrall <[EMAIL PROTECTED]> >Subject: Re: tree2 expand all default >To: MyFaces Discussion > >On 7/7/05, Dennis

Re: tree2 expand all default

2005-07-07 Thread Sean Schofield
Dennis Byrne <[EMAIL PROTECTED]> wrote: > http://www.mail- > archive.com/users@myfaces.apache.org/msg05064.html > > I see. > > Original message > >Date: Thu, 7 Jul 2005 13:23:11 +1200 > >From: Adrian Merrall <[EMAIL PROTECTED]> > >Subject:

RE: tree2 expand all default

2005-07-07 Thread CONNER, BRENDAN \(SBCSI\)
I'd be interested in that. - Brendan -Original Message- From: Sean Schofield [mailto:[EMAIL PROTECTED] Sent: Thursday, July 07, 2005 12:22 PM To: MyFaces Discussion Subject: Re: tree2 expand all default Sometime this month we will have a tree2 "summit" on the myfaces-de

Re: Tree2 Expand all at start up

2005-11-02 Thread Sean Schofield
There are some issues with this. Search the archives for relevant discussions. You can also see the simple examples where one of the examples has a link that will expand all of the nodes for you. sean

Re: [tree2] expand folder by clickling on folder name

2007-07-19 Thread Michał 'Gandalf' Stawicki
In t

Re: [tree2] expand folder by clickling on folder name

2007-07-20 Thread Tomzi
Is there also a way to do this using javascript, without having to contact the server. Since +/- seems not to contact the server, but open it using javascript Michał 'Gandalf' Stawicki wrote: > > > >

Re: [tree2] expand folder by clickling on folder name

2007-07-23 Thread Michał 'Gandalf' Stawicki
I don't use JS approach, so can't help you. You should look look in .js scripts how +/- work. On 20/07/07, Tomzi <[EMAIL PROTECTED]> wrote: Tank you very much! But I'm looking for a javascript approch, since my tree is fairly big (300 nodes) And I don't want to have the whole tree rebuild. Is

RE: Tree2 expand Control problem when in a form

2005-07-25 Thread CONNER, BRENDAN \(SBCSI\)
Title: Message Hi Surrey,   Thanks for the insight.  Have you had any luck attaching an actionListener to the expandControl's commandLink?  We're trying to get an actionListener attached so we can do lazy fetches of the children on an as-needed basis.  However, we've only been able to attac

RE: Tree2 expand Control problem when in a form

2005-07-25 Thread Surrey Hughes
re out the expand control. Surrey. -Original Message- From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] Sent: Tue 26/07/2005 12:48 AM To: MyFaces Discussion Subject: RE: Tree2 expand Control problem when in a form Hi Surrey, Thanks for the insight. Have you had any luck attaching

Re: Tree2 expand Control problem when in a form

2005-07-26 Thread Sean Schofield
- > From: CONNER, BRENDAN (SBCSI) [mailto:[EMAIL PROTECTED] > Sent: Tue 26/07/2005 12:48 AM > To: MyFaces Discussion > Subject: RE: Tree2 expand Control problem when in a form > > Hi Surrey, > > Thanks for the insight. Have you had any luck attaching an > actionListener