Tree2 node selection

2006-02-27 Thread Enrico Nicola Mirco
Hi All, I have a problem with tree2 node selection: Is it possible to select a tree2 node programmatically? My JSP has on the left-side the "toolbar" with the actions that can I perform to files displayed on a tree2 on the page middle-side. When I select a file on the tree2, the file

tree2 node selection question

2006-01-11 Thread rahmoune patrick
Hello,   Sorry for a certainly one more stupid tree2 question   I'm using an expanded tree2 :) and a dataTable on the same page and I have a question about node selection. The tree has a binding on the managed bean.   I have attached a commandLink with an actionListener on the tree node. Thi

Tree2 node selection [again]

2006-02-01 Thread R. Müller
Hi group, in my example i have tree2-component with selectable nodes through nodeToggler-attribute. varNodeToggler="t" binding="#{foo.uidata}" > [...] So far this works well. From another controll (commandButton) i want to edit the current selected node, so have to access the selected node.

more about tree2 node selection

2005-03-31 Thread Rob Decker
I'm reading earlier posts on the selection listener and trying figure out what exactly is happening with it. I'm looking at This what I see is happening: When someone clicks the

RE: Tree2 node selection [again]

2006-02-01 Thread rahmoune patrick
Hi,   Here is how I managed this issue. If I remember, it may has been already discussed here.   Assuming you have a binding of your tree2 component in your managed bean,   you can add an actionListener to the commandLink for each facet of your tree   something like  ...   in the s

Re: more about tree2 node selection

2005-03-31 Thread Rob Decker
Well, nesting jstl's tags with jsf is a no-no. Anyone know another way to accomplish this? -- Rob @objectsource.org -- Original Message --- From: "Rob Decker" <[EMAIL PROTECTED]> To: "my-faces-user" Sent: Thu, 31 Mar 2005 17:40:05 -0500

Re: more about tree2 node selection

2005-04-01 Thread Rob Decker
To answer my own question: -- Rob @objectsource.org > I'm reading earlier posts on the selection listener and trying figure out > what > exactly > is happening with it. I'm looking at > > > > acti

Re: more about tree2 node selection

2005-04-02 Thread Sean Schofield
Nice! I like that approach. At some point I think I will update the simple example to show how that can be done. sean On Apr 1, 2005 11:41 AM, Rob Decker <[EMAIL PROTECTED]> wrote: > To answer my own question: > > > >styleClass="#{t.nodeSelected ? 'documentSele

Re: more about tree2 node selection

2005-04-03 Thread Hendrik Neumann
would it be possible to use the setNodeSelected-Event (to mark the currently selected node) AND a normal action-method in one command link? Something like Because I want to use the nodes for navigation (action-method) and I also would like to mark the currently selected node. Are both thing

Re: more about tree2 node selection

2005-04-03 Thread Rob Decker
You can use an action and an actionListener in the same tag. You can even nest actionListener's in the tag and have multiple ones called. - Original Message - From: "Hendrik Neumann" <[EMAIL PROTECTED]> To: Sent: Sunday, April 03, 2005 4:24 AM Subject: Re:

Re: more about tree2 node selection

2005-04-03 Thread Hendrik Neumann
Using an action and an action-listener in one commandLink is not working in my jsf-site: Using both just calls the action-method and not the action-listener. The styleClass="#{t.nodeSelected ? 'documentSelected' : 'document'}" stuff just works if I

Re: more about tree2 node selection

2005-04-03 Thread Rob Decker
ot; Sent: Sunday, April 03, 2005 11:05 AM Subject: Re: more about tree2 node selection > Using an action and an action-listener in one commandLink is not working in my > jsf-site: > > styleClass="#{t.nodeSelected ? 'documentSelected'

Re: more about tree2 node selection

2005-04-03 Thread Sean Schofield
bug. > > - Original Message - > From: "Hendrik Neumann" <[EMAIL PROTECTED]> > To: "MyFaces Discussion" > Sent: Sunday, April 03, 2005 11:05 AM > Subject: Re: more about tree2 node selection > > > Using an action and an action-listener