Problem in selecting the particular node of tree by using se


Hi,<?xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /><o:p></o:p>



<o:p> </o:p>



We are having one jsp page on which we are calling method linkTree (taskId) which in turn calling the method tree.selectItem (nodeId).<o:p></o:p>



The method linkTree (taskId) is called from a particular html page and it selects the particular node that passed as parameter in the function.<o:p></o:p>



But the selection of node is not happening instead we are using the method linkTree2 ().However I tried the method with an iframe using a source testing.html and from calling the method using parent.linkTree () but it also didn�t work for us. We are using professional edition.<o:p></o:p>



Can you please check that? We are sending the sample code for testing.<o:p></o:p>



The xml to be loaded is tree_amm.xml



//code for jsp






DHTMLX Docs Explorer










<body onload=“loadTree();” onresize=“correctSizes();”  style=“padding: 0; margin: 0;overflow:hidden;height:100%;”>
  <script  src="…/…/code/js/tree/dhtmlxcommon.js">
  <script  src="…/…/code/js/tree/dhtmlxtree.js">
  <script  src="…/…/code/js/menu/dhtmlxprotobar.js">
  <script  src="…/…/code/js/menu/dhtmlxmenubar.js">
  <script  src="…/…/code/js/menu/dhtmlxmenubar_cp.js">




 




 
  



   
 

  //the iframe used for testing 




   

       
       Next
       Previous
        Previous Chapter   &nbsp
       Next Chapter

   
   

   
              
   

    <iframe id=“sampleframe” name=“sampleframe” width=“100%” height=“100%” frameborder=“0”            src="…/…/images/background/jet_logo_bg5.gif" style=“border: 0px solid #cecece;”>
    
   






//code for testing.html








Click to Select Node





 

//xml file to be loaded<?xml version="1.0" encoding="UTF-8"?>

  ../../Manuals/amm
 
    SERVICING
   
      SERVICING
     
        SERVICING
       
          SERVICING - DESCRIPTION AND OPERATION
          Chapter12/AMM12-00-00-00.html
       
        Chapter12/AMM12-00-00-00.html
     
      Chapter12/AMM12-00-00-00.html
     
        HYDRAULIC POWER, EXTERNAL
       
          HYDRAULIC POWER, EXTERNAL - SERVICING
          Chapter12/AMM12-00-05-03.html
         
            Connect Ground Hydraulic Power - Hydraulic Systems No. 1 and No. 2
            Chapter12/AMM12-00-05-03.html#AMM12-00-05-490-801
         
         
            Remove Ground Hydraulic Power - Hydraulic Systems No. 1 and No. 2
            Chapter12/AMM12-00-05-03.html#AMM12-00-05-090-801
         
         
            Connect Ground Hydraulic Power - Hydraulic System No. 3
            Chapter12/AMM12-00-05-03.html#AMM12-00-05-490-802
         
         
            Remove Ground Hydraulic Power - Hydraulic System No. 3
            Chapter12/AMM12-00-05-03.html#AMM12-00-05-090-802
         
       
        Chapter12/AMM12-00-05-03.html
     
     
        HYDRAULIC POWER, AIRCRAFT
       
          HYDRAULIC POWER, AIRCRAFT - SERVICING
          Chapter12/AMM12-00-06-03.html
         
            Pressurize Hydraulic Systems No. 1 and No. 2
            Chapter12/AMM12-00-06-03.html#AMM12-00-06-863-801
         
         
            Release Hydraulic Pressure - Systems No. 1 and No. 2
            Chapter12/AMM12-00-06-03.html#AMM12-00-06-863-802
         
         
            Pressurize Hydraulic System No. 3
            Chapter12/AMM12-00-06-03.html#AMM12-00-06-863-803
         
         
            Release Hydraulic Pressure - System No. 3
            Chapter12/AMM12-00-06-03.html#AMM12-00-06-863-804
         
       
        Chapter12/AMM12-00-06-03.html
     
     
        ELECTRICAL POWER, EXTERNAL
       
          ELECTRICAL POWER, EXTERNAL - SERVICING
          Chapter12/AMM12-00-07-03.html
         
            Connect External AC Power
            Chapter12/AMM12-00-07-03.html#AMM12-00-07-861-801
         
         
            Remove External AC Power
            Chapter12/AMM12-00-07-03.html#AMM12-00-07-861-802
         
         
            Connect External DC Power
            Chapter12/AMM12-00-07-03.html#AMM12-00-07-861-803
         
         
            Remove External DC Power
            Chapter12/AMM12-00-07-03.html#AMM12-00-07-861-804
         
       
        Chapter12/AMM12-00-07-03.html
     
     
        GROUND AIR, EXTERIOR
       
          GROUND AIR, EXTERIOR - SERVICING
          Chapter12/AMM12-00-08-03.html
         
            Connect Ground Air Supply
            Chapter12/AMM12-00-08-03.html#AMM12-00-08-490-801
         
         
            Remove Ground Air Supply
            Chapter12/AMM12-00-08-03.html#AMM12-00-08-090-801
         
       
        Chapter12/AMM12-00-08-03.html
     
   
    Chapter12/AMM12-00-00-00.html
   
      REPLENISHING, SYSTEMS AND COMPONENTS
     
        REPLENISHING, SYSTEMS AND COMPONENTS
       
          REPLENISHING, SYSTEMS AND COMPONENTS - DESCRIPTION AND OPERATION
          Chapter12/AMM12-10-00-00.html
       
        Chapter12/AMM12-10-00-00.html
     
      Chapter12/AMM12-10-00-00.html
   
   
      REPLENISHING, FUEL SYSTEM
     
        FUEL SYSTEM REPLENISHING
       
          FUEL SYSTEM REPLENISHING - DESCRIPTION AND OPERATION
          Chapter12/AMM12-11-00-00.html
       
        Chapter12/AMM12-11-00-00.html
     
      Chapter12/AMM12-11-00-00.html
     
        REPLENISHING, FUEL TANK
       
          REPLENISHING, FUEL TANK - SERVICING
          Chapter12/AMM12-11-28-03.html
         
            Safety Precautions
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-910-801
         
         
            Automatic Pressure Refueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-801
         
         
            Automatic Pressure Hot-Refueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-806
         
         
            Manual Pressure Refueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-802
         
         
            Manual Pressure Hot-Refueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-807
         
         
            Gravity Refueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-803
         
         
            Suction Defueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-804
         
         
            Gravity Defueling
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-650-805
         
         
            Water Contamination Check
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-750-802
         
         
            Microbial Growth Test
            Chapter12/AMM12-11-28-03.html#AMM12-11-28-280-801
         
       
        Chapter12/AMM12-11-28-03.html
       
          FUEL - INSPECTION/CHECK
          Chapter12/AMM12-11-28-06.html
         
            Fuel Level Check with Magnetic Level Indicators (MLIs)
            Chapter12/AMM12-11-28-06.html#AMM12-11-28-750-804
         
         
            Fuel Check for Particle Contamination
            Chapter12/AMM12-11-28-06.html#AMM12-11-28-750-805
         
       
     
   
   
      REPLENISHING, AIR DRIVEN GENERATOR
     
        REPLENISHING, AIR DRIVEN GENERATOR (ADG)
       
          REPLENISHING, AIR DRIVEN GENERATOR (ADG) - SERVICING
          Chapter12/AMM12-12-24-03.html
         
            Level Check of the ADG Hydraulic Fluid
            Chapter12/AMM12-12-24-03.html#AMM12-12-24-610-801
         
         
            Servicing of the ADG Turbine Assembly
            Chapter12/AMM12-12-24-03.html#AMM12-12-24-611-801
         
         
            Servicing of the ADG Ejection/Restow Assembly
            Chapter12/AMM12-12-24-03.html#AMM12-12-24-611-802
         
         
            Servicing of the ADG Ejection/Restow Assembly
            Chapter12/AMM12-12-24-03.html#AMM12-12-24-611-803
         
       
        Chapter12/AMM12-12-24-03.html
     
      Chapter12/AMM12-12-24-03.html
     
        HYDRAULIC SYSTEM
       
          SERVICING - HYDRAULIC SYSTEMS - REPLENISHING
          Chapter12/AMM12-12-29-03.html
         
            Replenish the Reservoirs of the Hydraulic Systems
            Chapter12/AMM12-12-29-03.html#AMM12-12-29-611-803
         
         
            Replenish the Accumulators of the Hydraulic Systems
            Chapter12/AMM12-12-29-03.html#AMM12-12-29-614-802
         
         
            Drain the Overflow Containers of the Hydraulic Systems
            Chapter12/AMM12-12-29-03.html#AMM12-12-29-680-801
         
       
        Chapter12/AMM12-12-29-03.html
     
     
        REPLENISHING, LANDING GEAR
       
          REPLENISHING, LANDING GEAR - SERVICING
          Chapter12/AMM12-12-32-03.html
         
            Extension Check and Adjustment (with Nitrogen) of the MLG Shock Strut
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-220-801
         
         
            Servicing (Oil and Nitrogen) of the MLG Shock Strut -  Aircraft on the Ground
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-801
         
         
            Servicing (Oil and Nitrogen) of the MLG Shock Strut -  Aircraft on Jacks
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-802
         
         
            Extension Check and Adjustment (with Nitrogen) of the NLG Shock Strut
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-220-802
         
         
            Servicing (Oil and Nitrogen) of the NLG Shock Strut - Aircraft on the Ground
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-803
         
         
            Servicing (Oil and Nitrogen) of the NLG Shock Strut - Aircraft on Jacks
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-804
         
         
            Servicing (Oil and Nitrogen) of the MLG Shock Strut -  Aircraft on Jacks
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-807
         
         
            Servicing (Oil and Nitrogen) of the NLG Shock Strut -  Aircraft on Jacks
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-808
         
         
            Servicing of the Tires
            Chapter12/AMM12-12-32-03.html#AMM12-12-32-610-806
         
       
        Chapter12/AMM12-12-32-03.html
     
   
   
      REPLENISHING, OIL SYSTEM
     
        OIL SYSTEM REPLENISHING
       
          OIL SYSTEM REPLENISHING - DESCRIPTION AND OPERATION
          Chapter12/AMM12-13-00-00.html
       
        Chapter12/AMM12-13-00-00.html
     
      Chapter12/AMM12-13-00-00.html
     
        REPLENISHING, AIR CYCLE MACHINE (ACM)
       
          REPLENISHING, AIR CYCLE MACHINE (ACM) - SERVICING
          Chapter12/AMM12-13-21-03.html
         
            Servicing of the Oil Level of the ACM
            Chapter12/AMM12-13-21-03.html#AMM12-13-21-610-801
         
         
            Oil Change of the ACM
            Chapter12/AMM12-13-21-03.html#AMM12-13-21-612-801
         
       
        Chapter12/AMM12-13-21-03.html
     
     
        INTEGRATED DRIVE GENERATOR (IDG)
       
          INTEGRATED DRIVE GENERATOR (IDG) - SERVICING
          Chapter12/AMM12-13-24-03.html
         
            Servicing of the IDG
            Chapter12/AMM12-13-24-03.html#AMM12-13-24-610-801
         
       
        Chapter12/AMM12-13-24-03.html
     
     
        AUXILIARY POWER UNIT (APU)
       
          AUXILIARY POWER UNIT (APU) - SERVICING
          Chapter12/AMM12-13-49-03.html
         
            Servicing of the APU
            Chapter12/AMM12-13-49-03.html#AMM12-13-49-612-801
         
       
        Chapter12/AMM12-13-49-03.html
     
     
        REPLENISHING, ENGINE OIL SYSTEM
       
          REPLENISHING, ENGINE OIL SYSTEM - SERVICING
          Chapter12/AMM12-13-79-03.html
         
            Servicing of the Engine Oil System at the Engine
            Chapter12/AMM12-13-79-03.html#AMM12-13-79-612-801
         
         
            Servicing of the Engine Oil System With the Remote Replenishing System
            Chapter12/AMM12-13-79-03.html#AMM12-13-79-612-802
         
         
            Drain the Engine Oil System
            Chapter12/AMM12-13-79-03.html#AMM12-13-79-680-801
         
         
            Flushing of the Engine Oil System
            Chapter12/AMM12-13-79-03.html#AMM12-13-79-617-801
         
       
        Chapter12/AMM12-13-79-03.html
     
     
        AIR TURBINE STARTER
       
          AIR TURBINE STARTER - SERVICING
          Chapter12/AMM12-13-80-03.html
         
            Servicing of the Air Turbine Starter
            Chapter12/AMM12-13-80-03.html#AMM12-13-80-610-801
         
       
        Chapter12/AMM12-13-80-03.html
     
   
   
      CREW OXYGEN SYSTEM
     
        CREW OXYGEN SYSTEM
       
          CREW OXYGEN SYSTEM - SERVICING
          Chapter12/AMM12-16-35-03.html
         
            Crew Oxygen System - Servicing
            Chapter12/AMM12-16-35-03.html#AMM12-16-35-614-801
         
       
        Chapter12/AMM12-16-35-03.html
     
      Chapter12/AMM12-16-35-03.html
   
   
      REPLENISHING, WATER/WASTE
     
        WATER/WASTE REPLENISHING
       
          WATER/WASTE REPLENISHING - DESCRIPTION AND OPERATION
          Chapter12/AMM12-18-00-00.html
       
        Chapter12/AMM12-18-00-00.html
     
      Chapter12/AMM12-18-00-00.html
     
        WATER/WASTE SYSTEM
       
          WATER/WASTE SYSTEM - SERVICING
          Chapter12/AMM12-18-38-03-02.html
         
            Servicing of the Galley Water System
            Chapter12/AMM12-18-38-03-02.html#AMM12-18-38-600-803
         
         
            Servicing of the Lavatory Water System
            Chapter12/AMM12-18-38-03-02.html#AMM12-18-38-600-804
         
         
            Servicing of the Waste Water System
            Chapter12/AMM12-18-38-03-02.html#AMM12-18-38-600-806
         
         
            Chemical cleaning of the Galley Drain Line
            Chapter12/AMM12-18-38-03-02.html#AMM12-18-38-110-801
         
       
        Chapter12/AMM12-18-38-03-02.html
       
          WATER/WASTE SYSTEM - INSPECTION/CHECK
          Chapter12/AMM12-18-38-06-02.html
         
            Sanitization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-670-803
         
         
            Sanitization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-670-804
         
         
            Sanitization of the Lavatory Potable Water Distribution System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-600-805
         
         
            Sanitization of the Lavatory Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-670-805
         
         
            Demineralization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-801
         
         
            Demineralization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-803
         
         
            Demineralization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-804
         
         
            Demineralization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-805
         
         
            Demineralization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-806
         
         
            Demineralization of the Galley Potable Water System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-807
         
         
            Demineralization of the Lavatory Potable Water Distribution System
            Chapter12/AMM12-18-38-06-02.html#AMM12-18-38-610-802
         
       
     
   
   
      SCHEDULED SERVICING
     
        SCHEDULED SERVICING
       
          SCHEDULED SERVICING - DES

While item with such ID exists - ther must not be any problem to select item in tree. It doesn’t really matter is command was called from the same frame or from one of sub-frames.
Beware that selectItem command just selects item and not adjusting scroll state of the tree control to move selected element in active view. ( you may need to use focusItem in addition )