ADF tree doesnot remain expanded when sublinks are clicked

i have a left vertical navigation menu implemented in af:tree.
i used the code below :
*<af:tree var="node"*
*value="#{navigationContext.currentNavigationModel.treeModel['startNode=/,*
includeStartNode=true,
depth=1']}"
id="t1">
*<f:facet name="nodeStamp">*
*<af:outputText value="#{node.title}" id="ot1"/>*
*</f:facet>*
*</af:tree>*
available in the the oracle documentation : http://docs.oracle.com/cd/E17904_01/webcenter.1111/e10148/jpsdg_view_comps.htm
The problem is, when the link is clicked, i get redirected to the correct page, but the tree is collapsed again. I want to disclose the nodes of the current page path.
i focused on the af:tree documentation and tried to build a set of rowKey in a managed bean in order to affect it to the disclosedRowKeys attribute... but i was completly lost !!
Thanks for help.

I am also facing this issue. Is there any solution to this.
I tried to do it programatically but problem is ADF code that expands all nodes of tree works with tree having JUCtrlHierNodeBinding. But in case of Navigation model we don't get JUCtrlHierNodeBinding
private void expandAllNodes(JUCtrlHierNodeBinding nodeBinding,
RowKeySetImpl disclosedKeys,
int currentExpandLevel, int maxExpandLevel) {
String methodName = Thread.currentThread().getStackTrace()[1].getMethodName();
if (_logger.isLoggable(Level.INFO)) {
_logger.info("Class: [" + this.getClass().getName() + "] [" + methodName + "]" + "Start" );
if (currentExpandLevel <= maxExpandLevel) {
List<JUCtrlHierNodeBinding> childNodes =
nodeBinding.getChildren();
ArrayList<Object> newKeys = new ArrayList<Object>();
if (childNodes != null) {
for (JUCtrlHierNodeBinding _node : childNodes) {
newKeys.add(_node.getKeyPath());
expandAllNodes(_node, disclosedKeys,
currentExpandLevel + 1, maxExpandLevel);
disclosedKeys.addAll(newKeys);
if (_logger.isLoggable(Level.INFO)) {
_logger.info("Class: [" + this.getClass().getName() + "] [" + methodName + "]" + "End" );
Is there anything I can try?
Thanks

Similar Messages

  • ADF: Tree Refresh after Expanding a node. Please Frank have a look!

    About this post:
    Re: ADF: Tree Refresh after Expanding a node
    Frank answered that he doesn't notice that behavior. I found out that this happens if an appication uses a custom skin.
    In SRDemoSampleADFBC, SRManage.jspx (Management from menu), if you make the explorer window small enough not to cover the whole tree, you can notice this (the page jumps to the top).
    Now if you change in adf-faces-config.xml the "skin-family" tag to "oracle", you will see that the tree component has changed (it has no triangle icons why this happens) and the page doesn't refresh.
    Minas

    It seems that there's more to the tree expansion icon than the skin definition. We're using the minimal skin and ADF puts out a special character to represent the disclosure symbol (which by the way, renders differently on IE6, than IE7, than Safari or Firefox on Mac). However, switching to the Oracle skin, the disclosure symbol comes out as a full-on image (triangle including the +). We have found this frustrating because the triangles seem not sufficiently suggestive to our users - but switching to the Oracle skin has other issues with white-on-white text.
    But in any case, the tree refresh after node expansion is another annoyance as I described in the other thread linked here (including URL to see problem in action).
    Cheers, Mark

  • When links are clicked, they do not fully display the NEW page until the mouse is moved.I know it is a current bug, and appears in no other browsers that I know of.

    It was pointed out that my links do not function correctly on Firefox on a Windows platform. When links are clicked, they do not fully display the NEW page until the mouse is moved! I have now observed it for myself on my fathers PC running Windows XP on Firefox.My PC is on Windows7
    It is the 5 version of Firefox, so I know it is a current bug, and appears in no other browsers that I know of.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    In Firefox 4+ you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Ajax memory tree can't expand when searching for a specific node.

    Hi,
    I've just followed the ajax tree example. Everything is working except when the find node windows pop up and a node is selected. the corresponding report is displayed but the ajax tree doesn't expand accordingly.
    Any help would be appreciated.
    Thanks
    Venus

    I too am having this issue with Scott's search ajax tree example listed here..
    http://www.oracle.com/technology/pub/articles/spendolini-tree.html
    The correct node is highlighted if that level of the tree happens to be expanded, but the tree is not automatically expanding to show the correct node. Which part of the code is meant to "automatically expand" the tree? Is it the
    "if tree_rec.id = y.id and tree_rec.id != v('P1_SELECTED_NODE') then..."
    section of "find_node" in
    http://www.oracle.com/technology/pub/listings/spendolini-tree-l1.html
    Any help appreciated.
    Thanks, Penny

  • Table expands when cells are deleted.

    Okay I am still trying to learn about tables and I understand
    that they collapse unless you use a Shim to hold them opne. However
    what I dont understand is why they will expand when you delete
    cells in a table despite having graphics etc in cells above.
    For example in the following web page I have a row of four
    cells at the very bottom of the table below the fish banner. If I
    try to merge the cells or delete them the entire table expands
    greater than the header which is not what I want. I noticed that I
    can merge the two left handside cells without any problems but
    thats it. I thought I was begining to underatnd this but clearly I
    dont. can someone please expalin this to me.
    Thanks in advance.

    OK - I'll keep an eye open for that, thanks Murray
    Jo
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    > Webforum is what is adding the HTML stuff and the class.
    If you look at
    > several posts, you will see that they are all using the
    same class....
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Josie1one" <joleros[nospam]@yahoo.com> wrote in
    message
    > news:[email protected]...
    >> It looks like OP's code though -
    >> <a target=_blank class=ftalternatingbarlinklarge
    >> href="
    http://www.sentosafishingcharters.com/Sentosa/charter.php">page
    >> here.</a>
    >> Jo
    >>
    >> "Murray *ACE*"
    <[email protected]> wrote in message
    >> news:[email protected]...
    >>>I am afraid that this is the wicked webforum's
    doing, Jo....
    >>>
    >>> --
    >>> Murray --- ICQ 71997575
    >>> Adobe Community Expert
    >>> (If you *MUST* email me, don't LAUGH when you do
    so!)
    >>> ==================
    >>>
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >>>
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >>>
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >>>
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    >>> ==================
    >>>
    >>>
    >>> "Josie1one" <joleros[nospam]@yahoo.com>
    wrote in message
    >>> news:[email protected]...
    >>>> Your padding and/or borders are adding
    pixels. When you post your
    >>>> link... can you please only put the relevant
    URL? Otherwise we have to
    >>>> strip out the unnecessary bits so we can't
    simply click.
    >>>> Jo
    >>>>
    >>>> "Trueman34"
    <[email protected]> wrote in message
    >>>> news:[email protected]...
    >>>>> Helllp??
    >>>>>
    >>>>> Okay despite all of my reading I still
    cannot work out why the table
    >>>>> that
    >>>>> contains the banner in the page below is
    764 wide when it should be
    >>>>> only 760
    >>>>> wide. The page is here.
    >>>>>
    >>>>> <a target=_blank
    class=ftalternatingbarlinklarge
    >>>>> href="
    http://www.sentosafishingcharters.com/Sentosa/charter.php">page
    >>>>> here.</a>
    >>>>>
    >>>>> As you can see the bottom fish banner
    pushes the table out to 764
    >>>>> wide. Ive
    >>>>> tried nesting a table in the upper table
    instead but still no luck. On
    >>>>> this
    >>>>> page it worked fine <a target=_blank
    class=ftalternatingbarlinklarge
    >>>>> href="
    http://www.sentosafishingcharters.com/Sentosa/index.php">Works
    >>>>> on this
    >>>>> page</a> But I tried to do it the
    same on the above page but it still
    >>>>> wouldnt
    >>>>> work.
    >>>>>
    >>>>> ANy ideas on how to fix this?
    >>>>>
    >>>>
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • How can I remove "click" sounds when buttons are clicked?

    I have created a Captivate project for an online tutorial.
    There is no audio in the project but Captivate has embedded a
    "click" audio which occurs when the user clicks on "Next", "Back"
    and "Menu" buttons.
    How can I remove these "click" sounds?

    Hi dyageme and welcome to our community
    Fellow Adobe Community Expert Paul Dewhurst offers up just
    such a fix.
    Click
    here to visit Paul's site.
    Cheers... Rick

  • When buttons are clicked (in pdf), they flash instead of remaining solid

    Page-turn buttons (mouse click action) with two appearances (white, and with mouse over, grey) flash from the grey back very briefly to white when clicked. Is there some way to avoid this? It's a bit nit-picky, but the flashing makes the buttons in an swf or pdf seem clunky and less smooth.

    Hello,
    I checked your file and I was able to preview it in Browser properly.
    However as I can see, you have Hyperlinked the Labels of Accordian which is why Accordian functionality does not work. When user clicks on it, before expanding it takes the user to the hyperlinked page.
    I would suggest you to Export it as HTML on your computer on a different location and then check if it works or not.
    Regards,
    Sachin

  • Why does folio size remain same when images are sized down?

    In the constant battle to keep the folio size down, I found  and eliminated a stray print-size image (40mb) and replaced it with a 2mb file however my folio is still claiming the same size when I see the update come in. Any idea out there why a folio will hang on to its size in this case.
    Thanks in advance

    Because we automatically resize the images to 108ppi at the pixel dimensions of the containing frame. A 40MB print image doesn't pass through to the folio as 40MB. It'll get sampled down.
    Neil

  • Is there a setting such that the application closes (quits) when the (last) file is closed? Why does the application remain active when there are no files for it open?

    I honestly did try to find my own answer, but cannot.  Not sure why a simple question would have its answer so difficult to find. I'd just like the application to simply close after the last file is closed.  It seems strange to have the application remain active.  Thanks for your help.

    It's also a bit strange that even though I searched throughout the community for questions like this......so that I wouldn't take up space for something already discussed........that immediately after I posted my question, the "
    More Like This" side window comes up that describes questions just like mine. 
    So, sorry to have bothered anyone with having to read another duplicate question.  I see that the answer to my first question is "No", and there's likely not a good answer for "Why".
    Thanks anyway.

  • Adobe does NOT automatically open when attachments are 'clicked'

    Thanks for reading this post.  When openning a PDF file attachment within an email or a link from a website, Adobe does not automatically launch to view the documents.  In fact, the file conversion screen pops up instead when I select the 'open' tab from the attachment.  When I click the 'save' option, the save file type only includes HTLM and ALL Files..... this is odd why PDF is not a save type option.   Anyway, any assistance to alievate this problem will be helpful. This is very frustration.... I was also wondering if this could be my Norton 360 that is causing these problems....

    Bill was suggesting an alternative approach, making this the default setting in distiller. This is a preference settings in Distiller. I don't have Acrobat 9 on my Windows machine, but this is what is looks like on the Mac:
    You want to check the View PDF when using Distiller Check box.

  • Text blinking when buttons are clicked in Acrobat

    I have an interactive pdf that has buttons and layers. I am on a mac, and it works as it should. When an icon is clicked text changes out (shifts between layers) But my client is on a PC and is saying that when she clicks the icon, all the text on the page blinks off and then on and then changes. (even the text that is not associated with the button)
    Does anyone know what is causing this, and is there a solution?
    thank you!

    I have an interactive pdf that has buttons and layers. I am on a mac, and it works as it should. When an icon is clicked text changes out (shifts between layers) But my client is on a PC and is saying that when she clicks the icon, all the text on the page blinks off and then on and then changes. (even the text that is not associated with the button)
    Does anyone know what is causing this, and is there a solution?
    thank you!

  • IPhoto 09 changes color (pinker) when photos are clicked to magnify

    I have just bought a Mac mini running iPhoto 09. I have imported my photos from my old pc as JPEG files into iPhoto from an external hard drive. The photos look fine in the initial view, but when double-clicking to magnify them, they go very pink.
    I have tried calibrating my monitor, which did nothing.
    I have tried exporting the photo and opening it in Preview, where it appears normal again.
    I have tried importing into a different user account, and the same problem happened.
    I have tried adjusting the color settings using ColorSync, from Generic RGB to sRGB, so no effect.
    Before I delete everything and try re-importing all the photos (about 10,000) of them all over again, I was wondering if anyone else had had this problem and if there were any solutions?

    Start with the troubleshooting basics:
    1. Delete the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    2. Repair Permissions using Disk Utility
    3. Create a new account (systempreferences -> accounts) and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.
    Regards
    TD

  • Hide Textbox when buttons are clicked

    Hi all,
    Im trying to create a form for our customer service reps to make their lives easier. Which is a plus for me.
    I tried googling and playing with some Validation scripts and nothing seems to work.
    Here is what im trying to accomplish.
    There is 3 Radio buttons ( Credit, Repair, and Replacement), I need to have the ability to only have 1 of the three selected
    So if a button is clicked it would make a series of text and text boxes visible and Hide the others
    I am not quote sure how to do this.
    Found this article but im not sure if it applies. Im using Acrobat X Pro.

    So i found this thread
    http://forums.adobe.com/thread/908481?start=0&tstart=0
    var f = this.getField("c1");
    var g = this.getField("Text2");
    if (f.value==(Yes))
    g.display = display.hidden;
    else
    g.display = display.visible;
    it works but the box does not disappear when I uncheck. It mentions how to do it also in the thread but it doesnt seem to work?

  • Selection tool won't stop dragging objects when they are clicked on

    In CS6 I keep clicking on objects hoping to be able to edit them but they keep moving ruining the whole composition. I have uninstalled and reinstalled, used a different mouse and it still keeps doing this.

    Not sure if this is the one you are talking about that deals with a similar problem http://forums.adobe.com/message/5122845#5122845.

  • EP6.0 : CRM business pack: error 401 occur when 'analytics' are clicked

    Hi,
      We have imported BP for CRM4.0 and when a user with the 'Sales Manager' role assigned access the 'Analytics' Button, he gets the following error in the Portal content
    "Failed to fetch the content. The response status was 401.
    Message: "
    The Analytics menu ( Under the 'Sales Manager') has Overview, Finance, Accounts, Internal Processes, Learning & Growth menu and all of these get the same error except the last menu 'Balanced View' which doesn’t show this error but mo content either.
    Please note that only for the sales order item ODS (0CRM_SALO) data have been loaded into BW from CRM.
    Have anybody seen this error before?
    Thanks,
    Arunava

    Hi,
      In addition I have also loaded the sales cube in the BW system ( 0CSA_C03). Still when a user logs on to the Portal with the 'Sales Manager role (Business Package for SAP CRM 4.0   50.2.4   SAP AG) and tries to access the Analytics menu, he gets the above error (Failed to fetch the content. The response status was 401.
    Message:   )     for 'Overview', 'Finance' 'Accounts' 'Internal Processes' and 'Learning and growth'. However when he clicks on the 'Balanced Overview' which combines all the above in a single iview, no error is occurred but no content appears as well.
    Can any body help me, I would assign points.
    Thanks
    Arunava

Maybe you are looking for

  • Run Front Row With Lid Shut?

    Hi, Is it possible to run Front Row on a MacBook with the lid shut? I want to connect a MacBook to a 32" LCD TV and run Front Row on the TV screen. And ideally I'd like to be able to do that with the MacBook's lid closed.

  • Elements 7 stops working while saving to computer half way??

    When I got to share and save to the computer half way through the saving a box pops up saying that its stopped working and an error has occured any suggestions?

  • Error opening PSE 11

    I get an error when trying to open photoshop elements 11. It says a problem caused the program to stop working. Please close the program. It worked fine last week. I tried unistalling and reinstalling and that did not help. Any ideas??

  • ADD subscreen for material master view

    dear all, kindly tell me from where i can add subscreen to material master view. also tell me from where i can see which industry material master is activated Regards, qsm sap Edited by: qsm sap on May 3, 2008 9:42 AM

  • Objects IDs

    HI, I have a problem in hashcode(). About the hash code i think that for every object which is created from same class have unique hash code. But By using java debug interface when i get some class creation events from two different objects (of same