Programatically creating ADF Tree with nodes,child nodes & links?

Hi,
Currently I am using Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660. Please provide me detailed code for programatically creating ADF Tree with nodes, child nodes and links in it.
Thanks,
Vik

You need to create a model for the tree. ADF has a build in model that you can use to build your own tree.
This is what you need to write in your JSPX:
<af:tree summary="Navigation" id="treeNav" value="#{pageFlowScope.treeNavigationBackingBean.model}"
           var="node" contextMenuSelect="true" rowSelection="single" fetchSize="30">   
       <f:facet name="nodeStamp">
      <af:outputText id="txtText" value="#{node.text}"/>
    </f:facet>
</af:tree>This is the code to retreive the model:
  public TreeModel getModel() {
    if(model == null)
        model = new ChildPropertyTreeModel(instance,"children");
    return model;
  }instance contains the actual tree. I build it in the constructor of my managed bean:
    public BeanTreeNavigation() {
      ArrayList<TreeItem> rootItems = new ArrayList<TreeItem>();
      TreeItem node1 = new TreeItem("Root node");
         ArrayList<TreeItem> level1 = new ArrayList<TreeItem>();
         TreeItem level1Node1 = new TreeItem("Level1 Node1");
          level1.add(level1Node1);
       node1.setChildren(level1);
       rootItems.setChildren(node1); 
      this.setListInstance(rootItems);
      root = rootItems;
  public void setListInstance(List instance) {
    this.instance = instance;
    model = null;
  }The TreeItem class is not a default one. I created it myself. You can make of it whatever you want:
    public class TreeItem {
      private String text;
       private List<TreeItem> children = null;
       public TreeItem(String text){
        this.text = text;
        public void setText(String text) {
            this.text = text;
        public String getText() {
            return text;
        public void setChildren(List<TreeItem> children) {
            this.children = children;
        public List<TreeItem> getChildren() {
            return children;
        }I wrote the TreeItem as an inner class of the managed bean.
The most important part is the getModel methode. There you need to specify an Object and the name of the getter that will return a List of the children.
Hope this helps.
Edited by: Yannick Ongena on Feb 22, 2011 7:30 AM

Similar Messages

  • Adf:tree change node icons

    Hi ,
    Is it possible to create adf tree like in this example - http://www.roseindia.net/jsf/RCFaces/RCF-tree-component.shtml.
    There is two options for tree defaultExpandedImageURL and defaultImageURL . I need implement such functionality in adf tree
    how can i do it ?
    Thanks in advance.

    with help of : zero linecodes you can achieve this in adf tree.
    so can you please tel the usecase.

  • Is it possible to create a tree with drag-and-drop functionality using ajax

    I saw these samples;
    Scott Spendolini's AJAX Select List Demo
    http://htmldb.oracle.com/pls/otn/f?p=33867:1:10730556242433798443
    Building an Ajax Memory Tree by Scott Spendolini
    http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    Carl Backstrom ApEx-AJAX & DHTML examples;
    http://htmldb.oracle.com/pls/otn/f?p=11933:5:8901671725714285254
    Do you think is it possible to create a tree with drag-and-drop functionality using ajax and apex like this sample; http://www.scbr.com/docs/products/dhtmlxTree/
    Thank you,
    Kind regards.
    Tonguç

    Hello,
    Sure you can build it, I just don't think anyone has, you could also use their solution as well in an APEX page it's just a matter of integration.
    Carl

  • Af:tree With Multiple Child Table

    Hi,
    I have a requirement where i have to show a af:tree with child records from two different view Iterators, I created one tree but facing a issue. It shows the name of the Child view iterators and then the record inside it.
    Like :-
    ---> DummyRecord1 *(Record from Parent Iterator)*
    ------------>viewIterator1 *(Name of the First Child Iterator)*
    -------------------->DummyRecord2 *(Record from First Child Iterator)*
    ------------>viewIterator2 *(Name of the Sec Child Iterator)*
    -------------------->DummyRecord2 *(Record from Sec Child Iterator)*
    But i don't want to show the Name of the Child iterators in the tree.I want the tree something like:-
    ---> DummyRecord1 *(Record from Parent Iterator)*
    -------------------->DummyRecord2*(Record from First Child Iterator)*
    -------------------->DummyRecord3 *(Record from Sec Child Iterator)*
    My .Jspx code:-
    <af:tree value="#{bindings.*someViewIterator*.treeModel}"
    var="node"
    selectionListener="#{bindings.*someViewIterator*.treeModel.makeCurrent}"
    rowSelection="single" id="t1">
    <f:facet name="nodeStamp">
    <af:outputText value="#{node}" id="ot1"/>
    </f:facet>
    </af:tree>
    My Page Def code:-
    ><variableIterator id="variables"/>
    > <iterator Binds="*someView*" RangeSize="25"
    > DataControl="AppModuleDataControl"
    id="*someViewIterator*"/>
    </executables>
    <bindings>
    <tree IterBinding="*someViewIterator*"
    id="*someView1*">
    <nodeDefinition DefName="*someView*"
    Name="*someView12*">
    <AttrNames>
    <Item Value="nodeValue"/>
    </AttrNames>
    <Accessors>
    <Item Value="viewIterator2"/>
    <Item Value="viewIterator3"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="viewIterator2"
    Name="viewIterator123">
    <AttrNames>
    <Item Value="nodeValue"/>
    </AttrNames>
    </nodeDefinition>
    <nodeDefinition DefName="viewIterator3"
    Name="viewIterator345">
    <AttrNames>
    <Item Value="nodeValue"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    I am using JDev  11.1.1.6.0
    Why is Tree component creating an extra level showing the iterator name, is there any way to remove that level and show the tree with the actual records only...Thanks in advance..

    Hi,
    trees show hierarchical dependencies of a single path. While it is possible to hack the tree binding configuration to show two root nodes, you can't show two child iterators unless you warp the ADF binding model in a custom tree model (in which case its your code that retrieves and manages the user selection)
    Frank

  • Help:UIModel.xml file for ADF Tree with three level depth

    Hello,
    I am trying to create a DCTree with structure like this:
    root....branch1----child11,child12
    ..........branch2......branch21---child212,child212
    ............................branch22---child221,child222
    Because I can not create more than one binding rule due to the problem that "Add New Rule" button disappears after the first rule is created when I use the tool under Createbinding/Input/Tree to create the DCTree.
    Could somebody post or send me a script of the UIModel.xml file of the tree structure above so that I can work around this problem?
    Thanks in advance,
    Deborah

    Hi,
    I haven't test it for more than 3 layers but I have never seen this limitation mantioned anywhere.
    I used HGrid and this is my code:
    1. UIX file (the relevant part highlighted):
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <page xmlns="http://xmlns.oracle.com/uix/controller"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="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"
    xmlns:myTemplate="test">
    <templates xmlns="http://xmlns.oracle.com/uix/ui">
    <templateImport source="baseTemplate.uit"/>
    </templates>
    <content>
    <dataScope xmlns="http://xmlns.oracle.com/uix/ui">
    <provider>
    <!-- Add DataProviders (<data> elements) here -->
    </provider>
    <contents>
    <document>
    <metaContainer>
    <!-- Set the page title -->
    <head title=""/>
    </metaContainer>
    <contents>
    <body>
    <contents>
    <form name="form0">
    <contents>
    <myTemplate:baseTmpl title="" xmlns:myTemplate="test">
    <contents>
    <rowLayout>
    <contents>
    <link text="Bets View" destination="browseCustBets.do"/>
    <spacer width="10" height="10"/>
    <link text="Customer Bets" destination="viewCustBets.do"/>
    </contents>
    </rowLayout>
    <rowLayout>
    <contents>
    <spacer width="10" height="10"/>
    </contents>
    </rowLayout>
    <rowLayout>
    <contents>
    <hGrid id="hg1" treeData="${uix.data.treeData}" proxy="${uix.eventResult.hGridProxy}">
    <columnHeaderData>
    <col text="Email"/>
    <col text="Bet Date"/>
    <col text="ID"/>
    <col text="Is Winner"/>
    <col text="Amount"/>
    <col text="Rate"/>
    </columnHeaderData>
    <columnHeaderStamp>
    <text text="${uix.current.text}"/>
    </columnHeaderStamp>
    <columnFormats>
    <columnFormat columnDataFormat="textFormat" width="140"/>
    <columnFormat columnDataFormat="textFormat" width="160"/>
    <columnFormat columnDataFormat="textFormat" width="40"/>
    <columnFormat columnDataFormat="textFormat" width="70"/>
    <columnFormat columnDataFormat="textFormat" width="70"/>
    <columnFormat columnDataFormat="textFormat" width="40"/>
    </columnFormats>
    <contents>
    <text text="${uix.current.Email}"/>
    <text text="${uix.current.BetDate}"/>
    <text text="${uix.current.BetID}"/>
    <text text="${uix.current.IsWinner}"/>
    <text text="${uix.current.Amount}"/>
    <text text="${uix.current.Rate}"/>
    </contents>
    </hGrid>
    </contents>
    </rowLayout>
    </contents>
    <tabs/>
    <pageButtons/>
    <globalButtons/>
    <pageHeader/>
    <start/>
    <end/>
    <about/>
    <copyright/>
    <privacy/>
    <corporateBranding/>
    <productBranding/>
    </myTemplate:baseTmpl>
    <formValue name="${bindings.statetokenid}" value="${bindings.statetoken}" id="_uixState"/>
    </contents>
    </form>
    </contents>
    </body>
    </contents>
    </document>
    </contents>
    <provider>
    <data name="treeData">
    <method class="view.CreateTreeData" method="getTreeData"/>
    </data>
    </provider>
    </dataScope>
    </content>
    <handlers>
    <event name="*">
    <method class="view.BetDetailsAction" method="doHGridEvent"/>
    </event>
    </handlers>
    </page>
    2. CreateTreeData class:
    It has a static method getTreeData() that returns a DataObject containing the tree nodes. This methode is mentiond in <provider> node in UIX/XML.
    package view;
    import java.util.Enumeration;
    import model.*;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.ServletConstants;
    import oracle.cabo.servlet.ui.BajaRenderingContext;
    import oracle.cabo.ui.RenderingContext;
    import oracle.cabo.ui.UIConstants;
    import oracle.cabo.ui.data.DataObject;
    import oracle.cabo.ui.data.servlet.HttpSessionDataObject;
    import oracle.cabo.ui.data.tree.SimpleTreeData;
    import oracle.jbo.ApplicationModule;
    import oracle.jbo.ViewObject;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCDataControl;
    //import oracle.jbo.common.Configuration;
    import javax.servlet.http.HttpSession;
    import oracle.jbo.client.Configuration;
    public class CreateTreeData
    public CreateTreeData()
    public static DataObject getTreeData(RenderingContext context, String namespace, String name)
    // create root node
    SimpleTreeData root = new SimpleTreeData();
    int BetID = 0;
    // get the parameter from url
    BajaContext bContext = (BajaContext) context.getProperty(ServletConstants.BAJA_NAMESPACE,
    BajaRenderingContext.BAJA_CONTEXT_PROPERTY);
    HttpSession session = bContext.getServletRequest().getSession(true);
    try
    //BetID = new Integer(( bContext.getServletRequest( ) ).getParameter( "BetID" )).intValue();
    String s = ( bContext.getServletRequest( ) ).getQueryString();
    BetID = new Integer(s).intValue();
    session.setAttribute("BetID", s);
    //BetID = new Integer(session.getAttribute("BetID").toString()).intValue();
    catch ( Exception ex)
    // log the error on the console
    BetID = new Integer(session.getAttribute("BetID").toString()).intValue();
    //System.out.println( "Parameters cannot be retrieved" );
    //System.out.println( ex.getMessage() );
    String amDef = "model.AppModule";
    String config = "AppModuleLocal";
    ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
    AppModuleImpl myAm = (AppModuleImpl)am;
    root = myAm.createNodesData(BetID);
    myAm.remove();
    Configuration.releaseRootApplicationModule(am,true);
    // return the tree
    return root;
    3. createNodesData(int Id) is the actual function that creates the data structure containing the nodes.
    It is in AppModule. The actual tree is kept in one table and every node knows its parent ID. There is no limitation in depth.
    This function is called recursively until the tree is finished and the parameter Id is the Id of the parent node that I want to be listed. Tne top parent nodes has null in ParentID field.
    public SimpleTreeData createNodesData(int Id)
    SimpleTreeData tData = new SimpleTreeData();
    String baseSQL =
    "SELECT Bet.ID, Bet.CUST_LOGIN_ID, Bet.BET_CLASS_ID, Bet.PARENT_BET_ID," +
    "Bet.CHAMPIONSHIP_ID, Bet.AMOUNT, Bet.WIN_RATE, Bet.IS_WINNER, Bet.BET_DATE, " +
    "BetClass.NAME, CustLogin.EMAIL, CustLogin.ID AS CUST_LOGIN_ID " +
    "FROM BET Bet, CUST_LOGIN CustLogin, BET_CLASS BetClass " +
    "WHERE (Bet.CUST_LOGIN_ID = CustLogin.ID) AND (Bet.BET_CLASS_ID = BetClass.ID) ";
    if(Id!=0){
    String sqlStmt = baseSQL + " AND (Bet.ID = '"+ Id +"')";
    ViewObject betVo = this.createViewObjectFromQueryStmt("betVo", sqlStmt);
    betVo.executeQuery();
    if(betVo.hasNext())
    //SimpleTreeData tData = new SimpleTreeData();
    tData.setText(betVo.first().getAttribute("NAME").toString());
    if(betVo.first().getAttribute("PARENT_BET_ID")==null)
    tData.put("Email", betVo.first().getAttribute("EMAIL").toString());
    tData.put("BetDate", betVo.first().getAttribute("BET_DATE").toString());
    tData.put("BetID", betVo.first().getAttribute("ID").toString());
    tData.put("IsWinner", betVo.first().getAttribute("IS_WINNER").toString());
    tData.put("Amount", betVo.first().getAttribute("AMOUNT").toString());
    tData.put("Rate", betVo.first().getAttribute("WIN_RATE").toString());
    if(Integer.parseInt(betVo.first().getAttribute("BET_CLASS_ID").toString())>1){
    tData.setExpandable(UIConstants.EXPANDABLE_EXPANDED);
    betVo.remove();
    String sqlStmt = baseSQL + " AND (Bet.PARENT_BET_ID = '"+ Id +"')";
    ViewObject betVo = this.createViewObjectFromQueryStmt("betVo" + Id, sqlStmt);
    betVo.executeQuery();
    while(betVo.hasNext()){
    tData.addChild(createNodesData(Integer.parseInt(betVo.next().getAttribute("ID").toString())));
    betVo.remove();
    return tData;
    Hope this will help...

  • ADF Tree with Boolean Check Box: How to find selected items

    Hi Experts,
    ADF: 11.1.1.5.0
    WLS: 10.3.6
    I am using an ADF Tree which contains elements at two levels (say Departments and Employees). My requirement is to give provision for user to select Departments and Employees using the check boxes. User should be able to select what ever Departments he/she likes and what ever employees he/she likes. There should not be a provision to select Employee with out selecting the corresponding Department (root node in the tree).
    I am facing the below issues while trying to implement this use case:
    1. Always, only the first master record will be expanded by default (I am using "Display Row" property value as "default" and "ExpandAllEnabled" as "true"). My need is to expand all the master records by default. So that user need not explicitly expand each master record node and then select the associated child records.
    2. Currently, I am using value change listener associated to af:selectBooleanCheckBox to identify the Departments and Employee records that have been selected. Since not all departments (masters) are expanded by default, if user selects the check box of department (master) and then expands the department node, automatically all the employees of that department are selected. But, this event is not triggering the value change listener for the employee records. Because of this, after a department node is selected and then expanded, all the child elements' check boxes are selected but the events are not generated. Hence, I am not able to capture the selection of employee records.
    To summarize,
    1. Please let me know how to expand all master nodes in af:Tree by default.
    2. Please let me know the best approach to identify the selected items (both master and detail items) in the af:Tree component using af:selectBooleanCheckBox.
    Thanks in advance,
    Rathnam

    Hi,
                Can you please elaborate the solution? I have a similar problem in
    https://forums.oracle.com/thread/2579664

  • How to create ADF tree and poup menu?

    Hi,
    I want to create a ADF tree, when right click the tree nodes, it will display a menu.
    please give me some examples or work steps.
    thank you very much!

    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_masterdetail.htm#BJEBEEJD - should get you started with trees.
    A bit about context menu is here: http://download.oracle.com/docs/cd/E12839_01/web.1111/b31973/af_dialog.htm#ADFUI695

  • Create a tree with recursive call for sub-rows

    Hello,
    I would like to create a generated menu dynamically created from values returned by sql.
    Structure is as follow :
    Menu
      |
      +-- MenuItem <--+
             |        |
             +--------+I can't know the maximum depth of the menu.
    How can I create a dynamic tree for ADF to display a tree or a hierarchical view properly without having to define a ViewLink / level ? (i.e. without hardcoding the maximum depth)
    I created a simple Application Module with VO:
    MenuVO
      + MenuItemVO (using VL1 between MenuItem and Menu)
          + SubMenuItemVO (using VL2 between MenuItem and MenuItem, father / child link)Using the Oracle BC Navigator to test this, I can see that a dynamic tree is available, how can I have it in a JSP page ?
    Using the hierarchy viewer component it's possible, but how can I do this with an ADF Tree ?

    You can easily create a recursive tree level rule on the MenuItemVO via a parent/child view link (get rid of SubMenuItemVO). Look at this example http://www.oracle.com/technetwork/developer-tools/adf/learnmore/32-tree-table-from-single-vo-169174.pdf
    The only difference is your recursion is going to be at MenuItemVO level.
    Edited by: 948181 on 2012/07/31 4:07 PM

  • ADF tree with command link

    Hello,
    I have a menu build with a tree and a region. When I click a link from the tree the region populate a page with another dinamic tree based on a session variable that refresh each time that i click a link from the first tree. After click the link I have a flow that has an executewithparams method and the page that will show the second tree.
    My problem is that the second tree doesn't refresh its branches at my first click on the link but on the second yes and I receive :
    <NavigationPaneRenderer><_renderContent> Warning: There are no items to render for this level
    <FormRenderer><setupEncodingContext> Multiple forms detected on viewId: /pages/index.jspx. Rich client currently has some limitations in dealing with multiple forms.
    I have set the autorefresh for the iterator but I haven't success.
    Can anyone help me?
    Thank you.

    Hi Frank,
    It's true that my execute with params method accessthe session scope attribute directly but in my page fragmet i haven't af:form
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <!--oracle-jdev-comment:preferred-managed-bean-name:backing_doc-->
    <af:panelGroupLayout id="pgl2">
    <c:set var="viewcontrollerBundle"
    value="#{adfBundle['.main.view.ViewControllerBundleMain']}"/>
    <af:panelGroupLayout id="pgl1" layout="vertical">
    <af:panelBox text="#{sessionScope.OrgMeniuId eq 920 ? viewcontrollerBundle.1 : viewcontrollerBundle.2}"
    id="pb1" styleClass="AFStretchWidth"
    binding="#{backing_doc.pb1}">
    <f:facet name="toolbar"/>
    <af:tree value="#{bindings.DocVO2.treeModel}" var="node"
    selectionListener="#{bindings.DocVO2.treeModel.makeCurrent}"
    rowSelection="single" id="t1" binding="#{backing_doc.t1}"
    fetchSize="-1" styleClass="AFStretchWidth"
    inlineStyle="font-size:small;">
    <f:facet name="nodeStamp">
    <af:group id="g1" binding="#{backing_doc.g1}">
    <af:commandLink id="cl1"
    text="#{node.Desc}#{node.DescOp}"
    action="#{backing_doc.ActionIdLink}"
    actionListener="#{backing_doc.discloseItem}"
    binding="#{backing_doc.cl1}" immediate="true"
    partialTriggers="::pb1">
    <af:setActionListener from="#{node.IdOp != null ? node.IdOp : node.Id}"
    to="#{sessionScope.backing_doc.actionId}"/>
    <f:attribute name="node" value="#{node}"/>
    <af:setActionListener from="#{node.IdOp != null ? node.DescOp : node.Desc}"
    to="#{sessionScope.OrgDocDesc}"/>
    <af:clientListener method="onDownload" type="action"/>
    </af:commandLink>
    <af:resource type="javascript">
    function onDownload(evt){ evt.noResponseExpected(); }
    </af:resource>
    </af:group>
    </f:facet>
    </af:tree>
    </af:panelBox>
    </af:panelGroupLayout>
    </af:panelGroupLayout>
    </jsp:root>

  • How can I create a Tree with Color Picker icons?

    I'm a newbie to Flex. I want to create a tree which has color
    picker icons.
    As an analogy for the Mac users out there, I envision a
    control like the Calendars section in iCal, where you can specify
    the color for each individual node. These colors are then used in
    other parts of the application.
    The Flex 3 documentation specifies four methods for setting
    node icons on a Tree control, none of which seems to suit my needs:
    -The folderOpenIcon, folderClosedIcon, and defaultLeafIcon
    properties
    -Data provider node icon fields
    -The setItemIcon() method
    -The iconFunction property
    In other words, I want to "setItemIcon" to an mx:ColorPicker,
    if that makes any sense.
    Is there a standard way of doing this? If not, how can I go
    about implementing such a control? Thanks in advance!

    well, Network UI should be used.

  • How to create ADF tree and popup menu by ADF

    Hi All,
    I want to create a tree, and display different context menu when click right click on different tree node.
    please give me a example or Some step to step tutorial .
    Thank you

    Here are a couple of Tree tutorials:
    http://www.oracle.com/technology/oramag/oracle/09-jul/o49frame.html
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_masterdetail.htm#BJEBEEJD
    http://one-size-doesnt-fit-all.blogspot.com/2009/09/jdev-11gr1-aftree-mashup-using.html
    http://www.connotea.org/user/jdeveloper/tag/tree
    Edited by: Shay Shmeltzer on Sep 27, 2009 10:51 AM

  • Can't create a tree with mm:treenode tag in DWCS4 Mac

    Hi,
    I try to migrate my extension from Windows to Mac. I create a tree in the floater. In Windows, it display well. But in Mac, it display nothing.
    Please give me some help.
    Thanks
    Window
    Mac

    Your treenode should be inside a form, otherwise DW may not display this correctly.
    It may also be better to create a folder (called mac), and place a file with the extension htm inside this to ensure compatibility with the mac, (not always required, only testing will ensure if required or not).
    If you get compatability problems then check the layout engine no (your current = layout-engine 10.0), as the one shown is for CS3 and may not work in older versions.
    PZ

  • ADF Tree with Self Join

    Hi,
    I want to make an application using component tree with one table. This table has menu_id and menu_parent.
    I got a little problem when I use self joining table, it shown all parents and children.
    I want only the root folder (parent) to be shown first and then by opening the menu_parent, i should be able to see the menu_id folders.
    Can you please help me.
    Thanks

    Hi,
    you need to have a viewcriteria in your vo for selecting the parents one, then while selecting vo in datacontrols in AM you need to select your viewcriteria in your vo by editing it.
    Also you need to have a ViewLink between same viewobjects i.e menu_id->parent->id.
    See if this helps.
    Regards,
    Santosh,

  • How to create a new DOM tree with nodes from another DOM tree?

    Hello,
    I would like to create a DOM tree by using nodes from an existing DOM. How can I do that? I tried with appendChild and it gaves me as error: "WRONG_DOCUMENT_ERR".
    Thx!

    The xml that should be parsed is something like that:
    <?xml version="1.0" encoding="UTF-8"?>
    <root xmlns="http://www.nebi.biz/schemas/bd/nebienvelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" BusinessDocumentVersion="7.0" xsi:schemaLocation="http://www.nebi.biz/schemas/bd/nebienvelope NeBiEnvelope_L_0_3.xsd">
        <Header>
            <To>
                <OrganisationId>OrganisationId0</OrganisationId>
                <DestinationType>DestinationType0</DestinationType>
                <Destination>Destination0</Destination>
            </To>
            <From>
                <OrganisationId>OrganisationId1</OrganisationId>
                <DestinationType>DestinationType1</DestinationType>
                <Destination>Destination1</Destination>
            </From>
            <Dialog>Dialog0</Dialog>
            <DialogId>DialogId0</DialogId>
            <MessageType>MessageType0</MessageType>
            <MessageId>MessageId0</MessageId>
            <Reference Role="buyer" Type="BusinessAgreement">Reference0</Reference>
            <SequenceId>SequenceId0</SequenceId>
            <Checksum Type="MD5">Checksum0</Checksum>
        </Header>
        <Body>
            <Order xmlns="http://www.nebi.biz/schemas/bd/order" BusinessDocumentVersion="7.0" OrderType="request" xsi:schemaLocation="http://www.nebi.biz/schemas/bd/order Order_L_0_96.xsd">
                <OrderId Role="buyer"/>
                <ProductLine Number="1">
                    <ProductUseCaseDetails Id="WICreation">
                        <wiCreation xmlns="http://mydomain.com/GRIPP/workitem">
                            <wiCreationHeader>
                                <userId>wmadm</userId>
                                <taskModelName>DNS02_CreateMasterZone</taskModelName>
                            </wiCreationHeader>
                            <wiCreationBody>
                                <DNS02CreationBody>
                                    <GlobalSection xmlns="http://mydomain.com/GRIPP/dns02">
                                        <Outcome>1</Outcome>
                                    </GlobalSection>
                                    <SpecificSection xmlns="http://mydomain.com/GRIPP/dns02">
                                        <Zonename>0.0</Zonename>
                                        <RRLocation>Domain</RRLocation>
                                        <RemoteSlaves type="multiline">
                                            <RemoteSlaveFQDN>test.com</RemoteSlaveFQDN>
                                            <RemoteSlaveIP>123.234.234.123</RemoteSlaveIP>
                                            <RemoteSlaveFQDN>test.net</RemoteSlaveFQDN>
                                            <RemoteSlaveIP>123.123.123.123</RemoteSlaveIP>
                                        </RemoteSlaves>
                                    </SpecificSection>
                                </DNS02CreationBody>
                            </wiCreationBody>
                        </wiCreation>
                    </ProductUseCaseDetails>
                </ProductLine>
             </Order>
        </Body>
        <Trace>
            <CheckPoint>
                <SystemName>SystemName0</SystemName>
                <SystemDateTime>2006-05-04T18:13:51.0Z</SystemDateTime>
            </CheckPoint>
        </Trace>
    </root>This is the output of the Document after parsing and augmentation with the Xerces parser.

  • Adf Tree with checkboxes beside..

    Hi All....
    I have a requirement to make an application in adf (in j dev) where in i want a tree structure, beside each node in my tree,there should be 6 coloumns with checkboxes(the checked or unchecked values should get reflected in a DB table).Is it possible?and if yes,can u tell me any tutorial or a direction,as to how to proceed?
    I could make a tree structure,but that doesnt serve my need.:(
    Please help....
    Waiting for your posts...
    Thank you!!!!:)

    Check out SRDemo, there is an example of something similar there.

Maybe you are looking for

  • Ref cursors and dynamic sql..

    I want to be able to use a fuction that will dynamically create a SQL statement and then open a cursor based on that SQL statement and return a ref to that cursor. To achieve that, I am trying to build the sql statement in a varchar2 variable and usi

  • Problem with Stacked area chart

    Hi all, I'm working on delivery data according to month having input(combo) as the year. I'm trying to display the data in percentages in Stacked area chart having series as ontime delivery, 1 week late, 2 weeks late,........5 weeks late and category

  • When I updated my Iphone to ios it wouldnt activate. it kept saying the server is temporarilay unavailable and idk why

    When I updated my Iphone to ios it wouldnèt activate, it just kept saying the server was unavailable and idk why.

  • Problem using FIND in PSE 6

    Hi This is probably a simple problem, but I did not see anything in the forum that explains the problem. Simply put, I cannot use the PSE 6 Organizer FIND capability. In particular, I have a bunch of images that were taken long ago with a Canon Power

  • MBP (snow leopard) sudden self-logout

    Hello there! Any one else faced this issue: you work on macbook pro, then go away to have a glass of water, and when you're back your laptop is waiting for you to ask to choose user & log in?? Thre is no settings of security to force log out after th