Tree nodes will not collapse.

I have a tree that shows what to expect, but will not collapse the subnodes.

The root is a customer number.
Below that is the lines of products that the customer has purchased.
The product lines here are the items in these product lines. These are the nodes.

The node root, customer number will be very well expand/collapse.
Product line nodes will not collapse. When the root node is expanded product line nodes appear expanded, but they will not collapse.

The maximum levels is equal to 3. When I set the Max levels to 2 then the prod line nodes are reduced, but they don't develop.

I see the tree at the http://htmldb.oracle.com/pls/otn/f?p=33642:12 factory where I expect mine to work.

Any ideas on how to get my nodes collapse?

Thank you
Gregory

Hi Gregory,

I discovered the reason for the problem. It's the + symbols in your credentials. When adding in a URL, they are dealt with, in many cases, as spaces (the same that if you put a + between the two words in a search engine). So when you click the collapse icon, the used value ends in a space rather than a + and, as it does not match any ID on your table, no collapse does actually take place.

I created a second page: http://htmldb.oracle.com/pls/otn/f?p=55041:4

This includes SQL according to the definition of the tree:

select REPLACE(ID, '+', '_') id,
       REPLACE(PID, '+', '_') pid,
       NAME name,
       null link,
       null a1,
       null a2
from "#OWNER#"."GREGORY"

Collapse now works because all the +'s were converted to of _

Andy

Tags: Database

Similar Questions

  • Navigation bar will not collapse.

    I downloaded a NAV. "bootstrap" but for some reason any. My nav will not collapse. I read somewhere that he needs java script. is this true?

    his charisma

    <! DOCTYPE html >

    < html lang = "" >

    < head >

    < meta charset = "UTF-8" >

    < meta name = "viewport" content = "width = device-width, original scale = 1.0" >

    < name meta = "description" content = "" >

    < name meta = "author" content = "" >

    charisma < title > < /title >

    < link rel = "shortcut icon" href = "" >

    " < link rel ="stylesheet"href =" https://MaxCDN.bootstrapcdn.com/bootstrap/3.3.6/CSS/bootstrap.min.CSS ">

    " < link rel ="stylesheet"href =" https://MaxCDN.bootstrapcdn.com/bootstrap/3.3.6/CSS/bootstrap-theme.min.CSS ">

    < link rel = "stylesheet" type = "text/css" href = "your_custom_stylesheet.css" media = "screen" / > "

    < style >

    < / style >

    <!-[if IE] >

    " < script src =" https://cdnjs.cloudflare.com/AJAX/libs/html5shiv/3.7.3/html5shiv.min.js "> < / script > .

    " < script src =" https://cdnjs.cloudflare.com/AJAX/libs/respond.js/1.4.2/respond.min.js "> < / script > .

    <! [endif]-->

    < / head >

    < body class = "container" >

    < class header 'row' = >

    < div class = "col-xs-12" >

    < h3 > < a > Communications charisma < /a > < / h3 >

    < h5 > «...» Moving people beyond their limits... "< / h5 >

    < nav class = "navbar, navbar-light bg-faded" >

    < ul class = "navbar-nav nav" >

    < class li = 'nav-element' active >

    < p > < a class = "nav-link" href = "#" > HOME < span class = "sr only" > (ongoing) </span > < /a > < /p >

    < /li >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > BIOGRAPHY < /a > < /p >

    < /li >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > < /a > PRESENTATIONS

    < /p >

    < /li >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > < /a > TESTIMONIALS

    < /p >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > < /a > VIDEOS/photos

    < /p >

    < /li >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > PLANNING AN EVENT < /a >

    < /p >

    < /li >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > MY BLOG < /a >

    < /p >

    < /li >

    < class li = "item-nav" >

    < p > < a class = "nav-link" href = "#" > CONTACT < /a >

    < /p >

    < /li >

    < /ul >

    < / nav >

    < / div >

    < / header >

    < class main 'row' = >

    < side class = "col-md-3" >

    < div id = "img-reagent" >

    < p > < img class = "img-reagent" src = "images/verticalmenu.png" alt = "Vertical menu" / > < / p > "

    "< img src =" images/twitter.png"width ="35"height ="35"alt =" "/ > < img src =" images/linkedin.png "width ="35"height ="35"alt =" "/ > < img src ="images/google.png"width ="43"height ="37"alt =" "/ >"

    < / div >

    < / side >

    < section class = "col-md-9" >

    < img class = "img-reagent" src = "images/preview1.jpg" alt = "Photo Head Shot of Louis Gaudry" / >

    < / item >

    < / hand >

    < footer class 'row' = >

    < div class = 'text-collar-xs-12 Center' >

    < a href = "biography.html" > < /a > motivational speaker | < a href = "aboutus.html" > < /a > Web development

    < br > charisma Communications 2016. All rights reserved.

    < / div >

    < / footer >

    " < script src =" https://AJAX.googleapis.com/AJAX/libs/jQuery/1.11.3/jQuery.min.js "> < / script > .

    " < script src =" https://MaxCDN.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js "> < / script > .

    < / body >

    < / html >

    I have my Nav bar all fixed and running. I have a question. When a person displays it on a computer. can show the navigation ready. instead of clicking the icon of hamburger?

    his charisma

  • Spry menu bar will not collapse.

    When I open a page in Dreamweaver CS5.5, the menu bar code like this

    "" < script src = "... / SpryAssets/SpryMenuBar.js" type = "text/javascript" > < / script >

    "" < link href = "... / SpryAssets/SpryMenuBarHorizontal.css" rel = "stylesheet" type = "text/css" / >

    "" < link href = "... / SpryAssets/SpryMenuBarVertical.css" rel = "stylesheet" type = "text/css" / >

    < / head >

    and low it

    < script type = "text/javascript" >

    <!--

    var MenuBar1 = new Spry.Widget.MenuBar ("MenuBar1", {imgDown: "..."}) "" / SpryAssets/SpryMenuBarDownHover.gif ', imgRight: ".. ({"/ SpryAssets/SpryMenuBarRightHover.gif"});

    ->

    < /script >

    < / body >

    < / html >

    and the menu bar and will not collapse.

    At first, I deleted the... / in front of the SpryAssets and the problem has been resolved, but this no longer works.

    I would like to know why this is happening - bar menus work on site, as soon as I copier copy on my computer, and then open them in DW, I have this problem

    So, I can not change/update all pages as the menu bar doesn't work.

    Windows 7 64 bit, Dreamweaver 5.5

    Thank you very much

    D

    This review the SpryAssets folder links ARE incorrect.

    They should be as below (WITHOUT the... / in front of them) that the page you look at (mother_and_baby_yoga.html) IS NOT in a subfolder of your main site folder:

    If your page was in a subfolder, then the links would require the... / in front of them.

  • ISE PSN node will not be joining the cluster

    Hi all

    Has anyone seen a problem where an NHP cannot join the cluster?

    We join node of PSN

    -Node is saved successfully (current synchronization)

    -1 hour later - node replication failure.

    -Replication synchronization failed because the secondary database is down

    I have a client where admin node and PSN are separated by the firewall.

    We let in two directions

    Admin <-->PSN

    ICMP

    HTTPS

    1521

    Firewall not showing drops.

    DNS and NTP are ok.

    Current topology is 1 NHP, 1 Admin node.

    Works very well in our test lab, but not clients environmnet.

    See you soon

    Peter.

    Thank you for the update we and good work on the search for the solution! You should probably mark it as resolved now

    In addition, it is quite rare (at least for me) for nodes of ISE to be separated by firewalls. There are a lot of ports/protocols that must be opened between them is usually more of a pain to manage. In addition, sometimes ports will change too. For example, the fueling port agent has been changed not too long ago...

    Thanks for the note!

  • My horizontal submenu will not collapse.

    I've updated my Web site at www.toolshedstudio.com and I use Dreamweaver 11 and my submenu collapsed very well under the menu 'Tool list' but then I made a few changes and all of a sudden it no longer works.  Any ideas?

    http://www.toolshedstudio.com

    I also have a white border all about the submenu that I can't get rid of.

    @charset "UTF-8";

    / * Sections - version 0.6 - Pre - Release Spry 1.6.1 * /.

    / * Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */

    /*******************************************************************************

    The AVAILABLE INFORMATION: Describes the box model, positioning, the order

    *******************************************************************************/

    / * The outermost container for the menu bar, an area of width auto without margin or padding * /.
    UL. MenuBarHorizontal
    {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font size: large;
    cursor: default;
    Width: auto;
    color: #FFF;
    background-color: #000;
    }
    / * Value of the menu bar active with this class, currently the definition of z-index to accommodate IE rendering bugs: http://therealcrisp.xs4all.nl/Meuk/IE-zindexbug.html */
    UL. MenuBarActive
    {
    z-index: 1000;
    }
    / * Menu item containers, position of children relative to this container and are a fixed width * /.
    UL. MenuBarHorizontal li
    {
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: medium;
    position: relative;
    text-align: left;
    cursor: pointer;
    Width: 9è;
    float: left;
    background-color: #FFFFFF;
    background-image: url(images/Wow_And_Flutter_Test_Tone-Spectrogram-Audio-Technica-LP2D-USB.png);
    left: 2em;
    }
    / * Submenus should appear under their parent (top: 0) with a higher z-index, but they are first the left side of the screen (-1000em) * /.
    UL. MenuBarHorizontal ul
    {
    margin: 0;
    padding: 0;
    list-style-type: none;
    do-size: 100%;
    cursor: default;
    Width: 8.2em;
    position: absolute;
    }
    / * Submenu that shows with the designation of the class MenuBarSubmenuVisible, we put the car left so it happens on the screen below its parent menu item * /.
    UL. MenuBarHorizontal ul. MenuBarSubmenuVisible
    {

    }
    / * Container of menu items are same fixed width parent * /.
    UL. MenuBarHorizontal ul li
    {
    Width: 8.2em;
    }
    / * Submenus should appear slightly overlapping to the right (95%) and upward (-5%) * /.
    UL. MenuBarHorizontal ul ul
    {
    position: absolute;
    margin:-5% 0 0 95%;
    visibility: visible;
    }
    / * Submenu that shows with the designation of the class MenuBarSubmenuVisible, we have left to 0, it is on the screen * /.
    UL. MenuBarHorizontal ul. MenuBarSubmenuVisible ul. MenuBarSubmenuVisible
    {
    left: auto;
    top: 0;
    }

    /*******************************************************************************

    INFORMATION DESIGN: Describes the set of colors, borders, fonts

    *******************************************************************************/

    / * Submenu containers have borders on all sides * /.
    UL. MenuBarHorizontal ul
    {
    border: 1px solid #CCC;
    }
    / * Menu items are a light grey block with padding and no text decoration * /.
    UL. MenuBarHorizontal a
    {
    display: block;
    cursor: pointer;
    background-color: #000;
    Padding: 0.5em 0.75em;
    color: #999;
    text-decoration: none;
    make-style: normal;
    do-size: 100%;
    }
    / Components menu that have mouse over or focus have a blue background and white text * /.
    UL. MenuBarHorizontal a: hover, ul. MenuBarHorizontal a: focus
    {
    background-color: #03C;
    color: #FFF;
    }
    / * Menu items that are opened with the submenus are on MenuBarItemHover with a blue background and white text * /.
    UL. MenuBarHorizontal a.MenuBarItemHover, ul. MenuBarHorizontal a.MenuBarItemSubmenuHover, ul. MenuBarHorizontal a.MenuBarSubmenuVisible
    {
    background-color: # 33;
    color: #FFF;
    }

    /*******************************************************************************

    Submenu INDICATION: styles if there is a submenu in a given category

    *******************************************************************************/

    / * Menu items that have a submenu have the MenuBarItemSubmenu class designation and are set to use a positioned background the far left (95%) and vertically centered image (50%) * /.
    UL. MenuBarHorizontal a.MenuBarItemSubmenu
    {
    background-image: url (SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }
    / * Menu items that have a submenu have the MenuBarItemSubmenu class designation and are set to use a positioned background the far left (95%) and vertically centered image (50%) * /.
    UL. MenuBarHorizontal ul a.MenuBarItemSubmenu
    {
    background-image: url (SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }
    / * Menu items that are opened with the submenus have the designation of the MenuBarItemSubmenuHover class and are set to use a background image "hover" positioned on the far left (95%) and centered vertically (50%) * /.
    UL. MenuBarHorizontal a.MenuBarItemSubmenuHover
    {
    background-image: url (SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }
    / * Menu items that are opened with the submenus have the designation of the MenuBarItemSubmenuHover class and are set to use a background image "hover" positioned on the far left (95%) and centered vertically (50%) * /.
    UL. MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    {
    background-image: url (SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 50 95%;
    }

    /*******************************************************************************

    BROWSER HACKS: hacks below should not be changed, unless you are an expert

    *******************************************************************************/

    / * HACK FOR IE: to ensure that sub menus show above form controls, underpin us each submenu with an iframe * /.
    UL. MenuBarHorizontal iframe
    {
    position: absolute;
    z index: 1010;
    Filter:alpha(opacity:0.1);
    }
    / * HACK FOR IE: to stabilize the appearance of the menu items. the slash in the float is to keep IE 5.0 analysis * /.
    @media screen, projection
    {
    UL. MenuBarHorizontal li. MenuBarItemIE
    {
    display: inline;
    f\loat: left;
    Background: #FFF;
    }
    }

    Add/Edit the following to your document

    ul.MenuBarHorizontal ul {
        position: absolute;
        left: -1000em;
    }
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible {
        left: auto;
    }
    

    GRAMPS

    PS Si you are, this will fix the white outline

    ul.MenuBarHorizontal li {
        left: 0;
    }
    
  • description interface LabVIEW node will not work when compiling

    Hello

    I have a vi that seeks VISA resources and focuses on their name of the interface to select that you connect to.

    I have a strange problem where, if I run the vi in labview it works fine. When the vi is compiled into an exe file, it does not work.

    I traced the problem to the property node "name of Inst Intf' which gives the description of the interface. In Labview, the node of this property returns the description of the interface, as expected.

    When I compile the vi, this node property returns empty strings.

    The station nearest you, that I could find to this kind of problem is it

    http://forums.NI.com/T5/instrument-control-GPIB-serial/why-visa-property-interface-information-inter...

    However, the exe is running as an administrator, so I don't think it's a problem with permissions.

    Any help would be greatly appreciated.

    I have no idea of what was the cause, but I uninstalled the device drivers for the hardware I used, reinstalled and then restarted the computer and now it works fine.

  • Folders in the files Panel will not be collapsed

    There are 2 files in my files Panel that will not be collapsed.  When I open Dreamweaver, they are developed.  If I click on the arrow next to them a few times they will eventually collapse, but then as soon as I open any other file or folder they will develop themselves.  First of all, it started when I was with Dreamweaver CS5 with an issue that refused to collapse. A year later, I had updated for Dreamweaver CS6, and now the 2 folders that would not stay collapsed. This morning I've updated for Dreamweaver CC, and again the same 2 files will not collapsed!

    I searched the forum and found people with the same number dating back to 2007, but have not yet find any solution.  A few people recommended to modify the Windows registry - but I'm on the Mac version.  Several people said they were lucky completely remove site settings and recreate - but that seems a little extreme, as well as several people have said that it has begun happening later with another folder!

    Does anyone have a permanent solution?

    Here are some other posts on this topic:

    http://forums.Adobe.com/message/4418090

    http://forums.Adobe.com/message/975917

    http://forums.Adobe.com/message/3596836

    http://forums.Adobe.com/message/938616

    http://forums.Adobe.com/message/809937

    -Just as an info.  If I rename the folder, it stops happening.  I can close and restart Dreamweaver and it remains collapsed. But as soon as I rename the file - even if I do it after the closing and reopening of the program - he begins to make once again!

    Not sure if it's related to be - but I saw in another post this setting only associated files to automatically, instead of manual, solved the problem.  I tried, without success.  I even tried several times to turn off the associated files (by unchecking the checkbox activate the associated files in the preferences), but it keeps re-enabling itself!

    As Jon Suggested, try to rebuild the site Cache

    Allow me to quote another user of DW

    "

    First let me add here that I have found that when I upgraded to the new version of creative cloud of DW and it imported my 12.0 site settings, the problem has followed these settings in version 13.0.

    IM on a Mac so these instructions should be taylored to the PC with regard to the location of the referenced file. And I don't know if it's still the same file on the PC. So I can only speak from my experience on Mac.

    I fixed my version 12.0 and my version 13.0 of this way.

    It was a 'Site Prefs"file damaged. I tried to fix it, but the entries where both involved that it was impossible that would work. So I deleted the file "Site" and leave the DW to recreate.

    In order to recreate the Site preferences file, it meant losing all my site settings.

    To make things less painful...

    1. Open DW and go in managing the Sites. Select all sites and do an export of all temporary files .ste, passwords and user names, in a folder and close DW.
    2. Now find the folder called "12.0" or 13.0 "in the/Sites / / Library/Application Support/Adobe/Common/12.0 (13.0 for the version of cloud) and rename it to"12.0_old"or something else. (Note: you may need to Option + clicking on the Menu go to the Finder in order to get the choice of the library to appear).
    3. She and reopen DW will recreate a new empty "Site Prefs" file. Go to "Manage Sites... ' and click on 'Import Site '. Select all the .ste files and import them.
    4. DW will update cache of the site the first time you open each site, and it might also ask you to give permission to access the password stored in the keychain you. Always choose "allow" for all of them.
    5. That's all. Now my corrupted folder open whenever I click another folder.

    Mac OS 10.7.5

    DW CS6 (12.0 build 5861) & and/or DW CC (13.0 build 6391)

    As I said, it worked very well for me. But use these steps at your own discretion.

    "

  • Tree nodes a white/contour

    Hello

    I use the ADF located inside of a panelGroupLayout tree.
    The panelGroupLayout has blue background ' clear '.
    At run time, each node of the tree is displayed with a white outline around and will not appear when you have a background color other than white (in my case the panelGroupLayout is 'blue').

    Anyone know how to remove this plan? or to change its color?

    Thank you
    Alain.

    Here is the seletors of the skin

    tr:tree Component
    Icon Selectors
    Name      Description
    af|tree::expanded-icon      This icon is displayed before the expanded tree node.
    af|tree::collapsed-icon      This icon is displayed before the collapsed tree node.
    af|tree::no-children-icon      This icon is displayed instead of the expanded/collapsed icon, when the node has no children
    af|tree::line-icon      This icon is used as a vertical line between the nodes.
    af|tree::line-middle-icon      This icon is used as the horizontal line in the background of the expand/collapse icon of the node, in the case the node is not the last sibling of its parent node.
    af|tree::line-last-icon      This icon is used as the horizontal line in the background of the expand/collapse icon of the node, in the case the node is the last sibling of its parent node.
    af|tree::node-icon      This icon selector is used in the case the Node class has a getNodeType() method that returns the node type as string. The nodetype gets added to this selector, separated by a ':'. If the node is a container (has children) the following suffixes get added depending on the expanded/collapsed state: '-expanded' / '-collapsed'. e.g. "af|tree::node-icon:container-collapsed", "af|tree::node-icon:container-expanded", "af|tree::node-icon:noncontainer".
    Trinidad properties
    Name      Description
    -tr-show-lines      Valid values are true or false (default true). Determines whether the tree lines are displayed or not. e.g., af|tree {-tr-show-lines:false} will not show the lines of the tree.
    

    Timo

  • Why property nodes are not accept input?

    Well, this one is driving me crazy.  I have a Subvi, which contains a string indicator and a drop-down list box, as well as a few buttons on the front panel.  My problem is that when I run the program (in LabVIEW, not an exe file) sometimes the window Question (the light) accepts the string and updates the property of Caption.Text, sometimes it doesn't.  At the same time, sometimes the answer box (combo box) accepts the Bay of cluster in it is StringsAndValues well, sometimes it doesn't.  They both either work, or they do not.  Never a problem with accepting Question window indicator string.

    The block diagram:

    Here is an example of the code powering the Subvi.

    I don't get any kind of error message.

    Sensors at the entrance of the property offending nodes indicate that the correct data are happened to them, it is just 'ignored '.  Once it starts to spoil, it usually continues to do.

    It seems that the only way I can get to behave correctly should quit LabVIEW, and then restart LabVIEW and run the vi.  Then it will usually works a few times until it starts to work.

    (Win 7, LabVIEW 9.0f3)

    Thoughts?

    THX

    What is the source of the wire that goes into your sub - VI Q & A mistake?  Is it possible that you have found errors on this thread?

    If there is an error, these property nodes will not run.

  • try to photograph a sunset through the tree branches, but the camera will not focus correctly

    I have a SX50HS, I'm trying to take a zoom of the sunset through trees, but the camera will be only focus on the branches... trying to get the Sun in short

    I agree with the manual focus to infinity. I think that you will have little problem get enough light in the camera for a fast shutter if you are shooting and counting of the Sun!

    Something will have to be badly exposed, because the Sun is so bright, and the hidden tree side is not. If you meter the Sun get beautiful orange, the tree will be a dark figure. Adjust the exposure for the sky a little left or right of the Sun, not the sun itself for best results. I'm not used to the Powershot cameras, f/5 might work, but on a DSLR, you would probably like an opening narrower, like f/8 or f/11 or even higher.

    This is probably the way to go rather than dosage for the tree and saw the sky blown completely out., but you can try both ways for fun.

    Good luck!

  • CS4: Collapsed panels will not open

    I failed my sense of the space of regular work and is back on a screening and noticed that reduced signs will not open when it is expanded. I don't know if this is how it used to work, but it feels just as bad.

    Let's say I want to move an object to another layer. I click the icon Panel layer collapsed to open it, and then select (click) the object on the artboard and the layer panel collapses to the icon. So I need to click the icon in the Panel to open it again and now I can move the object to a different layer, but the layer panel collapses again, when I select another object.

    I remember having this same problem with Flash CS4 user interface. I messed up a few settings, or is this really how the UI works in Illustrator? I would record screenspace panels collapsed and only keep open one that I need. InDesign works like that, keeping the expanded panels open until they are reduced again.

    Edit > Preferences > User Interface > uncheck Auto-effondrement icon panels

  • I have Windows 8.1 and CS6 Adobe - acrobat simply collapsed of work, does not open whatever this or not will not be printed in pdf format. Help!

    Please help me! I have Windows 8.1 and CS6 Adobe creative Suite. Adobe Acrobat x, just quit smoking, it will not open anything and he used print to PDF. I need this to work!

    [transferred to Acrobat Installation & Update questions discussion forum]

  • How to get the value of the tree node without reloading the Page. !

    Hello
    I worked with apex 4.2 and I've created trees and as a table to retrieve the date according to the value of the tree node select the code tree something like that

    {
    Select case when connect_by_isleaf = 1 then 0
    When level = 1 then 1
    of another-1
    end the status,
    level,
    'ENAME' as the title,
    NULL as an icon,
    'EMPNO' as value,
    NULL as ToolTip,
    ' f ? p = 36648:34:5234984107903:P40_SELECTED_NODE :'|| EmpNo as link
    "Dept". "" EMP ".
    Start by "MGR" is nothing
    connect prior "EMPNO" = "MGR".
    siblings arrested by 'ENAME '.
    }
    and I put the Page selected node element: P40_SELECTED_NODE. the tree worked well and recover the data in tabular form according to the value of tree node

    My Question:
    1. I want to recover the data without submitting the page where whenever I select the value of the tree make page reload to update the tabular presentation with the new value, there is a way to convey the value of the tree node to point P40_SELECTED_NODE and in the form of refreshment without page reload.

    2-i want when selected in the page tree run process according to the value of the on-set tree node to create dynamic action with (jquery selector: div.tree li > a) but the value of the incorrect node.

    Concerning
    Ahmed;

    Take a look at my sample tree application.
    When you select a node, a details report is updated. That should help you implement for your situation.
    However, one thing to note is the link on each node that you have. Click on a node to redirect to the same page and set the value of P40_SELECTED_NODE. You can keep the element, but the link should go, as it's him "reload" the page whenever you click on a node. Implementation of the action of "onselect" tree and setting the page element to the value of the node that will be in place. Be sure to add the page element in the elements present in the form of tables.
    The reason why your selector didn't return the correct value is that you have a click event bound to the anchor tag in each element of the list. The anchor tag does not hold the real value (usually and id), but holds that the display value. The items list item containing the real value in their attribute "id". Therefore, to get this value you should always inspect the first parent of the clicked anchor tag. (which is another way to solve it, of course)

  • See second tree level does not display a parameter binding

    Studio Edition Version 11.1.2.2.0
    appears that this problem is addressed in
    http://dailydevfixes.blogspot.com/2011/07/setting-bind-parameters-on-hierarchy-of.html
    Unfortunately I must be missing something.

    a test using the hr schema
    I was a tree with the date of hiring as the first level then the employee id, first and last name as the second level.
    I've hard coded employee id for 187 on a bean called by a button.

    the first level is updated the second level is unfortunately not (employee id 107 should not appear)
    --1999-02-07
    ----- 187 Cabrio Anthony
    ----- 107 Lorentz Diana
    Here are my first two level is updated, but the second level is not very well what I'm missing
        public void ButtonClick(ActionEvent actionEvent) {
            BindingContext bindingctx = BindingContext.getCurrent();
            BindingContainer bindings = bindingctx.getCurrentBindingsEntry();
            DCBindingContainer bindingsImpl = (DCBindingContainer) bindings;
            DCIteratorBinding dciter = bindingsImpl.findIteratorBinding("ParentVO1Iterator");
            ViewObject Parentvo =dciter.getViewObject();
            Parentvo.setNamedWhereClauseParam("empid",187);
            Parentvo.executeQuery();
            
            AttributeDef attrDef = Parentvo.findAttributeDef("ChildVO");
            ViewObject childvo = attrDef.getAccessorVO(Parentvo);
            childvo.setNamedWhereClauseParam("empid",187);
            childvo.executeQuery();
    
            AdfFacesContext adfFCtx = AdfFacesContext.getCurrentInstance();
           adfFCtx.addPartialTarget(treeupdate);
                
                
    
            
        }
    Here is the query to the parent object of the view.
    select trunc(hire_date) hire_dt 
    from employees
    where :empid is null or employee_id = :empid
    group by trunc(hire_date)
    This is the query for the child view object
    select trunc(hire_date) hire_dt, employee_id, employee_id||' '||last_name||' '||first_name nm
    from employees
    where :empid is null or employee_id = :empid
    order by trunc(hire_date)
    Here is the link to the view
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewLink
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="ParentToChildViewLink"
      Version="11.1.2.61.83">
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.view.link.ParentToChildViewLink_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <ViewLinkDefEnd
        Name="ParentVO"
        Cardinality="1"
        Source="true"
        Owner="model.view.ParentVO">
        <DesignTime>
          <Attr Name="_accessor" Value="true"/>
          <Attr Name="_finderName" Value="ParentVO"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.view.ParentVO.HireDt"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ViewLinkDefEnd
        Name="ChildVO"
        Cardinality="-1"
        Owner="model.view.ChildVO">
        <DesignTime>
          <Attr Name="_finderName" Value="ChildVO"/>
          <Attr Name="_isUpdateable" Value="true"/>
        </DesignTime>
        <AttrArray Name="Attributes">
          <Item Value="model.view.ChildVO.HireDt"/>
        </AttrArray>
      </ViewLinkDefEnd>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="model.ModelBundle"/>
      </ResourceBundle>
    </ViewLink>
    and here is the tree
        <af:tree value="#{bindings.ParentVO1.treeModel}" var="node"
                                 selectionListener="#{bindings.ParentVO1.treeModel.makeCurrent}" rowSelection="single"
                                 id="t1" binding="#{myBean.treeupdate}">
                            <f:facet name="nodeStamp">
                                <af:outputText value="#{node}" id="ot1"/>
                            </f:facet>
                        </af:tree>

    Hello

    always your where clause parameters is available.

    ViewObject vo = am.findViewObject("EmployeesView1");
    vo.setNamedWhereClauseParam ("Bind_Batch_NM_Comma_Sep_List", value);

    Take a look at this example: https://blogs.oracle.com/smuenchadf/resource/examples#113

    The sample is for JDeveloper 10.1.3 (so you will not run out of the box), but the code used to define the binding variable values on the tree node is always valid

    Frank

  • make the tree nodes that are engaged in "BOLD"

    Hi friends,

    I'm putting a few settings of 'style' as the bold or italics
    for tree nodes that are clicked. For example in the sub tree if you click node a31 , this node is parent node ( a3 ) and the parent node ( a ) A3 will be displayed in bold
    *a*..|-a1
       |- a2
       |- *a3*...|- *a31*
       |- a4      |-a32
       |- a5      |-a33
       |- a6
       |- a7
    Any input will be appreciated.

    Kind regards
    Jyothi

    Published by: Jyothi on January 9, 2011 03:43

    Jyothi,
    You have not used the ID of node item in the code. The element that stores the tree node in your case is P19_EXMPLE and if you need to change the code that is provided in an appropriate way.

    You must change the * $v ('') * to * $v(P19_EXMPLE') * If you use my code
    or * $v ('P19_EXAMPLE') * to * $v(P19_EXMPLE') * If you use Andy.

Maybe you are looking for