Collapsing Nodes of DTN

Hi,
My requirement for customizing DTN is as below:
When the user clicks on any node in the DTN, all other open nodes except the parent node should close.
For instance:
Node A
--child node A1
--child node A2
Node B
--child node B1
--child node B2
When the user clicks on Node A, node B if open should close.
When the user clicks on Node A1 ; node A2(if open) should close and node A should continue to remain open. Node B if open should also close
I tried using the tag - <nav:navNodeParent navNode="myParentNode"> . However, I keep getting a Null pointer Exception.
Code used:
<nav:launchedNavNode navNode="myNode">                                             <nav:navNodeParent navNode="myParentNode">
                                     </nav:navNodeParent >
</nav:launchedNavNode>
Requesting to help with this requirement.
Regards,
Gaurav Narkar.

Hi Srikanth,
I am trying to modify this par. I have accomplshed the closing of all other parent nodes when opening a specific parent node.
However, when i try to click on a child node , its own parent gets closed and I am not able to view this node.
I tried using the tag -  <nav:navNodeParent navNode="myParentNode"> , but i get exception beacuse of the navNode attribute.
Any idea on how to resolve this issue ?
Regards,
Gaurav.

Similar Messages

  • Let Auto-Map in Transform work with COLLAPSED nodes/tags ?

    When I open for a "Transform" activity the mapping editor and drag one complextype from one side to another on the other side then Auto-Mapping only works if the node/tag trees on both elements/sides are full expanded.
    If they are collapsed then auto-map does (currently) not work.
    Is there a way (option) to tell JDeveloper to look INSIDE collapsed nodes/trees and to auto-map the elements anyway?
    Peter

    Hi,
    Have you checked if the "outside" ACL is getting hitcounts?
    Could also be usefull to check the logs through ASDM monitoring and see what happens when you attempt the connection.
    The NAT configurations seem correct to me.
    Have you tried to test the connections by briefly allowing all traffic from outside? (Since the only place people could connect to is the forwarded ports.) Have you tried to add the current DHCP IP of "outside" to the ACL and see if it makes any difference?
    If no configuration change makes a difference I would suggest using the ASDM monitoring to take logs of what happens.
    You could also use the "packet-tracer" command
    Format is
    packet-tracer input outside tcp
    And copy/paste the output here.
    - Jouni

  • Table Popin - Text to be displayed after collapse node in the same column

    Hi Experts,
    I have a requirement, where I have a parent table and one column of it is associated to Table popin. Within the popin, i display another child table with two columns.. one is checkbox and another is text. When i select some checkboxes in the child table and collapse the popin node, the selected text values should be concatenated and displayed in the parent table popin column.
    Is it possible to dislay text in the same popin column of the table ? If so, please provide me the steps or code snaps on how to achieve it.
    Thanks & Regards,
    Gaurav.

    Hi Gaurav,
    If you can able to catch the event of the checkbox, then write the code inside that event for concatenation of the selected values.
    Else you can call another view with all options and checkbox. After selecting the checkbox and clicking OK or SELECT options you can pass the value back to the field.(This is a suggestion).
    Thanks & Regards,
    Raghuram K.R.

  • Collapsing nodes in JTree

    Hi,
    I would like to know how can I collapse all nodes of a JTree, or from a given node down. I've tried with collapseRow(int row) but it didn't work out.
    Thanks

    you could use the following, provided the nodes in the tree model are DefaultMutableTreeNode instances:
    JTree tree;
    DefaultMutableTreeNode node;
    tree.collapsePath(new TreePath(node.getPath()));
    best regards

  • Forms Builder-hierarchical tree(expanding and collapsing nodes)

    hi friends,
    can anyone help me with populating my hierarchical tree form by using codes for collapsing and expanding?
    for instance when_button_pressed:
    tree_control.expand_all(tree_control.v_item_name); //this is for expanding all the nodes in the tree structure
    well, i have an sql statement in my record group which in turn defines the structure of the hierarchical tree.
    Is it possible to just use the codes 'tree_control.expand_all(tree_control.v_item_name);' like that in the when-button-pressed trigger?
    Thanks for any help :)

    Hi
    can anyone help me with populating my hierarchical tree form by using codes for collapsing and expanding?
    Pls have a look here ....
    Hope this helps...
    Regards,
    Amatu Allah.

  • ADF Faces af:tree expand/collapse node

    Any help appreciated. Is there a way to specify in the tree model if you want a node expanded or collapsed? I am using the ChildPropertyTreeModel and TreeNodeImpl as the nodes. Can I add an additional property to the Tree Node?
    Thanks

    There isn't anything in the framework that lets you specify tree expansion state in the model. The frameword tries to preserve the abstraction between the model (which should only contain data) and the UI component (which handles expansion state).
    You can build a custom renderer for the tree where you can remember which paths from your model are expanded, and then set the expansion state of the tree programmatically by calling the UIXTree.setTreeState() method. It takes a set of paths, with each path corresponding to a path you want to be expanded.

  • Network UI - JNET - Generic Tree Layout - Collapse Node

    Hi,
    we are using a generic tree layout in network ui component to display organizational chart.
    The problem is that when a node in this organizational chart is collapsed there is empty space left which has been occupied by this node and its child nodes before.
    Is there a way to prevent this from happening, for example: during node collapse the chart reorganizes itself
    so that there is no unnecessary empty space?
    Regards,
    Ladislav

    Hi,
    Following link might be useful for you.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/lw/webdynpro/jnet_jgantt%20developer%20documentation/api/com/sap/jnet/package-summary.html#commands
    Regards
    Ayyapparaj

  • Adobe 3D Reviewer: Merging/Collapsing "nodes" doesn't work!

    I'm using VRML 2 files to create 3D models. One of my VRML worlds has about 100 nodes, and I want all the nodes to be merged into one. I tried "collapse...all" function which shows all the nodes as merged into one in 3D Reviewer, but when I export the model as pdf or u3d and open the exported model in Acrobat 9 pro extended for editing, the 100 nodes are still there!
    Do you have any idea where could I be making a mistake?
    Thank you!

    It would be very helpful for us scientists to have that feature. I would be thankful if you are in any capacity able to communicate that to the 3D Reviewer development team so that they can bear it in mind while planning the next version of this software.
    Thank you very much, Pierre, for everything!

  • By Role to decide Detail Navigation (DTN) to be collapsed

    Dear experts,
    I have few roles on the top level navigation. Few of them will involve with some full page content view, which means when I click a role (navigation top node). DTN will automatically get it self hiden (collapse and can be expand at will). How can I do that? Is it possible? I've tried the "Invisible in navigation area" property. It's not doing the way I expected... Please help...
    Many thanks and best regards,
    Jim Hsu

    Hi Shyam,
    Currently my Role setting look like below
    ReportRole
      - ReportWorkset
        - ReportPage
    I tried the Initial state of navigation panel as you mentioned to Closed & always closed.
    Either just the role level or all 3 levels included workset/page too. nothing happened. any clue?
    best regars,
    Jim Hsu

  • JTree node incorrectly becomes a leaf after collapse?

    Hi all,
    I'm trying to fix a bug in a JTree where a node spuriously turns into a leaf after the user collapses it, and I'm beginning to wonder whether it's my code that's at fault or something within Java (The project uses JDK 1.3.1.06 - I cannot change this part!)
    The problem is as follows. The user expands the tree and selects a leaf. He or she then clicks the collapse icon of a node somewhere in the path to that leaf. (that node can be the parent, grandparent, great-grandparent or any other node, right up to the root.) The node collapses, but the expand icon is not displayed beside the collapsed node, and double-clicking does not cause the node to expand. In other words, the node now looks like a leaf.
    The problem does not occur if the user collapses the node by double-clicking on the node, or if an non-leaf node was selected.
    My swing knowledge is not that extensive, so I was wondering whether this was a known bug, or whether anyone can think of some obvious mistake I might be making...
    /Michael

    HI,
    Is the node which is becoming leaf do have some childrens?
    If not than checkout while creating object of DefaultMutableTreeNode did u specified have its allowsChildren property to false.
    In case your case is different from above. Than you might have encountered some bug in JTree, which you can report at following URI.
    http://java.sun.com/webapps/bugreport/
    Cheers
    -Hemant

  • Tree error, after Expand All, then collapsing any node, ORA-6502/6512

    Has anyone seen this problem with the Tree?
    Normal Tree mode works great, can expand and collapse nodes with no problem.
    I can Expand All, Collapse All, and Reset Tree without problems.
    However, if I select Expand All, and then try to collapse any node, I get this error.
    Unexpected error ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06512: at line 1
    My database is 9.2.0.4, and there are 1,138 records in my tree table, with id NUMBER(8), pid NUMBER(8), and name VARCHAR2(100).
    my tree query is:
    select "ID" id,
    "PID" pid,
    "NAME" name,
    'f?p=150:2:&SESSION.::NO::P2_PARAM_ID:'||"ID" link,
    null a1,
    null a2
    from "#OWNER#"."PARAM_TREE"
    order by 3
    My root tree query is:select "ID" id, "PID" pid, "NAME" name, null link, null a1, null a2 from "#OWNER#"."PARAM_TREE" where id=0
    I checked the link to collapse, it was the same in normal mode or Expand All:http://umbriel.xxx.com:7777/pls/EDIWS_GUI_DEV/f?p=150:1:9757663040679228582:CONTRACT,69
    Any ideas, I searched in the forum, saw something on 9.2.0.6 that sounded similar, but it was specific to 9.2.0.6, not 9.2.0.4..
    Thanks, Joe

    Hi all,
    I have created a tree with over 20000 entries but I dont know how many nodes there are. I am using APEX 3.0.1.
    Whenever EXPAND ALL ist pressed I am getting this error:
    Unexpected error ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    I am also using DIV together with javascript in the tree region so that the selected node is always on top of the page.
    like you mentioned. Does this seem like a bug too you?
    Regards,
    Denise

  • Collapse top node and expand below node

    Hi,
    In my Query, I have inserted a characteristic2 below an existing characteristic1(like a hierarchy). The problem I m facing is that if I set "Collapse node" property in the top characteristic(Characteristic1) it is also applied to the below characteristic(Characteristic 2). I want the characteristic 1 to be collapsed by default and characteristic 2 to be expanded by default. Is this possible?
    Regards,
    Krishna

    Hi
    I hope your requirement is not possible.Be coz char 2 will be dependent on Char1.When u collapse Char1 automaticall Char2 also collapsed.
    Regards
    Ram.

  • ADF TreeTable: selective expand/collapse of rows

    Hi
    I have a query. How can i selectively expand or collapse nodes in a Tree Table. I have got the tree model but i need to expand even further so that the nodes can be expanded/collapsed initially based on some logic.
    It would be of great hhelp if any1 has some solution to it

    This doesnt work
    What i am doing:
    1. I have a TreeTable
    2. Its value is a TreeModel whose each node is my customized Object : MyObject
    So if i use this kinda code which is in ur tutorial
    CollectionModel model = (CollectionModel)tree1.getValue();
    treeBinding = (JUCtrlHierBinding)model.getWrappedData();
    I get a classcastexception:
    MyObject cannot be cast to oracle.jbo.uicli.binding.JUCtrlHierBinding
    since model.getWrappedData(); returns the root node of the tree which should be of my customized Object type

  • ADF Tree Nodes Undisclose...

    Hi !. I have the following question about expanding or collapsing nodes...
    I have my own class ("NodoMapaDeSitio") that I use as my items to render my tree; so, the method "getRowData" returns an instance of "NodoMapDeSitio". Every time I click a node, the "varStatus.rowKey" returns me something like this:
    [0]
    [1]
    or
    if I press ina subNode [1,0] [1,1]...
    My question would be if it's possible to make integer vectors to build the children key's of a node in order to disclose them or undisclose them ?.
    In case that, that is possible, the following method ".setDisplayRowKey" would help me to expand certain nodes... But which method would help me to callapse them ?.
    Well Hope I was clear... Thankx

    Hi Timo... I solved it this way... I use the varStatus to obtain the key of the node which I pressed and I checked if that key is inside the discloseRowKeySet; if it is, I remove and collapse it !. The code is as follows...
    ArrayList lista = (ArrayList) this.objeto;
    RowKeySet rowKeySet = arbol.getDisclosedRowKeys();
    if(rowKeySet.contains(lista))
    rowKeySet.remove(lista);
    else
    rowKeySet.add(lista);
    AdfFacesContext.getCurrentInstance().addPartialTarget(this.arbol);
    AdfFacesContext.getCurrentInstance().partialUpdateNotify(this.arbol);

  • Double-click on tree nodes

    Is there a way to disable the double-click-to-expand-
    node feature? This seems to be a default behaviour,
    wish to remove it. Thanks in advance.

    I use forms6i patch 12. And that is what I have:
    Block 'TREE'
    Triggers
    WHEN-MOUSE-DOUBLECLICK
    begin
    :global.MDC := 1;
    Message ('1', Acknowledge);
    Pause;
    end;
    Tree_Item
    WHEN-TREE-NODE-EXPANDED
    begin
    Message ('2', Acknowledge);
    Pause;
    if :global.MDC = 1 then
    :global.MDC := 0;
    Return;
    else
    FillLevel; --(e.g. fill the lower nodes and
    -- expand the parent node)
    end if;
    end;
    And that is what I get at runtime after double clicking on a collapsed node:
    1 (acknowledge)
    2 (acknowledge)
    So WHEN-MOUSE-DOUBLECLICK fires prior to WHEN-TREE-NODE-EXPANDED in my environment.
    Sergey.

Maybe you are looking for

  • Firefox Nightly crashes when opening it

    After installing the past 2 nightly builds the application crashes hard when launched with a Windows exception error. Firefox Nightly 6.0a1 4.26 (?) and 4/28 - both crash after installing from both the Updater & full installer. Buils 4/24 works perfe

  • Imac 27 bootcamp win 7 displays "square" pages

    Pages appear as squares. I had this problem before years ago and found a fix. Can't find it now. Thanks in advance for any help.

  • SAP B1 2005PL38 client on Windows 7 taking more time to open

    i have SAP B1 2005 PL38 on Windows server 2003 and SQL 2005. I added one stem of windows 7 OS, and installed SAP client. Now it is taking more than normal time to open or any process. what could be the reason. Pl help

  • Bg_absence_duration sql function not working in Self Services

    I Have SQl Function registered and used in formula BG_ABSENCE_DURATION, it is working fine in the professional forms, but in "Leave management" form in self services it gives error: PER_EMP_NUMBER not found at line 231 of bg_absence_duration Cause: a

  • MIRO Urgent

    Hello together, At my client there is no Quality module in place. When i recd the material against PO then i recives it with movt type 101 in migo.( e.g. 10 qty ) Then i send this matl to QA dept. QA inspects it & if they found 5 nos qty. defects the