You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Robert Stark (JIRA)" <de...@myfaces.apache.org> on 2006/01/19 22:17:43 UTC
[jira] Commented: (MYFACES-1044) Need way to access Parental
TreeNode When given NodeId from TreeModel (or UITreeData) - referring to
t:tree2 usage
[ http://issues.apache.org/jira/browse/MYFACES-1044?page=comments#action_12363303 ]
Robert Stark commented on MYFACES-1044:
---------------------------------------
Is there a reason that the TreeModelBase.getNodeById(String nodeId) was defined as private? Seems to me that if this method was made public it would solve my problem. I'm curious if there was a reason it was made private?
~Rob.
> Need way to access Parental TreeNode When given NodeId from TreeModel (or UITreeData) - referring to t:tree2 usage
> ------------------------------------------------------------------------------------------------------------------
>
> Key: MYFACES-1044
> URL: http://issues.apache.org/jira/browse/MYFACES-1044
> Project: MyFaces
> Type: Wish
> Components: Tomahawk
> Versions: 1.1.1
> Environment: Currently doing development in Windows XP using IBM ThinkPad hardware. More importantly I am using the Tomcat 4.1.31 app server with MyFaces 1.1.1 - JDK 1.4.2_10, JSP 1.1 (I think)
> Reporter: Robert Stark
>
> I am using the t:tree2 control to display a deep tree that includes checkboxes at each node.
> I need to be able to deselect the Parents checkbox when a Child's checkbox is deselected.
> Currently neither the TreeModelBase nor the UITreeData provide a way to access a TreeNode if you know the NodeId. The only node available is the current node.
> - Is there a way to select a particular node in the tree if you have access to the TreeModel and the specific nodeId you're interested in?
> Specifically I don't want to create a looping construct to look for it as the tree in question is fairly deep.
> - Is there a way to access some map to find the desired TreeNode?
> BTW- when do you see an AJAX tree control being available?
--
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