Tree in ADF

I want to make Tree( binding from database) and take the selection subnode from this tree and bind it anthor query but i have only the root node not subnode or subsubnode

Hi,
if you use ADF then the tree model is created by ADF based on a Collection in the business service. If you use ADF Faces only - no ADF binding - then you need to create a tree model yoursef. You can start with the Trinidad SortableTreeModel class. Your question isn't very precise by the way.
Frank

Similar Messages

  • How to use programmatic VO objects in creating a Tree in ADF Page.

    Hi,
    I have two programmatic VOs namely Plan and Model. Even though functionally there is a Master/Detail (Plan --> Model) relationship between them, we are not creating any View Link as they are programmatic VOs. Requirement is to show this master/detail data as tree in the ADF page. Any pointer on how to achieve this?
    Thanks
    Edited by: user766455 on Jan 3, 2012 10:34 AM

    My question is not related Traversing Tree... my question is how to create Tree in the ADF page using programmatic VOs, which don't have master and details View Link.

  • Drag andn Drop facility in af:tree in ADF Faces

    Hi,
    I am exploring on the possibilities to get drag and drop feature working in an ADF Faces Tree element. Basically, I want to drag the nodes in the tree under other nodes within the same tree.
    I tried using some Javascript libraries to achieve the same.
    http://ajaxpatterns.org/Drag-And-Drop#In_A_Blink
    But it seems that ADF Faces generate the "Id" of the nodes of the tree by prepending some string like "_id1:" to the ID provided in the Property Inspector for the node stamp of the tree element. So, we cannot use those libraries either which rely on the node id of the elements.
    Does ADF Faces plan to introduce this drag and drop feature in the af:tree element.
    Any help will be highy useful.
    Thanks,
    Ankit Goel

    Hi Frank,
    Can we know as to when ADF is planning to bring the drag and drop feature in ADF Tree component. Also, we would want to get a handle to the node ids of the tree. We need this to implement some right click features on the tree nodes. Is this also considered in the new UI features project.
    Can we know of any page where all new upcoming features are listed, or we can request for any desired UI features. Please help.
    Thanks,
    Ankit

  • ADF Tree Menu : ADF Demo

    Hi
    The use case I am trying to solve is a tree menu that allows users to navigate through their system. The tree menu must remain visible and maintain it's state while the user navigates through the system.
    The online ADF demo is exactly what I need as an example, but the downloaded version I have uses tabs instead of a tree menu. Is the online demo and the download version the same or am using an old version of the demo?
    Thanks.

    Leond,
    OK - I installed the demo locally and ran index.jspx, added gallery=true to the URL and did see the tree menu. (downloaded from the link on [url http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html]this page
    In poking around, the tree menu is implemented as a declarative component. The source for it is in templates\pageTemplateDefs\componentGallerySideBar.jsff. As you look deeper, you'll see that there is a menu model that stores the selected item as well as disclosure state.
    Hope this at least gets you going.
    Regards,
    John

  • I made command Link of tree with ADF, every node must not have link

    Hi
    How can I do not link on the leaf of the tree, I have link every leaf, but I dont want to get on some leaf of tree.
    How can I do to get hierarchy link that it have not link on under hierarchy(node) on tree.

    could be deleted

  • Af:tree in ADF

    Hi everyone,
    I tried to use af:tree and drag and drop functionality together.In my sample i have used two different trees for source and destination of drag and drop and I have set the initiallyExpanded="true" for the trees.
    Consider that both the trees are having more than one rows.Now while i drag and drop a row to the destination tree to which i have dropped gets expanded automatically(I have done the background code to add the dragged row as a child to the drop target). This is working perfectly.
    But the problem is ,when i create a new tree in the drop target dynamically(ie: i craete a root node dynamically for the new tree using any row in the drag source) and furthur proceeding with adding nodes to the new tree , the node is not being expanded. Because of this i am pushed to expand the tree node manually to view the newly added nodes.
    Can anybody help me in solving this?

    Hi Frank,
    The link you have shared really saved my time in investigating af:tree component.
    I have created two trees and added drag and drop functionality from one tree to another tree. It works fine until I drag and drop few(dynamic - no fixed number) rows to the destination tree. After that I am thrown with a big fat stack overflow exception.
    <RegistrationConfigurator><handleError> Server Exception during PPR, #1 javax.servlet.ServletException: java.lang.StackOverflowError
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:333).....
    ...Caused by: java.lang.StackOverflowError
    at java.lang.ClassLoader.defineClass1(Native Method)...
    ...Caused by: java.lang.StackOverflowError
    at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)...
    Seeking your expertise.

  • How do I create multiple types of child nodes in ADF  Faces Tree Component

    Hi,
    I am trying to construct a tree using ADF Faces. The tree I am trying to develop should look something like:
    - Departments
    + Dept 10
    + Dept 20
    + Dept 30
    + Dept 40
    - Employees
    + SCOTT
    +ALLEN
    + BLAKE
    The nodes shown at the top level should serve as labels, indicating the various types of nodes available.
    I have created the top level RootLabelsViewObj, with a SQL clause:
    select rn, node_label
    from (
    select 1 rn
    , 'Employees' node_label
    from dual
    union all
    select 2 rn
    , 'Departments' node_label
    from dual
    union all
    select 3 rn
    , 'Bonusplans' node_label
    from dual
    I have created ViewLinks between the RootLabelsViewObj and the DeptView and EmpView respectively (created on top of DEPT and EMP table in SCOTT schema), based on the LABEL attribute in the RootLabelsViewObj and with ViewLink SQL specified like:
    :Bind_NodeLabel = 'Departments' for the link with DeptView and :Bind_NodeLabel = 'Employees' for the link with EmpView.
    In the ADF BC Application Module Tester, I get exactly what I want.
    However, when I create a JSF JSPX page and drag the RootLabelsViewObj from the Data Control Panel to the page as ADF Tree, I run into a little issue: it seems like I cannot create a second Branch Accessor rule for the RootLabelsViewObj1: I have created a first Branch Accessor Rule referring to DeptView and now try to create a second one for EmpView, to allow Employees to be displayed under the root label "Employees" - but I cannot.
    The PageDefinition looks like:
    <tree id="RootLabelsViewObj1" IterBinding="RootLabelsViewObj1Iterator">
    <AttrNames>
    <Item Value="Rn"/>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <nodeDefinition DefName="model.RootLabelsViewObj"
    id="RootLabelsViewObjNode">
    <AttrNames>
    <Item Value="NodeLabel"/>
    </AttrNames>
    <Accessors>
    <Item Value="DeptView"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="model.EmpView" id="EmpViewNode">
    <AttrNames>
    <Item Value="Ename"/>
    </AttrNames>
    </nodeDefinition>
    <nodeDefinition DefName="model.DeptView" id="DeptViewNode">
    <AttrNames>
    <Item Value="Deptno"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    Does anyone know:
    - whether it is possible (intended) to have more than one branch accessor per node (i.e. more than one type of child under a node in the tree)
    - if so, how this can be achieved?
    Right now it looks like I am limited to each node in the tree having only one type of child node.
    Please tell me I am wrong.
    best regards,
    Lucas

    Give this a shot mate
    event.getNativeEventTarget();That will allow you to access the DOM object directly
    Id can be retrieved via
    event.getNativeEventTarget().id;

  • JDev 11g (Boxer) - ADF-Tree ExpandingProblem

    Hi,
    I use the Boxer (JDev 11.1.1.0.0) Edition.
    Technology: ADF Business Components (BC), ADF Faces
    Database: Oracle XE (HR Schema)
    I have created BC for the Departments- and Employees-table.
    I drag-and-drop the DepartmentsView1 from the DataControl to the JSF-Page (in the center of a PanelStretchLayout)
    and choose Create --&gt; Trees --&gt; ADF Tree.
    In the "Edid Tree Binding"-Dialog --&gt; Tree Level Rules, I add the EmployeesView (Code below):
    &lt;af:panelStretchLayout&gt;
    bq. &lt;f:facet name="center"&gt;bq. &lt;af:tree value="#{bindings.DepartmentsView1.treeModel}" var="node"selectionListener="#bindings.DepartmentsView1.treeModel.makeCurrent}" \\ rowSelection="single"&gt; \\ &lt;f:facet name="nodeStamp"&gt; \\ &lt;af:outputText value="#{node}"/&gt; \\ &lt;/f:facet&gt; \\ &lt;/af:tree&gt;
         &lt;/f:facet&gt;
    (Fetchsize and Rangsize are default (25), the department with ID=50 has more than 25 employees)
    Problem:
    I run the page, all works fine.
    1) First I expand the department (ID=50) --&gt;works
    2) then I retract the node (ID=50) --&gt; works
    3) I expand the department (ID=50) --&gt; problem
    ADF rendered only 25 elements (the Fetchsize) and shows the Text "Daten werden abgerufen..." (Retrieving data ...)
    Has anybody the same problem, anybody an idea?
    Many thanks!

    I believe this has already been fixed in our main code branch. I will enter a boxer bug and make sure that the fix gets backported to boxer so that it is available in the next boxer patch. If I remember correctly, the issue had to do with trees with a large display area (with default fetchSize of 25). The issue is that the tree has to make multiple round trips to the server in order fill the visible area (view port) on the page.
    Do either of the following workarounds work:
    1) Set a fetchSize attribute on the af:tree tag larger than 25 (<af:tree fetchSize="75">). You may want to increase the rangeSize in your pageDef file as well so that the model rangeSize matches the view fetchSize.
    2) Shrink the size of the tree on the page so that it does not have to make multiple round trips to the server to fill it's view port.

  • Create an ADF Tree Using a Mix of VO and Pojo?

    I am able to create a basic tree in ADF, VO1 -> VO2 -> VO3 connected by view links.
    Now I would like show some additional information that is not available in VO2, and the information cannot be selected directly from tables, and have to come from making Java API calls.
    What I am wondering is if its possible to create a Java class returning the information I want, and reuse the other VOs in a tree VO1 -> bean -> VO3. I do not see how the relationships can be defined between them for it to appear in the Tree Level Rules.
    An alternative perhaps is to create a single Java class returning the entire tree, and within the Java class fetch rows from the VOs.
    Any suggestions?
    Edited by: 967776 on Oct 25, 2012 5:07 PM

    Another approach would be to use a programatic VO to access the Java API data - http://docs.oracle.com/cd/E26098_01/web.1112/e16182/bcadvvo.htm#sm0341

  • 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

  • Unable to create Tree (af:tree  and af:menuTree) using ADF 10G

    Hi All,
    I have tried creating a tree af:menuTree and af:tree using ADF 10G (JDeveloper 10.3.1.4) and i am unable to see the output on the screen.
    Can you please guide me on this.
    Some searchs on OTN suggested that it is not supported in 10G. If this is so, can you suggest any workaround?
    Thanks,
    Ram

    Hi Michael,
    **Here is the code I used for Menu Tree
    <afh:cellFormat valign="top">
    <af:menuTree var="node" value="TEST">
    <f:facet name="testNode">
    <af:commandMenuItem text="testCM" action="#{node.action}"/>
    </f:facet>
    </af:menuTree>
    </afh:cellFormat>
    **Here is the code I used for Tree
    <afh:cellFormat valign="top">
    <af:tree id="productCategoriesTree" value="testTree" var="node" >
    <f:facet name="nodeStamp">
    <af:panelGroup >
    <af:outputText rendered="#{node.ParentCategoryId eq null}" value="#{node.CategoryName}" inlineStyle="color:#FF8000;font-weight:bold;"/>
    <af:outputText rendered="#{node.ParentCategoryId ne null}" value="#{node.CategoryName}"/>
    </af:panelGroup>
    </f:facet>
    </af:tree>
    </afh:cellFormat>
    Kindly advice.
    Thanks in advance,
    Ram

  • JDeveloper, ADF, lack of support and bleak future

    Hi,
    I'm a seasoned Java and .NET developer, used to many environments and frameworks. A happy user of Oracle databases.
    For a very Oracle oriented client I started with a team of developer a project using JDeveloper (no choice). After 4 months of using JDeveloper, ADF to build web sites, here are some thoughts I would like to share. This remarks only focus on that products, because I have a lot of respect for the Oracle databases and had a lot of success with them.
    I am starting to get depressed about the very few blogs (most from Oracle) talking about JDeveloper and ADF, the lack of books, and the Oracle forums.
    Moreover, most of the time you never get an answer to your problems, sometimes untested not working 'solutions', and a very very few times a working solution. Help is sparse, the community is missing.
    If Oracle wants to promote its framework, it has to boost the number of tutorials, examples and support.
    Googling about ADF is most of the time a non sense since you always land on the same 3 blogs and the Oracle forums.
    Proof of non use by the community ?
    If you try on www.indeed.com to find statistics about JDeveloper or ADF jobs you get another frightening proof.
    Sometimes you find a piece of code or a tutorial that may help, but you realize it works only on some specific release of JDeveloper.
    What makes me angry is when you ask why your code works on the x.x.x.x version but not the newest version, and the only answer you get is stay with x.x.x.x version (I won't bother to fix your 10 lines or code or even give you a direction to do it (maybe coz I don't understand myself were the breaking changes are)).
    JDeveloper is damn too slow ? You should have a dual-core and at least 2 Go of memory, you poor thing ! Is Java for rich people ?
    Debuging is a nightmare. Compared to Eclipse or others it is not practical at all.
    I'm happy when I can create a few pages drag and dropping controls. Business components are also a good thing. It speeds up my development. But since development is not just UI and generating business components, I lose a lot of time every time I want to write code, every time I do something "exotic" it becomes a pain in the ass.
    My problem here is that the architecture and JDeveloper constraint the developer a lot. I don't even talk about the fact that everything is only Oracle database oriented (openess ?). Even changing your page layout is a pain. Positioning controls is non trivial. As a whole, I would say that this whole thing imposes you to adapt to it, it doesn't adapt to you and your way of working.
    Most results I saw look like the Oracle websites.
    I could go on about the various bugs and problems that plague JDeveloper. Like the refactoring (when usable) that leave old and annoying stuff in your model XML, like the bugs in the diagrams, like problems related to auto-binding on the page and manually changing controls ID, various synchronization problems between pages and backing beans, adding upload is a mess, OrdDomain types are buggy, regions doesn't work well in the designer, and so on...
    My point is that I feel the whole thing is not mature. And Oracle seems to fix some issues with the release of JHeadStart. Sometimes you fix things by integrating JHeadStart stuff. JHeadStart is probably a great thing and a time saver if you don't do too much "exotic" screens and code, but does it means that JDeveloper+ADF and classic development becomes a second class citizen ?
    This is sad, since the ADF framework and JDeveloper look good and are worth of a more widespread usage. But marketing and support are way way far behind other commercial and open-source solutions. When I see what is planned for JDeveloper 11 and I compare it to others (Java or not). When I look at the developers needs and expectations, I feel we are losing the race.
    Maybe Oracle would like to hand over some of the framework to the community, but my feeling is that the community is already commited on other exciting and less constraining frameworks and tool, and this community may well work in a way that doesn't fit Oracle vision. Future will tell.
    Cheers.

    Hi,
    thanks for the detailed comment. I appreciate the time you spent writing this up as this helps to improve the product. Below is a first - quick and brief response to some of your statements.
    ... for documentation and tutorials
    http://www.oracle.com/technology/products/adf/learnadf.html
    Especially the ADF Developer Guide for 4 GL developers earns a lot of praise among J2EE developers.
    http://download.oracle.com/docs/html/B25947_01/toc.htm
    ... for books
    http://www.oracle.com/technology/tech/java/jsf.html
    Sometimes you find a piece of code or a tutorial that may help, but you realize it works only on some specific release of JDeveloper. What makes me angry is when you ask why your code works on the x.x.x.x version but not the newest version, and the only answer you get is stay with x.x.x.x version
    Of course samples need to be created to some point in time with a specific version. We have SRDemo as our main - maintained - reference demo I suggest you download this sample from OTN using help--> check for updates. Note that SRDemo contains code solutions for most developer cases and also is available in 10.1.3.1
    I'm happy when I can create a few pages drag and dropping controls. Business components are also a good thing. It speeds up my development. But since development is not just UI and generating business components, I lose a lot of time every time I want to write code, every time I do something "exotic" it becomes a pain in the ***.
    What is exotic, and what are the questions you didn't get an answer for ? I see that this is your first posting on OTN, so I am wondering under which account you posted the other questions that did not get an answer.
    Googling about ADF is most of the time a non sense since you always land on the same 3 blogs and the Oracle forums. Proof of non use by the community ?
    Isn't OTN a community ? I don't think that we need another discussion forum and looking at OTN it appears very active.
    I don't even talk about the fact that everything is only Oracle database oriented (openess ?).
    Not true. Please prove your claim.
    Even changing your page layout is a pain. Positioning controls is non trivial. As a whole, I would say that this whole thing imposes you to adapt to it, it doesn't adapt to you and your way of working. Most results I saw look like the Oracle websites.
    Now you are barking up the wrong tree, blaming ADF for what is JavaServer Faces layouting. You don't have to use JSF but can go for JSP /Struts and/or Swing development. What is the view layer technology of your choice that allows you to do better layouting ?
    I could go on about the various bugs and problems that plague JDeveloper
    Yes, please post them all
    ... regions doesn't work well in the designer, and so on...
    Of course, because regions are not officially supported. JDeveloper 11 - I know you don't want to hear future - will have full templating (going far beyound of what facelets do) and region support
    My point is that I feel the whole thing is not mature. And Oracle seems to fix some issues with the release of JHeadStart.
    JHeadstart is a consulting offering and not meant to fix the product.
    ... but does it means that JDeveloper+ADF and classic development becomes a second class citizen ?
    No comment for this statement as it is based on a wrong observation
    This is sad, since the ADF framework and JDeveloper look good and are worth of a more widespread usage. But marketing and support are way way far behind other commercial and open-source solutions. When I see what is planned for JDeveloper 11 and I compare it to others (Java or not).
    Note that only a fraction of new features in JDeveloper 11 leaked out so far or have been mentioned in the recent statement of direction. JDeveloper has many more features that we don't yet promote because the software isn't available.
    Please note that we give ADF to the community. Its just we are not giving it to the open soutce community but the J2EE community (JSR-227)
    Frank

  • BPM + ADF list of elements

    Hello,
    I have a problem with this, I'm using BPM 11g (11.1.1.5FP) and I want to process a certain list of items.
    Problem is that, although for BPM this is easy, it seems ADF has problems reading this.
    I'll show you what I mean:
    If I try getting the InputValue from elements 1,2,3,4,5,6,7 in my ADF, and no problem, but elements 8 & 9 seems to be Null every time, doesn't matter if my list was completly initialized in BPM, and has 9 elements 4, all of them with their element 6 created and each element 6 has both element 8 and 9 with values setted.
    *************** In my XSD file **************
    >
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="element1" type="xsd:string"/>
    <xsd:element name="element2" type="xsd:string"/>
    <xsd:element name="element3">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="element4" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="element5" type="xsd:string"/>
    <xsd:element name="element6">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="element8" type="xsd:string"/>
    <xsd:element name="element9" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="element7" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    ************* In my PAGEDEF file **************
    <accessorIterator MasterBinding="element3Iterator" Binds="element4"
    RangeSize="25" DataControl="TestRoberto_UI_Humantask1"
    BeanClass="TestRoberto_UI_Humantask1.element4xyfmbwt0"
    id="element4Iterator"/>
    <tree IterBinding="element4Iterator" id="element4">
    <nodeDefinition DefName="TestRoberto_UI_Humantask1.element4xyfmbwt0"
    Name="element40">
    <AttrNames>
    <Item Value="element5"/>
    <Item Value="element7"/>
    </AttrNames>
    <Accessors>
    <Item Value="element6"/>
    </Accessors>
    </nodeDefinition>
    <nodeDefinition DefName="TestRoberto_UI_Humantask1.element6xyfmbwt0"
    Name="element41">
    <AttrNames>
    <Item Value="element8"/>
    <Item Value="element9"/>
    </AttrNames>
    </nodeDefinition>
    </tree>
    ********** My ADF Table in my JSPX file **************
    <af:table value="#{bindings.element4.collectionModel}"
    var="row" rows="#{bindings.element4.rangeSize}"
    emptyText="#{bindings.element4.viewable ? 'No data to display.' : 'Access Denied.'}"
    fetchSize="#{bindings.element4.rangeSize}"
    rowBandingInterval="0" id="t3">
    <af:column headerText="Element5"
    id="col1">
    <af:inputText value="#{row.bindings.element5.inputValue}"
    id="itCol1">
    </af:inputText>
    </af:column>
    <af:column headerText="Element7"
    id="col2">
    <af:inputText value="#{row.bindings.element7.inputValue}"
    id="itCol2">
    </af:inputText>
    </af:column>
    <af:column headerText="Element8"
    id="col3">
    <af:inputText value="#{row.bindings.element8.inputValue}"
    id="itCol3">
    </af:inputText>
    </af:column>
    <af:column headerText="Element9"
    id="col4">
    <af:inputText value="#{row.bindings.element9.inputValue}"
    id="itCol4">
    </af:inputText>
    </af:column>
    </af:table>
    ******* ERROR *************
    <Mar 15, 2012 12:18:06 PM GMT+03:00> <Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator>
    <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #1
    javax.el.PropertyNotFoundException: Target Unreachable, 'element8' returned null
    at com.sun.el.parser.AstValue.getTarget(Unknown Source)
    at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
    at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
    at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
    at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.renderDataCell(BaseColumnRenderer.java:1333)
    at oracle.adfinternal.view.faces.renderkit.rich.table.BaseColumnRenderer.encodeAll(BaseColumnRenderer.java:104)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:400)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.renderDataBlockRows(TableRenderer.java:1952)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._renderSingleDataBlock(TableRenderer.java:1613)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer._handleDataFetch(TableRenderer.java:1017)
    at oracle.adfinternal.view.faces.renderkit.rich.TableRenderer.encodeAll(TableRenderer.java:506)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at org.apache.myfaces.trinidad.component.UIXCollection.encodeEnd(UIXCollection.java:540)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils$EncodeChildVisitCallback.visit(InvokeOnComponentUtils.java:113)
    at org.apache.myfaces.trinidadinternal.context.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:222)
    at org.apache.myfaces.trinidad.component.UIXIterator.visitTree(UIXIterator.java:251)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:326)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at oracle.adf.view.rich.component.rich.RichDocument.visitTree(RichDocument.java:198)
    at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:443)
    at oracle.adfinternal.view.faces.util.rich.InvokeOnComponentUtils.renderChild(InvokeOnComponentUtils.java:43)
    at oracle.adfinternal.view.faces.streaming.StreamingDataManager._pprComponent(StreamingDataManager.java:757)
    at oracle.adfinternal.view.faces.streaming.StreamingDataManager.execute(StreamingDataManager.java:525)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:3489)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1458)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:938)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:267)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:191)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:800)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    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:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:447)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:213)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:176)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    In the future Swing related questions should be posted in the Swing forum.
    As I understand the question you want to display 2 pieces of information in each row.
    If you know the difference between a JList and a JTable you should be able to answer your own question.

  • 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

  • Navigate XML document as tree

    Hi Otn,
    Can you help me! if is possible to navigate a specifed XML document as editable Tree / table tree using ADF components or using any another JSF component.
    Thanks in advance :)))

    hi user13326790
    "A URL service data control is an Oracle ADF data control for URL services, such as XML files that can be accessed through a URL. ...", see "Use a URL Service Data Control"
    at http://www.oracle.com/technetwork/developer-tools/jdev/ccset10-all-091120.html
    But "H.1 Introduction to Data Controls" in the Developer's Guide for ADF says about the "URL Service Data Control":
    "... This type of data control is not updateable. ..."
    at http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/appendix_datacontrols.htm#ADFFD22257
    Possibly the other types of Data Controls can be "programmed" to provide updateable access to an XML document, but can't immediately suggest a "preferred" approach.
    (tip : You can use "Your Control Panel" to make your name visible in forum posts.)
    regards
    Jan Vervecken

Maybe you are looking for

  • How do I install purchased software without a disk drive?

    We recently bought Elements 12 + Premiere Elements 12 with the intention of buying a new computer. But now our new iMac doesn't have a disk drive. How do I install the software? On the site I only see options for trial versions or to buy the products

  • What is the format of 0calmonth data in flat file

    Hi, What is the format  for  0calmonth field data  in flatfile to load data in to cube. Thanks .

  • How to model groups/members that are many to many using logical dimension?

    This is the RPD support for cascading prompts in BI Answers. In our data model, we have agentgroups and agents, connected by an agentgroupbridge. Since agents can be in more than one group, the relationship is many:many. We'd like to be able to inclu

  • How to create the Exit Variable

    Dear all, I want to create the exit Variables  for query. But How to create the exit variables. Dose Anyone could share some document? Thanks Best regards, Leon

  • Promise 20376 SATA Raid Controller Drivers?

       Hi I'm trying to install WinXP with an K7N2GM2 - ILSR board and I'm having problems with the SATA drivers I've downloaded (from http://www.msi.com.tw/program/support/driver/dvr/spt_dvr_list.php?part=1&kind=4&CHIP=4&COM=19). The 'make disk' instruc