Hi,
I'd like to find out how to have the Tree2 component's nodes expanded on
startup. expandAll() doesn't seem to work. Does anyone have any knowledge of
this?
Thanks,
Simeon Leyzerzon
==
Please access the attached
Subject
Tree2 expand
Please respond to
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
2/15/2006 04:43
PMSubject
RE: Tree2 expand
Pl
Hi,
I’m using a tree2 component. My problem seems to have
to do with tree state. The tree works fine the first time I render it, but I
have a “home” button that starts the user input over again and
builds a new tree. When the new tree is rendered the nodes that were expanded
in the e
I would like to be able to expand a node upon clicking on commandLink
in the node.
The tree is bound to HtmlTree in backing bean, and the commandLink
have actionListener that does:
String [] path = treeBinding.getPathInformation(selectedNode.getIdentifier());
//treeBindin
Hi,
I use tree2 with client side state saving option in the web.xml.
However, everytime, I click on the nodes, all the nodes collapse back to
closed state. I would like all the nodes to be expanded at all times.
How can I achieve it?
Thanks
Balaji Saranathan
Wipro Technologies
---
How to expand tree in MyFaces 1.0.9?
I've been using tree2 for a while. So far only the
myfaces 1.0.9 works for my program. Other implementations have this and that
problems, and not quite stable.
I want to use the expand function of the tree2. How
to implement it in myfaces 1.0.9? Which
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
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
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
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(
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
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
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
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
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:
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
For tree2, I like to expand a node (client side toggle) when clicking its
description. How to do that? Thanks!
Dave
-
Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now.
Hi,
I want my tree with
all the nodes to be expanded at startup. Is there a way to achieve this just by
tree2 configuration or should I explicitly handle it myself?
Thanks
Bala
Confidentiality Notice
The information contained in this electronic message and any attachments to this mess
unt = 0; kount < children.size(); kount++) {
expandEverything("0",
kount);
}
……..
}
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 07, 2006
5:56 AM
To: [EMAIL PROTECTED]
Subject: Your Question "tree2
expand myfaces 1.0.9"
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
I'd like to have to open a folder not only by clicking on +/- but also when I
click on the folders name - Is there a way to accomplish that with tree2?
--
View this message in context:
http://www.nabble.com/-tree2--expand-folder-by-clickling-on-folder-name-tf4110244.html#a11687822
Sent fro
Title: Tree2 expand Control problem when in a form
Hi,
I've found the x:tree2 tag creates an HtmlTree that contains a property called expandControl. The expand control is set as a new commandLink. It is rendered using an image of a plus or a minus and expands or collapses the node.
7;d like to have to open a folder not only by clicking on +/- but also when I
click on the folders name - Is there a way to accomplish that with tree2?
--
View this message in context:
http://www.nabble.com/-tree2--expand-folder-by-clickling-on-folder-name-tf4110244.html#a11687822
Sent from
PROTECTED]> wrote:
>>
>> I'd like to have to open a folder not only by clicking on +/- but also
>> when I
>> click on the folders name - Is there a way to accomplish that with tree2?
>> --
>> View this message in context:
>> http://www.nabble.com/-t
ding.getNodeId();
> String [] path =
treeBinding.getPathInformation(id);
> treeBinding.expandPath(path);
>
>
>
> On 19/07/07, Tomzi <[EMAIL PROTECTED]> wrote:
>>
>> I'd like to have to open a
ly been able to attach an actionListener to the commandLink
that we specify inside the tree (not to the expandControl
itself).
-
Brendan
-Original Message-From: Surrey Hughes
[mailto:[EMAIL PROTECTED] Sent: Monday, July 25, 2005 4:20
AMTo: users@myfaces.apache.orgSubjec
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
-
> 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
30 matches
Mail list logo