myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stark (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (MYFACES-1044) Need way to access Parental TreeNode When given NodeId from TreeModel (or UITreeData) - referring to t:tree2 usage
Date Thu, 19 Jan 2006 20:43:42 GMT
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


Mime
View raw message