[ 
http://issues.apache.org/jira/browse/TOMAHAWK-95?page=comments#action_12367976 
] 

Bill Schneider commented on TOMAHAWK-95:
----------------------------------------

Agree.  A simple TreeModel.getNodeById method would be very much appreciated. 
Doing some pretty convoluted coding right now as a workaround to get it.

> Need way to access Parental TreeNode When given NodeId from TreeModel (or 
> UITreeData) - referring to t:tree2 usage
> ------------------------------------------------------------------------------------------------------------------
>
>          Key: TOMAHAWK-95
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-95
>      Project: MyFaces Tomahawk
>         Type: Bug
>   Components: Tree2
>  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

Reply via email to