Tree in Forms 6

Hello
I want to Make Tree In Forms6 and I want to search in it
and When I Select any Employee Name From The Tree Iwant to Show The Other Data of this Employee In The Left Side of the Screen
Can You Help Meeeeeeeee
Thanks
[email protected]

Hi,
if you have access to http://metalink.oracle.com/, which requires a support contract, Note 210663.1 could become handy.
Frank

Similar Messages

  • Hierachial Tree in Forms

    Im populating a tree in forms.eg
    Adminstration
    Setup
    Lookup
    Now if i click on the Lookup i want to get the path that is "Administration/Lookup".
    Is there any way to do this without using the sys connect by path function.Im storing the path in the table.

    you can write a function with given pl/sql
    declare
    l_temp varchar2(200);
    begin
    for i in (
    select empno, mgr
    from emp
    connect by prior mgr=empno
    start with empno=7900
    loop
    l_temp := l_temp||'\'||i.mgr;
    end loop;
    dbms_output.put_line(rtrim(ltrim(l_temp, '\'), '\'));
    end;
    when the node is selected, pass the ID to this function and this returns the string for you.
    this is bottom-up approach. you select the node and get all its ancestors.
    good luck.

  • How To use javebean tree in forms 6i

    Could any one send or refer me to use of javebean tree use in forms 6i
    i m new to releated topic

    Hi,
    which JavaBean tree to you mean. I am not aware of a tree bean that has been published with any demo. Or do you mean the Forms native htree component ?
    Frank

  • Problem creating a hierarchical tree in forms builder[issue with the query]

    Hi all,
    I have 2 tables.
    box (box_id, box_name)
    item(item_id, item_name, box_id)
    In a box there are several items.
    I want to create a hierachical tree to display items that are present in each box.
    LIKE:
    |---BOX1
    | |----ITEM 1
    | |----ITEM 2
    |
    |---BOX2
    | |----ITEM 1
    | |----ITEM 2
    Currently i am trying this query:
    SELECT -1 state, box_name, 'icon' icon, box_id val
    from box b, item i;
    I don't know what value to put for level, i don't know how to code the 'connect by prior' part.
    Could you please advise me?
    Michaël.
    PS. Then i will eventually use this query in forms builder.

    Hi MichaelR
    i get the FRM - 47321 error in forms builder ..
    Hence In order to populate a tree, the Select order must retrieve 5 columns:
    STATUS, LEVEL, LABEL, ICON, VALUE u should notice this orders in ur Query this will solve the error and pls notice that the...
    My advice is to use the On Line help in ur forms builder to help u in this ...
    Initial state : number
    Node tree depth : number
    Label for the node : varchar2
    Icon for the node : varchar2
    Data : varchar2This should be in WHEN-NEW-FORM-INSTANCE-trigger in order to populate ur tree...
    another thing why don't u think of building ur tree as i did here in the following example...Pls have a look here ....
    Hope this helps...
    Regards,
    Amatu Allah.

  • Hierarchal tree in FORMS

    Hi,
    I have a hierarchal tree table that I want to represent using forms (insert and update data in the tree table).
    Are there any LINKS or documentation that can help me with my little project :-)
    Thanks,
    Marc.

    The help file has a fairly detailed description of how to manipulate the tree control.
    Provided you have a table that can do this I would do "connect by prior" and "start with" SQL statement and use the pseudo column called "level" to determine when to create a new sub tree and when to end it.

  • Creating a Hierarchical Tree in Forma 6i

    Hi Gurus,
    We are using forms 6i and oracle 9i. In oracle forms i have one control block and another control block. When we click on one column repname ,the other control block displays the
    corresponding info for the sales rep name. eg. Lets say i pick John the salesrep in the other
    control block it displays its code,geography region etc.
    I want to create a hierarchical tree in the other block where it is displaying the salesrep info.
    So i want when i click on the sales rep name(the other control block measure)
    then it should the code,geography region etc in the form of hierarchical tree in the other control
    block. If the sales rep name is not clicked then the control block having the salesrep info should be hidden.
    I would appreciate your help.
    Thanks,
    PSO

    place your treeitem in the layout. The treeitem has to the only item in the block and property "Single record" has to be true.
    To populate your tree with data you can either
    - use a query to populate a treeitem have a look at this thread Tree Menu
    - use the Ftree.Add_Tree_Node built-in and program your own logic.

  • Hierarchical trees in forms

    in my oracle forms application i'm working with hierarchical
    trees; every time the tree displays all the nodes are expanded,
    but i want all of them to be collapsed, i tried to set the
    properties of the tree with ftree.collapsed_node, but i only got
    an error message that i didn't select any node.
    Can somebody help me?
    null

    Dear Friend,
    Try this piece of code this will solve your problem
    tree_item:=find_item('your tree item');
    find_node:=ftree.find_tree_node(tree_item,'your_Node_name',
    ftree.find_next,ftree.node_label,
    ftree.root_node,ftree.root_node);
    ftree.SET_TREE_NODE_PROPERTY
    (tree_item,find_node,ftree.node_state,ftree.collapsed_node);
    do the neccessary changes and apply
    bye
    Vishnu Vadla
    null

  • How to call forms using Hierarchical Tree in Forms 10g?

    I know how to call forms from menu that attached to a top form.
    I would like to call forms using Hierarchical Tree. Does any one know how where I can find some instructions on using Hierarcical Tree to call other forms? Any discussion is welcome. Thanks.

    Thanks to Francois.
    The exampe with clear instructions and I can build tree that calls forms now.
    I add a OPEN_FORM statement in WHEN-TREE-NODE-ACTIVATED trigger
    Declare
         LN$I Pls_integer ;
    Begin     
    :Ctrl.Node_Activated := Ftree.Get_Tree_Node_Property('BL_TREE.MENU', :SYSTEM.TRIGGER_NODE, Ftree.NODE_VALUE) ;
    If :Ctrl.Node_Activated IS NOT NULL Then
         Set_Alert_Property( 'AL_CALL_FORM', ALERT_MESSAGE_TEXT, 'Calling module : ' || :Ctrl.Node_Activated ) ;
         LN$I := Show_Alert( 'AL_CALL_FORM' ) ;
         open_form(:Ctrl.Node_Activated);
    End if ;
    End ;
    Or call physical form path by:
         open_form('c:\tree\'||:Ctrl.Node_Activated ||'.fmx');
    I enter the VALUE of MENU as the Form fmx name and it works very well.
    Thanks so much.

  • Hierarchical tree in forms 10g

    dear member.
    i am a beginner. and want to know about that how to make hierarchical form
    i am using developer suit 10g.
    thanks
    mustafa
    lahore,pakistan

    Mustafa,
    the way u have marked the node_id and parent_node_id in the two tables, it is done at form level. or what... this is a little confusing to me, i have to apply that ht form at other schema.Yes, I create Record Group that populates the HT in the When-New-Form-Instance (WNFI) trigger. You can populate an HT from just about anywhere, but I use the WNFI to ensure the tree is populated when the form loads.
    To add a "Grandchild" node to your tree, you simply need to modify the WNFI trigger and add a Loop for these nodes. Using your data as an example, the code in the WNFI would look something like this (not tested):
    DECLARE
       CURSOR c_comp IS
          SELEC T compcode, name
            FRO M company;
       CURSOR c_div (p_comp NUMBER) IS
          SELEC T div_id, div_name, dept_id
            FRO M s_div
          WHER E compcode = p_comp;
       CURSOR c_dept (IS
          SELEC T dept_id, dept_name
           FRO M s_dept
         WHER E dept_id = p_dept;
       n_level NUMBER := 1;
       n_row NUMBER := 1;
       rg_id  RECORDGROUP;
       node Ftree.Node;
    BEGIN
       Tree_Control.v_item_name := 'MY_TREE_DATA.MY_TREE';
       rg_id := Tree_Control.Create_RG;
       <<parent>>
       FOR r_comp IN c_comp LOOP
          -- Add Parent Company
          Tree_Control.ADD_RG_ROW(rg_id, ftree.collapsed_node, n_row,
                  n_level, r_comp.name, null, r_comp.compcode);
          n_row := n_row + 1;
          n_level := n_level + 1;
          -- Add any child Department records
          <<child>>
          FOR r_div IN c_div(r_comp.compcode) LOOP
             Tree_Control.ADD_RG_ROW(rg_id, ftree.collapsed_node, n_row,
                  n_level, r_div.div_name, null, r_div.div_id);
             n_row := n_row+1;
             -- Now, add any Grandchildren
            <<grandchild>>
            FOR r_dept IN c_dept(r_div.dept_id) LOOP
               Tree_Control.ADD_RG_ROW(rg_id, ftree.collapsed_node, n_row,
                   n_level, r_dept.dept_name, null, r_dept.dept_id);
            END LOOP grandchild;
          END LOOP child;
       END LOOP parent;
       ftree.Add_Tree_Data(Tree_Control.v_item_name, ftree.ROOT_NODE,
                       ftree.PARENT_OFFSET, ftree.LAST_CHILD,
                       ftree.RECORD_GROUD, rg_id);
    END;You will still need to modify the Create_RG function in the Tree_Control package to support the above changes, but this code sample should get you started.
    Craig...

  • Download the Step By Step Guide to Create a Tree in Forms

    hi,
    I have developed a sample form for Tree Item. Anybody who doesn't know how to create a Tree Item in form can visit the page and download the step by step guide from there. There is a sample form, sample table data, one document describing the whole process and pictures which is a step by step guide.
    Please Note: The document there is from Oracle. I didn't change anything in it. I just developed the form by going through the step from the document.
    Please visit this site
    http://www.saadatahmad.freeservers.com/tree.htm
    Thank you

    Thanks for your comment. I think it's always good to share the stuff this way instead of informing the people like "hey, I have this stuff. mail me if anybody wants", which I think is not the good way as you mentioned.

  • URGENT *** Hierarchical Tree in Forms 9i *** URGENT

    Hello everybody,
    for my company I need to build a hierarchical tree item, that will display static data over three levels. Let's say: departments, employees and employee projects.
    How do I fill the Item?
    When do I fill the Item?
    Where do I fill the Item?
    What are the elements of the SQL query, that fills the hierarchical tree?
    Any help will be appreciated
    [email protected]

    Note:210663.1 helped a bit.
    I used the database column as the third element in the select part and put NULL as the fifth element. Then it worked.
    Now I am looking for the way to add the employees, when the user selects / activates a department node.

  • Forms 6 hierarchical Tree

    I would like to Know concept of Hierarchical Tree of forms 6i. What query should be written in the record group to populate the tree and how to implement hierarchical tree to make the form act like Windows Explorer .
    Thank You.

    Read the documentation. Here is a sample query to load the record group.
    PROCEDURE prc_populate_record_group
    IS
    CURSOR g IS
    SELECT groupnum,
    groupnm
    FROM merch_group
    ORDER BY groupnm;
    CURSOR c (l_groupnum NUMBER) IS
    SELECT categorynum,
    categorynm
    FROM merch_group_category
    WHERE groupnum = l_groupnum
    ORDER BY categorynm;
    i NUMBER;
    l_rg_id RECORDGROUP;
    l_init_state GROUPCOLUMN;
    l_level GROUPCOLUMN;
    l_label GROUPCOLUMN;
    l_icon GROUPCOLUMN;
    l_value GROUPCOLUMN;
    l_node ftree.node;
    l_next_node ftree.node;
    l_tree_item ITEM;
    BEGIN
    l_rg_id := FIND_GROUP('PRC_GROUP_CAT');
    IF NOT ID_NULL(l_rg_id)
    THEN
    DELETE_GROUP(l_rg_id);
    END IF;
    l_rg_id := CREATE_GROUP('PRC_GROUP_CAT');
    l_init_state := ADD_GROUP_COLUMN(l_rg_id, 'init_state', NUMBER_COLUMN);
    l_level := ADD_GROUP_COLUMN(l_rg_id, 'level', NUMBER_COLUMN);
    l_label := ADD_GROUP_COLUMN(l_rg_id, 'label', CHAR_COLUMN, 40);
    l_icon := ADD_GROUP_COLUMN(l_rg_id, 'icon', CHAR_COLUMN, 20);
    l_value := ADD_GROUP_COLUMN(l_rg_id, 'value', CHAR_COLUMN, 40);
    i := 1;
    FOR g_rec IN g
    LOOP
    ADD_GROUP_ROW (l_rg_id, i);
    SET_GROUP_NUMBER_CELL(l_init_state, i, -1);
    SET_GROUP_NUMBER_CELL(l_level, i, 1);
    SET_GROUP_CHAR_CELL(l_label, i, g_rec.groupnm&#0124; &#0124;' - '&#0124; &#0124;g_rec.groupnum);
    SET_GROUP_CHAR_CELL(l_icon, i, NULL);
    SET_GROUP_CHAR_CELL(l_value, i, g_rec.groupnum);
    i := i + 1;
    FOR c_rec IN c (g_rec.groupnum)
    LOOP
    ADD_GROUP_ROW (l_rg_id, i);
    SET_GROUP_NUMBER_CELL(l_init_state, i, -1);
    SET_GROUP_NUMBER_CELL(l_level, i, 3);
    SET_GROUP_CHAR_CELL(l_label, i, c_rec.categorynm&#0124; &#0124;' - '&#0124; &#0124;c_rec.categorynum);
    SET_GROUP_CHAR_CELL(l_icon, i, NULL);
    SET_GROUP_CHAR_CELL(l_value, i, c_rec.categorynum);
    i := i + 1;
    END LOOP;
    END LOOP;
    --Find the tree
    l_tree_item := find_item('CONTROL.TREE4');
    -- Assign record group to item causing the data to display
    ftree.set_tree_property(l_tree_item, ftree.record_group, l_rg_id);
    -- Find the root node of the tree
    l_node := ftree.find_tree_node(l_tree_item, '');
    END;
    null

  • Synchronize recursive tree with edit form

    Hi,
    I am trying to synchronize recursive tree with form, i have followed this post exactly Oracle ADF Developer: ADF - Synchronizing form with recursive tree
    the first level of the tree works but the inner levels does not.
    I am using JDEV 11.1.2.3

    Try sample 83 here -
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples

  • How to modify a tree component dinamically

    Hi to everybody. I'm a problem with RichTree component when I try to run my application in jdeveloper 11g.
    In jsp page I have a RichInputText and a button component. When you click on the button, it modifies one String type variable: it stores the same value of RichInputText component.
    After that the applicatiion should show a tree that use the modified variable before, but when I click on the button an exception occurs:
    javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:640)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:275)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:175)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:61)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:279)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:239)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:196)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:139)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:149)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3496)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.lang.NullPointerException
         at view.Tree_1.search(Tree_1.java:55)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 34 more
    I show the code in the following lines:
    Sense represents the tree nodes.
    ----------------------------------Sense.java
    public class Sense {
    private String _name = null;
    private List<Sense> _kids = null;
    public Sense(String name){
    setName(name);
    public String getName(){ return _name;}
    public void setName(String name){this._name = name;}
    public List<Sense> getKids(){ return _kids;}
    public void setKids(List<Sense> kids){this._kids = kids;}
    -----------------------------------Tree_1.java
    public class Tree_1{
    private Object _instance = null;
    private transient TreeModel _model = null;
    private String _key;
    private RichInputText inputText1;
    public RichInputText getInputText1(){return this.inputText1;}
    public void setInputText1(RichInputText inputText){
    this.inputText1 = inputText;
    public Tree_1() {
    ArrayList<Sense> root = new ArrayList<Sense>();
    Sense senso = new Sense(_key);
    root.add(senso);
    ArrayList<Sense> firstSon = new ArrayList<Sense>();
    Sense senso2 = new Sense(_key+"2");
    firstSon.add(senso2);
    senso.setKids(firstSon);
    this.setListInstance(root);
    public TreeModel getModel() throws IntrospectionException {
    if (_model == null) {
    model = new ChildPropertyTreeModel(instance, "kids");
    return _model;
    public void setListInstance(List instance) {
    _instance = instance;
    _model = null;
    public String search() {
    _key = inputText1.getValue().toString();
    return null;
    -------------------------------------SenseView.jsp
    <af:form>
    <af:inputText label="Label 1" id="inputText1"/>
    <af:commandButton text="commandButton 1" action="#{Tree_1.search}"/>
    <af:tree var="node" value="#{Tree_1.model}"
    inlineStyle="width:100%; height:100%;">
    <f:facet name="nodeStamp">
    <af:outputText value="#{node.name}" />
    </f:facet>
    <f:facet name="pathStamp"/>
    </af:tree>
    </af:form>
    Any ideas? thank's a lot

    Hi,
    what is the scope of the bean ? the command button performs a page reload after which the key is empty again
    Frank

  • How to create tree in frames?

    I got this example from this is site http://www.irian.at/myfaces/tree.jsp.source
    <%@ page import="org.apache.myfaces.custom.tree.DefaultMutableTreeNode,
                     org.apache.myfaces.custom.tree.model.DefaultTreeModel"%>
    <%@ page session="true" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <html>
    <!--
    * Licensed to the Apache Software Foundation (ASF) under one
    * or more contributor license agreements.  See the NOTICE file
    * distributed with this work for additional information
    * regarding copyright ownership.  The ASF licenses this file
    * to you under the Apache License, Version 2.0 (the
    * "License"); you may not use this file except in compliance
    * with the License.  You may obtain a copy of the License at
    *   http://www.apache.org/licenses/LICENSE-2.0
    * Unless required by applicable law or agreed to in writing,
    * software distributed under the License is distributed on an
    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    * KIND, either express or implied.  See the License for the
    * specific language governing permissions and limitations
    * under the License.
    //-->
    <%@include file="inc/head.inc" %>
    <body>
    <%
       if (pageContext.getAttribute("treeModel", PageContext.SESSION_SCOPE) == null) {
          DefaultMutableTreeNode root = new DefaultMutableTreeNode("XY");
          DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
          root.insert(a);
          DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
          root.insert(b);
          DefaultMutableTreeNode c = new DefaultMutableTreeNode("C");
          root.insert(c);
          DefaultMutableTreeNode node = new DefaultMutableTreeNode("a1");
          a.insert(node);
          node = new DefaultMutableTreeNode("a2 ");
          a.insert(node);
          node = new DefaultMutableTreeNode("b ");
          b.insert(node);
          a = node;
          node = new DefaultMutableTreeNode("x1");
          a.insert(node);
          node = new DefaultMutableTreeNode("x2");
          a.insert(node);
          pageContext.setAttribute("treeModel", new DefaultTreeModel(root), PageContext.SESSION_SCOPE);
    %>
    <f:view>
        <h:form>
            <t:tree id="tree" value="#{treeModel}"
                styleClass="tree"
                nodeClass="treenode"
                selectedNodeClass="treenodeSelected"
                expandRoot="true">
            </t:tree>
        </h:form>
        <jsp:include page="inc/mbean_source.jsp"/>       
    </f:view>
    <%@include file="inc/page_footer.jsp" %>
    </body>
    </html>what i want is backing bean, web.xml, face-config.xml and remaining files. All are telling about this site but full program is not there. if any one have worked out full example please post here.
    regards
    hc827

    I got this example from this is site http://www.irian.at/myfaces/tree.jsp.source
    <%@ page import="org.apache.myfaces.custom.tree.DefaultMutableTreeNode,
                     org.apache.myfaces.custom.tree.model.DefaultTreeModel"%>
    <%@ page session="true" contentType="text/html;charset=utf-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <html>
    <!--
    * Licensed to the Apache Software Foundation (ASF) under one
    * or more contributor license agreements.  See the NOTICE file
    * distributed with this work for additional information
    * regarding copyright ownership.  The ASF licenses this file
    * to you under the Apache License, Version 2.0 (the
    * "License"); you may not use this file except in compliance
    * with the License.  You may obtain a copy of the License at
    *   http://www.apache.org/licenses/LICENSE-2.0
    * Unless required by applicable law or agreed to in writing,
    * software distributed under the License is distributed on an
    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    * KIND, either express or implied.  See the License for the
    * specific language governing permissions and limitations
    * under the License.
    //-->
    <%@include file="inc/head.inc" %>
    <body>
    <%
       if (pageContext.getAttribute("treeModel", PageContext.SESSION_SCOPE) == null) {
          DefaultMutableTreeNode root = new DefaultMutableTreeNode("XY");
          DefaultMutableTreeNode a = new DefaultMutableTreeNode("A");
          root.insert(a);
          DefaultMutableTreeNode b = new DefaultMutableTreeNode("B");
          root.insert(b);
          DefaultMutableTreeNode c = new DefaultMutableTreeNode("C");
          root.insert(c);
          DefaultMutableTreeNode node = new DefaultMutableTreeNode("a1");
          a.insert(node);
          node = new DefaultMutableTreeNode("a2 ");
          a.insert(node);
          node = new DefaultMutableTreeNode("b ");
          b.insert(node);
          a = node;
          node = new DefaultMutableTreeNode("x1");
          a.insert(node);
          node = new DefaultMutableTreeNode("x2");
          a.insert(node);
          pageContext.setAttribute("treeModel", new DefaultTreeModel(root), PageContext.SESSION_SCOPE);
    %>
    <f:view>
        <h:form>
            <t:tree id="tree" value="#{treeModel}"
                styleClass="tree"
                nodeClass="treenode"
                selectedNodeClass="treenodeSelected"
                expandRoot="true">
            </t:tree>
        </h:form>
        <jsp:include page="inc/mbean_source.jsp"/>       
    </f:view>
    <%@include file="inc/page_footer.jsp" %>
    </body>
    </html>what i want is backing bean, web.xml, face-config.xml and remaining files. All are telling about this site but full program is not there. if any one have worked out full example please post here.
    regards
    hc827

Maybe you are looking for

  • T60 - POWER FAIL - NO STATUS INDICATOR - NO DISPLAY - HELP !!!

    Hello All,    IBM T60 wont power up - This worked fine the night before. This morning when i connected the power no status indicators on the front panel and on the LCD display when the power button was depressed. I noticed the hard drive power up and

  • X-axis labels for months when listing daily data

    Hi all, Have a problem with the presentation of a chart that I need some assistance with, can anyone advise. OBIEE 10.1.3.4.1 I have a chart that is display data along the x-axis for a rolling year, however the selection is excluding weekends. On the

  • BADI ME_PROCESS_PO_CUST Method:PROCESS_ITEM

    Hi, I have to update the vendor material field through BADI ME_PROCESS_PO_CUST. I have created an implementation for this BADI.Can anyone help me find the solution for the same. Thanks.

  • PageHierarchy in ADF11g

    Hi All, I am working in ADF 11g. I am using Navigationpanes and NavigationItems to define my Page hierarchy. Created a page template and included the same in all pages. Navigation I have defined in faces-config.xml file. I used rendered property to r

  • A BAPI_ALM_ORDER_MAINTAIN question

    Hi Guys I need to update the settlement rule of a PM-Order. The order has 3 settlement rules (1 to asset under construction (is already used), 1 to final asset (used as well) 1 to final asset (not used). I try to update the last one with function BAP