Tree and Tree Node Components - Threadinar7

Hi All,
This is the seventh in the "Threadinar" series , please see Threadinar6 at
http://forum.sun.com/jive/thread.jspa?threadID=100601 for details
In this Threadinar we will focus on the
"Tree" and "Tree Node" Components
Let us begin our discussion with the Tree Component.
Tree Component
You can drag the Tree component from the Palette's Basic category to the Visual Designer to create a hierarchical tree structure with nodes that can be expanded and collapsed, like the nodes in the Outline window. When the user clicks a node, the row will be highlighted. A tree is often used as a navigation mechanism.
A tree contains Tree Node components, which act like hyperlinks. You can use a Tree Node to navigate to another page by setting its url property. You can also use a Tree Node to submit the current page. If the the Tree Node's action property is bound to an action event handler, selecting the node automatically submits the page. If the Tree Node's actionListener property is bound to an action listener, opening or closing the node automatically submits the page. You set Tree Node properties in the Tree Node Component Properties window.
* If you use this component to navigate between pages of a portlet, do not use the url property to link to a page. Instead, use the Navigation editor to set up your links to pages.
* Events related to tree node selection do not work correctly in portlets because the component uses cookies to pass the selected node id back and forth, and cookies are not correctly handled by the portlet container. You cannot handle tree node selection events in portlet projects.
Initially when you drop a tree on a page, it has one root node labeled Tree and one subnode labeled Tree Node 1. You can add more nodes by dragging them to the tree and dropping them either on the root node to create top level nodes or on existing nodes to create subnodes of those nodes. You can also right-click the Tree or any Tree Node and choose Add Tree Node to add a subnode to the node.
Additionally, you can work with the component in the Outline window, where the component and its child components are available as nodes. You can move a node from level to level easily in the Outline window, so you might want to work there if you are rearranging nodes. You can also add and delete tree nodes in the Outline window, just as in the Visual Designer.
The Tree component has properties that, among other things, enable you change the root node's displayed text, change the appearance of the text, specify if expanding or collapsing a node requires a trip to the server, and specify whether node selection should automatically open or close the tree. To set the Tree's properties, select the Tree component in your page and use the Tree Component Properties window.
The following Tutorial ("Using Tree Component") is very useful to learn using Tree components
http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/sitemaptree.html
See Also the Technical Article - "Working with the Tree Component and Tree Node Actions"
http://developers.sun.com/prodtech/javatools/jscreator/reference/techart/2/tree_component.html
Tree Node Component
You can drag the Tree Node component from the Palette's Basic category to a Tree component or another tree node in the Visual Designer to create a node in a hierarchical tree structure, similar to the tree you see in the Outline window.
The tree node is created as a subnode of the node on which you drop it. If you drop the node on the tree component itself, a new node is created as a child of the root node. You can see the hierarchical structure clearly in the Outline window, where you can also easily move nodes around and reparent them.
You can also add a tree node either to a Tree component or to a Tree Node component by right-clicking the component and choosing Add Tree Node.
A Tree Node component by default is a container for an image and can be used to navigate to another page, submit the current page, or simply open or close the node if the node has child nodes.
* If you select the Tree Node component's node Tree Node icon in the Outline window, you can edit its properties in the Tree Node Properties window. You can set things like whether or not the Tree Node is expanded by default, the tooltip for the Tree Node, the label for the tree node, and the Tree Node's identifier in your web application.
* You can use a Tree Node to navigate to another page by setting its url property. You can also use a Tree Node to submit the current page. If the the Tree Node's action property is bound to an action event handler, selecting the node automatically submits the page. If the Tree Node's actionListener property is bound to an action listener, opening or closing the node automatically submits the page.
- Note: If you use this component to navigate between pages of a portlet, do not use the url property to link to a page. Instead, use the Navigation editor to set up your links to pages. In addition, events related to tree node selection do not work correctly in portlets because the component uses cookies to pass the selected node id back and forth, and cookies are not correctly handled by the portlet container. You cannot handle tree node selection events in portlet projects.
* If you select the image in the Tree Node, you can see that its icon property is set to TREE_DOCUMENT. If you right-click the image on the page and choose Set Image, you can either change the icon to another one or choose your own image in the Image Customizer dialog box. For more information on working with an image in a tree node, see Image component.
- Note: The image used in a tree node works best if it is 16x16 or smaller. Larger images can work, but might appear overlapped in the Visual Designer. You can right-click the component and choose Preview in Browser feature to check the appearance of the images.
Please share your comments, experiences, additional information, questions, feedback, etc. on these components.
------------------------------------------------------------------------------- --------------------

One challenge I had experience was to make the tree
always expanded on all pages (I placed my tree menu
in a page fragment so I can just import it in my
pages).Did you solve this problem. It would be interesting to know what you did.
To expand a node you call setExpanded on the node. Here is some code from a tutorial that a coworker of mine is working on.
In the prerender method:
       Integer expandedPersonId = getRequestBean1().getPersonId();
         // If expandedPersonId is null, then we are not coming back
        // from the Trip page. In that case we do not want any trip
        // nodes to be pre-selected (highlighted) due to browser cookies.
        if (expandedPersonId==null) {
            try {
                HttpServletRequest req =(HttpServletRequest)
                getExternalContext().getRequest();
                Cookie[] cookies = req.getCookies();
                //Check if cookies are set
                if (cookies != null) {
                    for (int loop =0; loop < cookies.length; loop++) {
                        if (cookies[loop].getName().equals
                                ("form1:displayTree-hi")) {
                            cookies[loop].setMaxAge(0);
                            HttpServletResponse response =(HttpServletResponse)
                            getExternalContext().getResponse();
                            response.addCookie(cookies[loop]);
            } catch (Exception e) {
                error("Failure trying to clear highlighting of selected node:" +
                        e.getMessage());
        }                  ... (in a loop for tree nodes)...
                  personNode.setExpanded(newPersonId.equals
                                (expandedPersonId));In the action method for the nodes:
       // Get the client id of the currently selected tree node
        String clientId = displayTree.getCookieSelectedTreeNode();
        // Extract component id from the client id
        String nodeId = clientId.substring(clientId.lastIndexOf(":")+1);
        // Find the tree node component with the given id
        TreeNode selectedNode =
                (TreeNode) this.getForm1().findComponentById(nodeId);
        try {
            // Node's id property is composed of "trip" plus the trip id
            // Extract the trip id and save it for the next page
            Integer tripId = Integer.valueOf(selectedNode.getId().substring(4));
            getRequestBean1().setTripId(tripId);
        } catch (Exception e) {
            error("Can't convert node id to Integer: " +
                    selectedNode.getId().substring(4));
            return null;
It would also be great if I can set the tree
readonly where the user cannot toggle the expand
property of the tree (hope this can be added to the
tree functionality).

Similar Messages

  • Tree and Tree Table

    Hi,
    I need to build tree structure where all nodes in one table, so examples of master-detail tree are not helpful. I'm using celko model tree in database.
    Where could I find some examples or tutorials?
    Thanks

    Using the HR schema's Employees table (where each employee can have a manager - who himself is an employee).
    Create a default EO and VO based on the table - a cyclic relationship will be created based on the foreign key between managerid and employeeid.
    Now in the data control drag the employees onto the page and drop as tree.
    In the Edit Tree Binding dialog click the green + sign and choose Employees view again.
    Choose which columns to display and click ok.
    That's it run the page and the tree will work.

  • Is it possible to put two different colors in tree parent node background and child nodes background?

    Is it possible to put two different colors in tree parent
    node background and child nodes background?
    Any help will be very helpful.
    Thanks

    Hi PanosE,
    Yes, you can set up another Standard Edition Server in child domain and then deploy pool pairing.
    You need to deploy a new Front End Pool for the new Standard Edition Server.
    A similar case for your reference.
    https://social.technet.microsoft.com/Forums/office/en-US/eca4299c-8edb-481e-b328-c7deba2a79ba/lync-2013-standard-edition-lync-fe-pools-in-multiple-domain-single-forest-senario?forum=lyncdeploy
    Best regards,
    Eric
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Htmlb:tree differentiate between nodeclick and tree node expander click

    Hi,
    how can i differentiate between nodeclick and tree node expander (to get to its children) click in my event processing in htmlb:tree element.
    <u><b>What i am trying to achieve?</b></u>
    Onload just load root node and its immediate children.
    On node expand get the children of the current node and modify htmlb:tree table2 with additional node inofs.
    on node click  call some client function.
    But my issue is that i am not able to differentiate between node expander click and node click in my event handling. Any help on this is appreciated.
    (I am not using MVC)
    Thanks in advance.
    Regards
    Raja
    Message was edited by: Durairaj Athavan Raja

    After reading your weblog I think I understand better. I did some testing with my example.  I am using the toggle = "true", so that the page returns to the server each time an expander is selected.
    <htmlb:tree id          = "myTree1"
                  height      = "75%"
                  toggle      = "true"
                  title       = "<b><otr>EQI Reporting Tree</otr></b>"
                  width       = "90%"
                  onTreeClick = "myTreeClick"
                  table       = "<%= application->selection_model->itview                             %>" >
      </htmlb:tree>
    However I have not added any coding in my event handler to respond to the expander event.  I only respond to myTreeClick (which loads some data for the given selection).  The BSP tree element itself must be doing the hard work for me. 
      if event_id cs 'tr_myTree1'.
        data: tree_event type ref to cl_htmlb_event_tree.
        tree_event ?= htmlb_event.
        if tree_event->server_event = 'myTreeClick'.
          clear appl->message1.
          appl->selection_model->get_chart_data( appl = appl
                                                 node = tree_event->node ).
        endif.
      endif.
    I pass my entire tree defintion to the element.  It appears that it only sends visible nodes to be rendered. When the expander is selected, I don't have to do anything, the tree re-renders with only the newly visible rows. 
    I tested and turned off the toggle (toggle = "false") and my page took forever to load because it was sending all the nodes to the frontend on the first load.

  • Programmatic, using bean add Parent and child nodes in af:tree dynamically

    Hi All,
    i have to add parent and child nodes dynamically in tree .
    Example :
    i have created a tree like below.On click of button i will get value A ,from pl/sql function i will A1 and A 2 values.which i have to show in pop as tree.
    A
    |-----A1
    |-----A2
    If user clicks on A2.I have to catch A2 value and pass to pl/sql function which gives A2.01 and A2.02 values.
    A
    |-----A1
    |-----A2
    |------A2.01
    |------A2.02.
    A, A1 ,A2,A2.01 ...........values comes from pl/sql funchtion .
    thanks in advance ......... any suggestion will greatly helps

    no use ......................

  • Don't see parent and child nodes in tree control with switcher, enclose xml

    Hi, i.m a novice for jdev 11.1.1.2,
    i need to create a tree menu, but when i put the switcher + n°2 face whith link object, inside the tree and
    run my application i don't see the node, but i see the bookmarks that collapease and expand Why ????
    Thanks for your help
    Gio
    enclose xml for better clarification:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:panelStretchLayout id="psl1">
    <f:facet name="center">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl4">
    <af:panelSplitter id="ps1" splitterPosition="156"
    inlineStyle="width:534px;">
    <f:facet name="first">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl3">
    <af:panelHeader text="panelHeader 1" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:tree value="#{bindings.DepartmentsViewTree.treeModel}"
    selectionListener="#{bindings.DepartmentsViewTree.treeModel.makeCurrent}"
    rowSelection="single" id="t1" var="node">
    <f:facet name="nodeStamp">
    <af:switcher id="s1"
    facetName="#{node.hierType.viewDefName}">
    <f:facet name="DepartmentsView">
    <af:panelGroupLayout id="pgl1">
    <af:commandLink text="#{node}"
    action="#{MainPageBean.departmentRegionLayout}"
    id="cl1">
    <af:setActionListener from="#{node.DepartmentId}"
    to="#{pageFlowScope.TreeKey}"/>
    </af:commandLink>
    <af:commandLink text=" (Edit)"
    action="createEdit" id="cl2">
    <af:setActionListener from="#{node.DepartmentId}"
    to="#{pageFlowScope.DeptTreeKey}"/>
    </af:commandLink>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="EmployeesView">
    <af:commandLink text="#{node}"
    action="#{MainPageBean.employeeRegionLayout}"
    id="cl3">
    <af:setActionListener from="#{node.EmployeeId}"
    to="#{pageFlowScope.TreeKey}"/>
    </af:commandLink>
    </f:facet>
    </af:switcher>
    </f:facet>
    </af:tree>
    </af:panelHeader>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout layout="scroll"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    id="pgl2">
    <af:region value="#{bindings.dynamicRegion1.regionModel}"
    id="dynam1" partialTriggers="::t1"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </af:panelGroupLayout>
    <!-- id="af_one_column_stretched" -->
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Edited by: user595664 on 5-dic-2009 2.54
    Edited by: user595664 on 5-dic-2009 2.57

    Hi,
    you need to provide the full naming for the facet names. So instead of DepartmentsView you provide mypackage.DepartmentsView where you replace mypackage with the package structure of the the ViewObject
    Frank

  • Adding Node and Deleting Node in Tree

    Hi,
    I am building a tree dynamically.
    I have a class which has set of properties.I am constructing as follows.
    public class TreeNode
            public function TreeNode()
         public var friendlyName:String;
         public var icon:Class;
         [Bindable]
         public var children : Array;
         public var logicalName:String;
         public var neType:String;
         [Bindable]
         public var arrayColl:ArrayCollection = new ArrayCollection();
         public function addChild(node:TopoTreeNode):void
             if (this.children == null){
                 this.children = new Array();
             children.push(node);
             arrayColl.source = children;    
         public function clearChild():void
             children = null;
         public function removeChild(arrayIndex:int):void
             if(children != null)
             children.splice(arrayIndex,1);
             arrayColl.source = children;
    Then I set the dataProvider as follows where treeModel is object that is injected.
    <mx:Tree id="tree"
                 dataProvider="{treeModel.rootNode.arrayColl}"
                 labelFunction="{treeModel.getDisplayName}"
                 iconFunction="{treeModel.setIcon}"
                 width="100%"
                 height="95%"
                 rowCount="6"
                 showScrollTips="true" showDataTips="true" dataTipFunction="{treeModel.getDisplayName}" allowMultipleSelection="true" click="treeModel.displayItemInWorkingView(tree.selectedItems);"/>
    TreeModel has the following variables
            [Bindable]
            public var rootNode:TopoTreeNode = new TopoTreeNode(); // this is the rootNode.
            [Bindable]
            public var rootChild:TopoTreeNode = new TopoTreeNode(); // this is the child of the root node..
    While constructing the tree, it is working fine.
    But after this when i try to add a node (ie adding a node as child to rootNode), it is getting added to my rootNode object but it is not getting displayed
    When i click on the items in the tree or click on the drop menu in the tree it is getting displayed.
    But i want it to be shown in the tree without clicking anything.
    Could anyone help on this?
    Regards
    Srini

    Off the top of my head, you need to call a refresh of some sort, or executeBindings()... something like that.
    You will also need to start at the root node and expand any parent branches down to the new leaf.
    If you are still having trouble after looking into that, I can try and dig through some of old code and find my solution.

  • How to next consecutive node in binary tree and insert in sql server

    i need to find next node in this tree and insert in sql server ...
    dilip kumar

    It depends you data structure. How do you store this tree structure in the database? What's the database design? BTW, you can see this article which include a related sample :
    Custom Sort in Acyclic Digraph
    T-SQL e-book by TechNet Wiki Community
    My Blog
    My Articles

  • How to drag and drop nodes in Tree?

    Hi,
    I want to drag and drop nodes in the tree. For example a tree represents the hierarchy of employees reporting in an organization by using tree.I want to change the reporting an employee visible in the tree by simple drag and drop operation in place of going to another form for updating each employee record indiviually.
    Regards
    Piyush

    Ron,
    I looked into implementing drag / drop in one of the apex trees I created today and ran across this thread. Thank you Ron for the links, it helped a lot.
    I added the code below to my page's "Execute when Page Loads" (tree region id is "tree_reg") and the tree is now drag/drop enabled.
    It did break the [+] icon from collapsing the tree though ... but the apex.widget.tree buttons still work
    var regTree = apex.jQuery("#tree_reg").find("div.tree");
    regTree.tree({ 
    callback : {
    onmove: function(NODE, TREE_OBJ, REF_NODE, TYPE)
    {alert(NODE.id+"   "+TREE_OBJ.id+"   "+ REF_NODE);}
    });Next, I plan on creating a AJAX call using NODE.id, TREE_OBJ.id, and REF_NODE
    V/R
    Ricker

  • Macking button to expand the tree and collapse tree and another to add node

    macking button to expand the tree and collapse tree and another to add node and saving the changes in the database ( this is problem)
    and finally delete node from database
    so what is proper code for those buttons
    thanks my mail is :
    [email protected]

    Hello,
    Use the ftree package's functions
    code to expand all nodes:
    PROCEDURE explose_tree IS
    node    ftree.node;
    htree   ITEM;
    state   varchar2(30);
    BEGIN
       -- search the tree ID --
       htree := Find_Item('BL_TREE.TREE_1');
        -- search the root --
           node  := Ftree.Find_Tree_Node(htree, '');
        -- expand all nodes --
       WHILE NOT Ftree.ID_NULL(node) LOOP
          state := Ftree.Get_Tree_Node_Property(htree, node, Ftree.NODE_STATE);
          IF state = Ftree.COLLAPSED_NODE THEN
            Ftree.Set_Tree_Node_Property(htree, node, Ftree.NODE_STATE, Ftree.EXPANDED_NODE);
          END IF;
          node := Ftree.Find_Tree_Node(htree, '', ftree.find_NEXT,Ftree.NODE_LABEL,'', node);
       END LOOP;
    END;and to collapse all nodes:
    PROCEDURE Implose_tree IS
       node   ftree.node;
       htree  ITEM;
       state  varchar2(30);
    BEGIN
       -- search the root ID --
       htree := Find_Item('BL_TREE.TREE_1'); 
       -- search the root --
       node  := Ftree.Find_Tree_Node(htree, '');  
       -- Collapse all nodes --
       WHILE NOT ftree.ID_NULL(node) LOOP
         state := Ftree.Get_Tree_Node_Property(htree, node, Ftree.NODE_STATE);
         IF state = Ftree.EXPANDED_NODE THEN
          Ftree.Set_Tree_Node_Property(htree, node, Ftree.NODE_STATE, Ftree.COLLAPSED_NODE);
         END IF;
        node := Ftree.Find_Tree_Node(htree, '', Ftree.FIND_NEXT,Ftree.NODE_LABEL, '', node);
       END LOOP;
    END; Francois

  • [svn:fx-trunk] 10209: reverting commit 10198, which affected animation for some halo components like Tree and ComboBox.

    Revision: 10209
    Author:   [email protected]
    Date:     2009-09-12 17:36:41 -0700 (Sat, 12 Sep 2009)
    Log Message:
    reverting commit 10198, which affected animation for some halo components like Tree and ComboBox. Should wait for either the real fix (involves RPC changes) or at least a fix that limits the scope to only Flex4 effects instead of all uses of UIComponent.suspendBackgroundProcessing.
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as

  • Find highest  order and last node in a tree..

    the problem is:-
    suposse A is parent node and order 1
    A's child is B and order 2
    B's child is C and order 3
    B's child is D and order 4
    D child is E order 5
    E child is F order 6
    A's child is G and order 7
    how can i find the highest order is 7 and last node is F order 6 of above thee?
    order is from which tree is sorted assecnding.
    Edited by: user1157479 on Aug 24, 2009 10:57 PM

    with t as (
    select '' par,'A' chi from dual union all
    select 'A' par,'B' chi from dual union all
    select 'B' par,'C' chi from dual union all
    select 'C' par,'D' chi from dual union all
    select 'D' par,'E' chi from dual union all
    select 'E' par,'F' chi from dual union all
    select 'A' par,'G' chi from dual )
    select maxlvl,chi,maxorder from (select p.*,max(lvl) over () maxlvl,max(rnum) over () maxorder from (select t.*,level lvl,rownum rnum from t connect by prior chi=par start with chi='A') p)  where rnum=maxlvlRavi Kumar
    Edited by: ravikumar.sv on Aug 25, 2009 11:45 AM

  • Hiding Page 0 Items and Tree Node Links

    I have two issues I'm trying to work out:
    1) I have created a tree on page 0 that I want to appear on all of my REPORT pages, so the user can filter the reports regardless of which page they're on. The problem is that the tree is also appearing on the login page and the Home page. Is there any way to hide the tree on the login and home pages but have it appear on all other pages? I'm trying to avoid having to create the tree on every single report page.
    2) I need the tree to work like this: the user clicks any node in the tree, and all reports (on multiple pages) are filtered based on the node selected. So I don't actually want the nodes to be links to a report, I just want the reports to be filtered based on the node value selected. Then I'll have tabs to navigate between the different reports. Is this possible?
    Thanks.

    I dunno if you correct it, but there was small mistake in the JS code - a closing bracket was missing
    $s('P0_TREE_NODE', $(this.triggeringElement).parents('li:first').attr('id'));
    it looks like the node value IS being stored in the session stateI hope you checked for items in page 0 (it should then list down page 0 items including P0_TREE_NODE) when you searched for session state(it defaults to whichever page is run currently)
    If these two are working fine, it has to be some page process/computation/item source/item default that modifies the item value when you move between pages.
    To find this: Turn debug on, reload the page , click on a tree node, then redirect to some other page and then check the debug report and see if the page 0 item: P0_TREE_NODE is being set/reset/modified elsewhere.

  • WebGalileo tree integration with adf components

    Hi all:
    I have a project using adf faces, and in one page i am trying to use WebGalileo tree component
    The thing is that i have this page, in the left side is the webgalileo tree, and in the right side are the adf components (inputText, outputText, file upload, adt data table)
    When i click in one of the nodes of the tree, i load data from a database to the adf components; the i can work with that data, edit the values and so on; if i click in another node of the tree i need to recolect that data from the adf components in the backing bean and process them in some way.
    The thing is when i click in another node, i dont have any data in the components in the backing bean; the values i entered doesn't seem to apply to the components in runtime, i guess because there is no form submit when i click on a node, only ajax event listener provided by the webgalileo components
    Is there any way to integrate those two things ?? i mean make them work together well, so i can "see" the values entered in the adf controls when i click another node ??
    Thanks a lot

    Hi,
    Hope these links can help you
    http://www.oracle.com/technology/pub/articles/cioroianu-ajax-data.html
    http://www.oracle.com/technology/pub/articles/vohra-ajax.html
    http://www.oracle.com/technology/pub/articles/nimphius-ajax.html
    http://www.oracle.com/technology/products/jdev/tips/mills/AjaxAutoSuggest/AjaxAutoSuggest.html
    EronYang

  • HGrid, Tree and Partial Page Rendering..

    Hi!
    We use JDev 9.0.3.3 .
    Is it possible to use HGrid or Tree with partial rendering?
    Or is there a solution to use iFrame...
    any help?
    Viktor

    It is possible in my version of uix that will be shipped with 10g production. The version i got is uix 2.2.
    Did you already used tree and hgrid in an application ? If yes, did you use struts action as event to pass parameter from the tree to the hgrid ?
    We are searching a good desgn to use tree as explorer in a frame and load different content in an another one. The problem i encountered now is to define how to pass parameter from the tree to the components in the "contents" frame.
    To use frame with tree an hgrid see the code below
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <frameBorderLayout>
    <top>
    <frame source="headerFrame.uix" height="20%" />
    </top>
    <left>
    <frame source="leftFrame.uix" width="30%"/>
    </left>
    <center>
    <frame source="centerFrame.uix"/>
    </center>
    </frameBorderLayout>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    <data name="FBTreeData">
    <inline>
    <nodes text="Par date de financement" expandable="expanded">
    <nodes text="2004" expandable="expanded">
    <nodes text="Quarter 4"/>
    <nodes text="Quarter 3"/>
    <nodes text="Quarter 2"/>
    <nodes text="Quarter 1"/>
    </nodes>
    <nodes text="2003" expandable="expanded">
    <nodes text="Quarter 4"/>
    <nodes text="Quarter 3"/>
    <nodes text="Quarter 2"/>
    <nodes text="Quarter 1"/>
    </nodes>
    </nodes>
    </inline>
    </data>
    </provider>
    <contents>
    <formattedText text="this is the left frame"/>
    <tree nodes="${uix.data.FBTreeData.nodes}"/>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>
    <?xml version="1.0" encoding="windows-1252"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
    xmlns:html="http://www.w3.org/TR/REC-html40" expressionLanguage="el">
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <formattedText text="this is the center frame"/>
    </contents>
    </dataScope>
    </content>
    <handlers>
    <!-- Add EventHandlers (<event> elements) here -->
    </handlers>
    </page>

Maybe you are looking for

  • Caller Display Charges

    Last year BT introduced a charge for Caller Display. If you took out a new 12 month line contract they would continue to be free. I did this and have not been charged for this service. I have just received my latest bill and there is a small note opp

  • Null Characters in Flatten to String

    Hi all, I am using the Flatten to String Function to convert a numerical array to a flattened data string in hexadecimal. When I do this, it adds 6 null characters (zeros) before every array element. How can I flatten my array without the addition of

  • Want to differentiate the queries

    I have the Master Table PARTS TotalSize ----- TotalPrice 147          12.5 In the Query, I will get the details of the Subcategory Id -- 12 Size - 295 [147+148] price -- 10.3 Iwant to check the TotalSize and TotalPrice from the Master Table and need

  • I NEED HELP WITH SYNCING MUSIC PLEASE

    okay so i got a new iphone 5 and bought a bunch of music on the phone itself and plugged it in to my computar to put it on there, but it didnt work. i also have a few songs on my computar that are not on my iphone and i went to click sync music and i

  • Random Crashes - Panic Report

    Greetings, Sometimes I get random crashes on my new Late 2012 iMac... It crashes and it tells me to press a button on my keyboard to "restart" the Mac. Here is the log: Interval Since Last Panic Report:  475874 sec Panics Since Last Report: