You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bill Schneider (JIRA)" <de...@myfaces.apache.org> on 2006/03/07 15:14:39 UTC
[jira] Created: (TOMAHAWK-179) tree2 should support
expandRoot="true" like tree
tree2 should support expandRoot="true" like tree
------------------------------------------------
Key: TOMAHAWK-179
URL: http://issues.apache.org/jira/browse/TOMAHAWK-179
Project: MyFaces Tomahawk
Type: New Feature
Components: Tree2
Reporter: Bill Schneider
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Resolved: (TOMAHAWK-179) tree2 should support
expandRoot="true" like tree
Posted by "sean schofield (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-179?page=all ]
sean schofield resolved TOMAHAWK-179:
-------------------------------------
Resolution: Invalid
There is already an expandAll method in UITreeData. There seems to be a problem with it at the moment but that will be resolved shortly. You need to use Shale view controller or a command link or some other strategy to call expandAll() once the tree is built.
> tree2 should support expandRoot="true" like tree
> ------------------------------------------------
>
> Key: TOMAHAWK-179
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-179
> Project: MyFaces Tomahawk
> Type: New Feature
> Components: Tree2
> Reporter: Bill Schneider
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (TOMAHAWK-179) tree2 should support
expandRoot="true" like tree
Posted by "Bill Schneider (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/TOMAHAWK-179?page=comments#action_12402433 ]
Bill Schneider commented on TOMAHAWK-179:
-----------------------------------------
Followup:
I was able to get the same behavior pretty trivially by touching TreeState directly, so makes sense to close this.
I did something like
final String rootId = "0";
treeState = tree.getTreeState();
if (!treeState.isNodeExpanded(rootId)) {
treeState.toggleExpanded(rootId);
}
> tree2 should support expandRoot="true" like tree
> ------------------------------------------------
>
> Key: TOMAHAWK-179
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-179
> Project: MyFaces Tomahawk
> Type: New Feature
> Components: Tree2
> Reporter: Bill Schneider
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira