af:tree leaf nodes

Is there a way to display leaf nodes in an <af:tree> differently, so that they don't look like they can be expanded?
I'm using an <af:tree> component with an ADF tree binding. There's just one source collection, with a self-join (that is, the single accessor rule returns different elements from that collection).
The problem is that every node in the tree is expandable, including the leaf nodes (that is, the ones with no children). When the user expands them, nothing happens except a change in the icon (as you might expect), but I'd rather not provide the icon at all, or provide a different icon, to discourage expansion.
I actually have an attribute in my collection that can act as a discriminator--I happen to know that all and only rows with TypeIndicator="W" will have children. But my attempts to use the "polymorphic rule" functionality in the tree binding editor don't seem to work--it simply doesn't show any children of the top-level nodes at all.
Help would be much appreciated.

Mmm...sorta. Here's what I've done so far.
I've created a class, let's call it CustomTreeModel, that extends the (abstract) class TreeModel. I've given it a private field:
private final TreeModel mTree;and a constructor:
public CustomTreeModel(TreeModel tree) {
    mTree = tree;
}Then, I've overridden every method but one in TreeModel to delegate to mTree. For example:
public void setRowIndex(int i) {
    mTree.setRowIndex(i);
}The one exception is the method isContainer, which I've implemented this way:
public boolean isContainer() {
    return (mTree.isContainer() && (! mTree.isContainerEmpty()));
}The idea here is that the class wraps a tree, except that it claims that empty containers aren't containers at all (so they should be treated as leaves).
Then, rather than bind my <af:tree> to #{bindings.MyTreeBinding.treeModel}, I bound it to #{myBackingBean.treeModelWrapper}, and created a backing bean with bean name myBackingBean. Here's what I did in the backing bean:
1) Added a managed property, bindings, of type BindingContainer and value #{bindings}, and added a BindingContainer field, bindings, to the backing bean class.
2) In the bean class, added a TreeModel field, treeModelWrapper.
3) Changed the getter for treeModelWrapper so it looked like this (this is inexact, I don't have access to my code right now).
public TreeModel getTreeModelWrapper() {
    Map myTreeBinding = (Map) getBindings().getControlBinding("MyTreeBinding");
    TreeModel oldTreeModel = (TreeModel) myTreeBinding.get("treeModel");
    return new CustomTreeModel(oldTreeModel);
}That worked, inasmuch as the general structure of the tree looked about right, and leaf nodes showed up as leaf nodes.
There are two problems with it. A little one and a big one.
Little: It degrades performance significantly. Not surprising, since I assume isContainerEmpty() is a more resource-intensive method than isContainer(), and we're calling it a lot more often now. There's probably no way around this.
Big: The data seems...a bit messed up. Most of it looks right, but I'm getting weird occasional spurious child nodes (meaning that occasionally a copy of a node is showing up in a container where it doesn't belong). Since the tree is based on a self-referential relationship, that occasionally leads to infinite loops (node A and node B show up inside one another, so you can just keep expanding downwards for ever). I can't for the life of me figure out why this is.

Similar Messages

  • Populate a canvas when a tree-leaf node is clicked

    I'm trying to populate a canvas or a list container with
    images when a tree-leaf node is clicked. I got the tree control
    working alright so far (populated via an external XML) but I'm
    having a hard time figuring out how to populate the adjacent
    container when a leaf node from a tree is clicked by a user. I know
    I'm supposed to code this in the 'change' event but am having a
    difficult time trying to figure out how to do this. I looked at the
    source code in some of the sample apps but I couldn't find anything
    that resemble what I'm trying to do.
    Since each leaf node would be unique, each one of them would
    trigger an external load of images (via http service) ... and so
    the url would be unique as well for each.
    'Appreciate the help from anyone who could help.
    Thanks.

    Thanks for the quick response Tracy ...
    Actually, I don't have mage load part coded yet :) ... I do
    have a somewhat general idea on how it should be coded though (i
    think, hehe). I'm thinking the selected item in the leaf node would
    have the data for the 'url' or 'folder location' of the images that
    would have to be retrieved and displayed in the canvas. I'm just
    not sure how to go about diplaying them in the canvas. Do I have to
    load them in some sort of array first and then datasourced it for
    my canvas? Not really sure how to go about doing it ... 'am totally
    newbie with Flex and just learning it by going through the online
    help and looking at the codes on some of the sample apps.
    Thanks again.
    pixelflip

  • How to Find the node or leaf node selected in Tree UI element:

    Hi All,
    I have a tree structure with three level design. We have a button, which will perform some operation on the specific node or leaf node on every level.
    When we select any node or leaf node, we have action Onction getting called.  But what we want is that, after we select the node or leaf node,  we press a button below the tree design and perform some operation on the node selected.
    But how to get information that on Application , which node or leaf node has been slected ?
    Thanks
    PG

    Hi,
    Found the solution.
    Juts keep on reading all the nodes, system gives the complete path of the tree by using Lead selection and then we can use this path to peform the update operation on tree structure.
    Thanks alot for the hint.
    Regards
    PG

  • How to make the leaf node of the APEX tree downloadable

    Hi All,
    I am trying to build a "library" page for my application, with the documents as the leaf nodes of the tree. The documents come from a database table, and each document is a BLOB.
    My question is, how should I write the "link" part of the APEX tree query to make the lead node document downloadable for the end users?
    Thanks,
    Christine

    Hilary helped me out of this by creating a new form page with two new items there corresponding to the PK and BLOB column, then in the tree query use apex_util.get_blob_file_src function as the link. Below is the email from Hilary:
    1. Created Form, page 13, based upon your table storing the documents as BLOBs. The form page has just two associated items: P13_DOC and P13_DOC_ID. The item P13_DOC is of type FILE and contains a source type of DB column, which is the first required parameters of the function get_blob_file_src. NOTE: I could have created a form region on the same page as your tree, but chose to generate a separate page. You may choose to change this yourself.
    2. Updated the Tree query on pg 12 to use the following link for tree nodes of level 4:
    apex_util.get_blob_file_src('P13_DOC',v.attr3)
    ...where P13_DOC is the application page item mentioned in step 1 above, and v.attr3 should hold the unique ID associated with the document. Your tree now allows users to download the listed documents.

  • ADF 10.1.3.0.4: tree leaf with no child nodes still displays folder icon?

    I was reading through Frank Nimphius's Blog and found the entry entitled "ADF Faces: Building a hierarchical tree from recursive tables - October 05, 2006" and found a tree example in which a tree leaf with no child nodes do not display the folder icon.
    I've followed the instructions listed with adf:tree, CoreTree and ChildPropertyTreeModel, but my tree leaves with no child nodes still displays the folder icon.
    How do I remove this icon when the node is a leaf with no children?
    Thanks,
    --Todd                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I figured it out.
    I used the ChildPropertyTreeModel.isContainer() method.
    --Todd                                                                                                                                                                                           

  • Leaf node Hierarchy based on tree position

    Hi All,
    I need to find the Hierarchy of given leaf node. Can you please help me. Here are details
    create table t_rk_4 (child_id number, parent_id number, treenum varchar2(100));
    insert into t_rk_4 values (2,1,'1');
    insert into t_rk_4 values (3,1,'1');
    insert into t_rk_4 values (6,2,'1.2');
    insert into t_rk_4 values (7,6,'1.2.6');
    insert into t_rk_4 values (4,3,'1.3');
    insert into t_rk_4 values (5,4,'1.3.4');
    insert into t_rk_4 values (7,5,'1.3.4.5');
    insert into t_rk_4 values (8,7,'1.2.6.7');
    insert into t_rk_4 values (4,9,'1.9');
    insert into t_rk_4 values (9,1,'1');
    In the above date, child 8's parent is 7 only in case if tree context 1.2.6.7
    select child_id,parent_id connect_by_isleaf,level,lpad(' ',level*3)||a.child_id
    from t_rk_4 a
    start with child_id = 8 connect by child_id = prior parent_id ORDER SIBLINGS BY child_id;
    when I run the above query I am getting all tree contexts,
    Is there a way I can only get tree positins thru 1.2.6.7 ?
    In real table I have more than 1 million records..
    Any help would be helpful..
    Thanks
    ay.

    Hi,
    Welcome to the forum!
    Thanks for posting the CREATE TABLE and INSERT statements! It clarifies things a lot and makes it much easier to reply.
    Another very helpful thing is to post the results you want from the data you posted. In this case, I think you want:
    . CHILD_ID  PARENT_ID CONNECT_BY_ISLEAF      LEVEL INDENTED
             8          7                 0          1    8
             7          6                 0          2       7
             6          2                 0          3          6
             2          1                 1          4             2Is that right?
    Notice how multiple spaces are not compressed in the section above. That's because I typed &#123;code&#125; (all small letters, in curly brackets) before and after that section.
    To get those results, I just added one line to your CONNECT BY clause, saying that the parent's treenum has to be the first part of the child's treenum:
    SELECT     child_id
    ,     parent_id
    ,     CONNECT_BY_ISLEAF
    ,     LEVEL
    ,     LPAD (' ', LEVEL * 3) || a.child_id     AS indented
    FROM     t_rk_4     a
    START WITH     child_id = 8
    CONNECT BY     PRIOR parent_id     = child_id
    AND          PRIOR treenum     LIKE treenum || '.%'     -- *** NEW CONDITION ***
    ORDER SIBLINGS BY     child_id;What do you want to do if the node you're starting with has two (or more) parents?
    If we START WITH child_id = 7, the query above produces this output:
    . CHILD_ID  PARENT_ID CONNECT_BY_ISLEAF      LEVEL INDENTED
             7          5                 0          1    7
             5          4                 0          2       5
             4          3                 0          3          4
             3          1                 1          4             3
             7          6                 0          1    7
             6          2                 0          2       6
             2          1                 1          3          2That is, there are two rows in the table with child_id = 7, so the query shows two lines of ascent. The alternate route, going through the node with child_id = 9, is not shown. Is that what you want?

  • Displaying leaf nodes at the bottom of a tree that has parent nodes

    I have a problem in that - leaf nodes added to the tree at the bottom appear with big spaces (vertically) between them. It looks as if the nodes are somehow expanded by default!
    Is this a known issue with leaf nodes that are added in below parent nodes?
    I notice in the normal hierarchy the leaf nodes are displayed fine. Also if I return false on isleaf() it displays the last 3 nodes as expandable icons but they're still lage gaps between them.
    this is an example of what i'm getting
    Main �
    +Parent Node(expandable)
    |
    +Parent Node(expandable)
    |
    +Parent Node(expandable)
    |
    |
    |_leaf node (not expandable)
    |
    |
    |_leaf node (not expandable)
    |
    |
    |_leaf node (not expandable)

    You got my interest with your topic subject as I'm working on a library which simplifies the development with Swing trees. However everyone here except you knows nothing about your "anormal hierarchy" which creates you problem.
    Denis Krukovsky
    http://sourceforge.net/projects/dotuseful/

  • Regarding Leaf node indentation in tree

    Hi All,
    I need solution for indenting leaf nodes alone  in  Tree.
    regards,
    karthik

    Hi,
    Found the solution.
    Juts keep on reading all the nodes, system gives the complete path of the tree by using Lead selection and then we can use this path to peform the update operation on tree structure.
    Thanks alot for the hint.
    Regards
    PG

  • How to ensure a hierarchy tree's node is a internal leaf???????

    as the title,if the node has the property to indecate it is a internal leaf!

    Hi
    To create an internal leaf node for a hierarchy tree item:
    1. In the hierarchy tree, select the parent node for which you want to
    create an internal leaf.
    2. Right-click on the node and choose Create Internal Leaf from the
    context menu, or choose Tree > Create Internal Leaf from the main
    menu.
    3. MDM adds an internal leaf node named u201C[parent]u201D as the first child of
    the selected node.
    NOTE ►► The name of the internal leaf node is the name of the
    parent node in square brackets ([]).
    For more details refer to pages 333 onwards in Data manager reference guide.
    best regards
    Ravi

  • APEX Tree.  Keep focus on expanded leaf node.

    How do I prevent my tree from jumping back to the top when I expand a leav node that is below the screen scroll. I have a single parent of CORP with about 30 leaf nodes as its direct children. I have to scroll down to expand a node towards the bottom of the list. When I scroll down and expand, the page refreshes and jumps back to the top so now I have to scroll down again to expand the next node, etc. My current Tree Qurey is like
    select CHILD_ID id,
    PARENT_ID pid,
    CASE WHEN CHILD_ID = :P23_TARGET THEN
    CASE WHEN :P23_STATUS = 'Target Up' THEN
    '<span styl="color:green;">' || ITEM_NAME || '</span>'
    ELSE ITEM_NAME
    END
    ELSE
    ITEM_NAME
    END name,
    'f?p=&APP_ID.:23:'||:SESSION||'::NO::P23_TARGET:'||CHILD_ID link,
    null a1,
    null a2
    from CORP_SVR_HRCHY_VW

    Hi,
    You have to use the Anchor ID functionality of a browser - this allows you to add #id to the end of the url where id refers to the id attribute of the item that should receive the focus when the page is reloaded.
    As an example: [http://apex.oracle.com/pls/otn/f?p=33642:200]
    This, of course, requires a bit of setting up, but is easily doable.
    For this example, my SQL statement for the tree is:
    SELECT 1 ID, NULL PID, 'Top' NAME, NULL LINK, NULL A1, NULL A2 FROM DUAL
    UNION ALL
    select "EMPNO" id,
           1 pid,
           "ENAME" name,
           'f?p=' || :APP_ID || ':200:' || :APP_SESSION || '::::P200_EMPNO:' || EMPNO || '#node' || EMPNO link,
           'node' || EMPNO a1,
           null a2
    from "#OWNER#"."EMP"You will note that the URL contains *'#node' || EMPNO* at the end of the link - for an EMPNO of 1234, this would add *#node1234* to the end of the URL. You will also note that I've added *'node' || EMPNO* to the A1 column - whatever I add into this column becomes available for use in the output by referencing it as #A1# in the template. On the tree's template definition, wherever there is an A tag, I've included:
    ID="#A1#"as an attribute of the tag. For example, on the "Name Link Anchor Tag" setting, I have:
    &lt;a href="#LINK#" ID="#A1#"&gt;#NAME#&lt;/a&gt;and, wherever #A1# appeared outside of an A tag, I have removed it (otherwise, the "node1234" text would appear at that point in the page).
    Andy

  • Tree's leaf node as commandLink throws up error

    Hello,
    I have a tree component in a .jsff. This tree has its leaf node as a af:commandlink. The command link component has an actionListener and action methods configured. When a leaf node is clicked for the first time we are seeing an ADF Faces message that there is a NPE turning up. The messages in the logs are
    WARNING: ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2
    Throwable occurred: javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
    Caused by: java.lang.NullPointerException
         at oracle.adf.model.binding.DCBindingContainer.callAfterRowNavigated(DCBindingContainer.java:2542)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalSetCurrentRow(JUCtrlHierNodeBinding.java:591)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalSetCurrentRow(JUCtrlHierNodeBinding.java:558)
    Upon clicking the OK button, the navigation continues fine; indicating that the actionListener and the action methods are fine. I have confirmed this with diagnostic messages in the server logs(thanks ADF Logging!)
    Subsequent clicks on the same or other leaf nodes do not throw this error.
    Has anyone seen this kind of behaviour or could anyone help me understand what is going wrong.
    Thanks in advance.
    Nachi

    Just an update, enabled logging on the adfinternal classes to see the following in the log files.
    [2013-03-20T13:47:28.983+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: popContextChange] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] Context change about to be be popped. Current stack size: 1
    [2013-03-20T13:47:28.983+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.controller.util.LogUtils] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: stopCurrentEvent] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.util.LogUtils] TimedEvent Stack is empty!
    [2013-03-20T13:47:28.984+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: pushContextChange] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] Context change about to be pushed. Current stack size: 0
    [2013-03-20T13:47:28.984+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: pushContextChange] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] Context change about to be pushed. Current stack size: 1
    [2013-03-20T13:47:28.984+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: popContextChange] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] Context change about to be be popped. Current stack size: 2
    [2013-03-20T13:47:28.985+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: popContextChange] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl] Context change about to be be popped. Current stack size: 1
    [2013-03-20T13:47:28.985+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for public listener 'oracle.adf.controller.internal.debug.AdfLifecycleBreakpointFacadeFwk'.
    [2013-03-20T13:47:28.985+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.view.faces.activedata.FacesBindingRewiringListener'.
    [2013-03-20T13:47:28.986+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.model.SaveStateTokenListener'.
    [2013-03-20T13:47:28.986+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.model.DispatchContextualEventListener'.
    [2013-03-20T13:47:28.986+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.model.UpdateBindingListener'.
    [2013-03-20T13:47:28.986+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.debug.ActivityBreakpointFacadeImpl'.
    [2013-03-20T13:47:28.987+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.SaveStateListener'.
    [2013-03-20T13:47:28.987+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.NewWindowStateListener'.
    [2013-03-20T13:47:28.987+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.PageParameterPagePhaseListener'.
    [2013-03-20T13:47:28.988+00:00] [WC_CustomPortal_2] [TRACE:32] [] [oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: afterPhase] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper] ADFc: afterPhase 'jsfApplyRequestValues' for listener 'oracle.adfinternal.controller.application.SyncNavigationStateListener'.
    [2013-03-20T13:47:28.988+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.controller.util.LogUtils] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: stopCurrentEvent] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.util.LogUtils] TimedEvent Stack is empty!
    [2013-03-20T13:47:28.988+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.controller.engine.ControlFlowEngine] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: handleException] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.engine.ControlFlowEngine] ADFc: Handling exception [java.lang.NullPointerException]
    [2013-03-20T13:47:28.988+00:00] [WC_CustomPortal_2] [TRACE] [] [oracle.adfinternal.controller.engine.ControlFlowEngine] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [SRC_METHOD: handleException] [URI: /jlpportal/faces/navigator] [SRC_CLASS: oracle.adfinternal.controller.engine.ControlFlowEngine] ADFc: No exception handler found.
    [2013-03-20T13:47:28.989+00:00] [WC_CustomPortal_2] [WARNING] [] [oracle.adfinternal.view.faces.lifecycle.LifecycleImpl] [tid: [ACTIVE].ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: 12057258] [ecid: 000001qO8s^B5EHMyuicMG00M03c001C7A,0:1] [APP: XXJLPPartnerLinkApp#V2.0] [URI: /jlpportal/faces/navigator] ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2[[
    javax.el.ELException: java.lang.NullPointerException
         at com.sun.el.parser.AstValue.invoke(Unknown Source)
         at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodExpression(UIXComponentBase.java:1300)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:225)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:148)
         at org.apache.myfaces.trinidad.component.UIXTree.broadcast(UIXTree.java:232)
         at oracle.adf.view.rich.component.rich.data.RichTree.broadcast(RichTree.java:248)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:357)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         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:56)
         at oracle.security.wls.filter.SSOSessionSynchronizationFilter.doFilter(SSOSessionSynchronizationFilter.java:276)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at xxjlp.oracle.apps.por.portal.filter.XXJLPIECompatibilityOverrideFilter.doFilter(XXJLPIECompatibilityOverrideFilter.java:39)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at xxjlp.oracle.apps.por.portal.filter.XXJLPCustomFacesFilter.doFilter(XXJLPCustomFacesFilter.java:424)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(AccessController.java:284)
         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:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         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:1459)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: java.lang.NullPointerException
         at oracle.adf.model.binding.DCBindingContainer.callAfterRowNavigated(DCBindingContainer.java:2542)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalSetCurrentRow(JUCtrlHierNodeBinding.java:591)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalSetCurrentRow(JUCtrlHierNodeBinding.java:558)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.syncCurrentRow(JUCtrlHierNodeBinding.java:529)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.setRowAsCurrentOnTargetIterator(JUCtrlHierNodeBinding.java:543)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.setRowAsCurrentOnTargetIterator(FacesCtrlHierNodeBinding.java:129)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$FacesModel.makeCurrent(FacesCtrlHierBinding.java:488)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
         at java.lang.reflect.Method.invoke(Method.java:611)
         ... 75 more
    Appreciate any help on this one. thanks!

  • ADF TreeTable - How to hide Disclose/Expand icon for leaf node

    We are using ADF Tree Table in our application.
    Whenever a node is expanded - all the child nodes have the disclose/expand icon along with it.
    But, we don't want to show the disclose/expand icon if it is a leaf node.
    How can this be done?
    JDeveloper Version: JDeveloper 11.1.1.3
    Thanks,
    Navaneeth

    I have a hierarchical tree based on single POJO based class exposed as data control.
    (i.e) a node can have many levels.
    Can you specify how we can use the folder icon for this - Can you please provide some detailed information?
    Thanks in advance,
    Navaneeth

  • How to get the leaf node in a hierachy????

    if i get a record that a parent node in a hierachy table ,so how can i get the leaf node of this parent node quicklly?????thank you!

    Hi xuhuanjun ,
    Refer to the below threads which disucss the same.
    Re: how to ensure a hierarchy tree's node is a internal leaf???????
    Re: Retrieve Hierarchy Leaf Node using API.
    Hope it helps.
    Thanks,
    Minaz

  • Hierarchy VIewer - Card only on Leaf nodes

    I am using version 11.1.2.3.0.
    Is there a way to show a Card only on the leaf nodes of the Hierarchy VIewer?
    I have information that only applies to the nodes on the very bottom of the tree.
    Thanks in advance.

    This should be possible.
    I've not tested this but you can use the rendered property of the panelCard component and set it to an EL which evaluates to false is the node has children (node.hasChildren? or some other data which lets you know if you want to show the card).
    If this does not work you leaf the rendered property as is and use the visible or rendered property of the component which holds the information you only want to show in leaf nodes.
    Timo

  • Hierarchical query - Stop at specific leaf nodes - How to in Oracle 9i ?

    Table H -- Master table to build Hierarchical tree
    C -- Child
    P -- Parent
    Table RN -- Table defining Root Nodes
    N -- Node
    Table LN -- Table defining Leaf Nodes
    N -- Node
    The following Query can generate trees starting with the nodes specified in the Table:RN
    SELECT LEVEL L, C, P, SYS_CONNECT_BY_PATH(C,'/') SCBP
    FROM H
    START WITH C IN ( SELECT N FROM RN )
    CONNECT BY PRIOR C = P
    How do I limit the tree to the nodes specified in the LN table ?
    "CONNECT BY" does not support "IN" clause
    i.e
    CONNECT BY PRIOR C = P AND P NOT IN (SELECT N FROM LN)
    Say we have 2 trees
    1-2-3-4-5
    A-B-C-D-E
    RN : 2,B
    LN : 5,D
    Result:
    2,3,4 (5 is excluded)
    B,C (D is excluded)
    Any help is appreciated...

    What about:
    select level l, c, p, sys_connect_by_path(c,'/') scbp
      from (select * from h
             where c not in (select n from ln))  -- filter via an inline view
    start with c in ( select n from rn )
    connect by prior c = p;

Maybe you are looking for

  • Lenovo 3000 n200 0769 keyboard problem

    hey all recently i tackled in a strange problem in my keyboard my left-alt, escape key, ad the combination of right-alt+shift to switch languages doesn't work the combination works only once, and only to change from english to other language but not

  • How to smooth dropped frames and remove duplicate frames?

    What I'm trying to do is smooth out some footage of a game I recorded, which has slight framerate lag and stutters and what not.  What is the best way to smooth the footage out?  or at least make it look better.  Frame blending isn't doing anything a

  • How to monitor transactions in OEM

    Hi All, Can anyone please tell me how can I monitor transactions in OEM 12c Cloud Control? Thanks in Advance!!

  • Can you take sofeware written on one computer and use it on another.

    We have a problem with the apllication maybe or the gpib. The apllication was working on one computer, but we change out that computer now we can get the program to work. A error message is generated (-107---) and fail to set up the test equipment.

  • Do I have to deploy plugin module?

    Hi, All. I setup EM12cR3 and will discover exadata&db. so I've deployed agent on db node. now, I will try discover exadata and db. so do i have to deploy xd&db plugin module on agent? thanks in advance. Regards,.