Tree component cannot be displayed in expanded mode -v3.0.M4

UI Components for JSF
Post Reply
haieshwar
Posts: 5
Joined: 31 Oct 2011, 15:21

03 Nov 2011, 13:20

Hi,

Looks like the attribute "expanded" for p:tree component is removed in 3.0.M4
Is there any alternative to display a tree in expanded mode by default ?...

Thanks,
Eshwar

User avatar
leventgny
Posts: 238
Joined: 24 May 2011, 16:49
Contact:

03 Nov 2011, 15:41

Expand behavior already migrated within tree model on org.primefaces.model.TreeNode.
PrimeFaces Team Member

haieshwar
Posts: 5
Joined: 31 Oct 2011, 15:21

03 Nov 2011, 16:16

Thanks for the promt reply.
Earlier., the expanded attribute was controlled through p:tree component's "expanded" attribute.

Setting treeNode.setExpanded(true); while constructing the tree solved the issue.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 56 guests