On click event on top level nevigation

Hi all,
Doe's anyone knows if it's possible to add an event that will be raised when ever the user clicks on the top level navigation and to send a parameter that will be catches in another iView?
Thanks for your help, Varda.

Hi Varda,
There is a standard event which is fired for each user click on Top Level Navigation/Detailed Navigation.
Use the following to register the event
EPCM.subscribeEvent("urn:com.sapportals:navigation", "Navigate", myNavEventHandler);
You basically need to put this code in the iview where you want to catch the event. This will call call the JS method myNavEventHandler as that is defined over in the code to subscribe.
Hope this helps

Similar Messages

  • Display a custom message on click of a Top Level Navigation Object

    Hi Experts,
    when the user clicks on the top level navigation entry link(for any application), I would like a custom message to be displayed to the end-users which would be maintained in a text file in a KM folder.
    Currently, on click of the top level navigation link a  workset map is displayed. But now I would like to read the text file and display the message (if any) maintained in the text file.
    The message (if any) should be rendered before the workset map is displayed, or be rendered as an additional element on the same page as the workset map perhaps as an additional iView .
    It is essential that the message content should not be cached by the Portal (in other words, the deactivation of the system message should not require a cache flush to become visible to the user).
    The goal is to warn the users before they they access the applications of the workset map.
    Can someone please guide me on this???
    Regards,
    Anurag

    Hi,
    See some info regarding Portal Eventing:
    http://help.sap.com/saphelp_nwce72/helpdata/en/a5/8d1e72c20f4db2b9f577b47c1a47da/content.htm
    In the link above you can see that it's possible to raise an event and subscribe to it.
    Each time you navigate in the portal, the portal raises the UpdateTLN event so all you need it to subscribe to it in an iview that is located on the same page.
    Since the masthead iview is in the same window (above the TLN - see the following link) you can put your javascript function in it.
    http://help.sap.com/saphelp_nw04/helpdata/EN/b4/771158e4cb4bf6af9974380948db86/content.htm
    Regards,
    Omri

  • Top-Level Navigation content problem

    I have a bsp iview. I had inserted this iview in the first position of
    a role. This role has more iviews. The role hava entry point. When I
    click in the top-level navigation (role), it launchs the iview but i
    can't see the content of the role in the top-level navigation. If I put another kind of iview in the first position. I can see the correct top-level content.
    Thanks in advanced.

    hi Ismael Martin
    first u take level  ...for example 1 st level 2 nd level
    in that particular posible u mention that iview.
    lile that u can try it ....if its work letme know
    if (levels != 0) { %>
    <table id="TLNTable" name="TLNTable" border="0" onresize="SetTLNHeightAndSize()" cellspacing="0" cellpadding="0" class="prtlTopNavWhl" <% if(isSection508SupportOn) { %> tabIndex="0"  ti="0" accesskey="t" title="<%=getNLSString(componentRequest, KEY_RB_TXT_TOPNAV_ENTERING)%>"  onkeydown="nav_skip('TLNTable',event)" <% } %> >
      <tr>
         <td id="NotchTD" name="NotchTD" nowrap class="prtlTopNavNotch" style=""> </TD>
         <td>
           <div width="100%"> </div>
           <div id="TLNDiv" ti="0" tabindex="0" name="TLNDiv" class="prtlTopNavContainer" onScroll="localScrollLeft = this.scrollLeft; adjustLeftAndWidth(this); return true;" onfocusin="adjustFocusToNode(event.srcElement);">
              <!-- 1st level start -->
              <div id="Level1DIV">
                <TABLE id="level1" name="level1" border="0" cellspacing="0" cellpadding="0">
                </TABLE>
              </div>

  • How to make top level navigation not refresh

    Hello Guys,
    I have a question concerning on my External Facing Portal, my boss wants that when I click on a tab or a link in the Top Level Navigation , to load the content in the Content Area without refreshing the whole page, What I want is that when I click on a tab or link of the Top Level Navigation , the Top Level Navigation and the MasterHead not to refresh and that the content be loaded and refreshed only in the Content Area. The only way I know to do this is by making a frameset of my page and to make the masterhead and toplevel navigation a frame and the detalied navigation a frame and the content area a frame, and in the links to put the target property to the name of the content area frame, but I don't know if this is possible to do in the portal, I see that all is embedded and I don't know how to make a frameset like this in the portal.
    Any highlights to solve this will sure be appreciated.
    Thanks
    Rewarding points will be given.
    Luis

    Hi,
       When you are implementing External Facing Portal, i think you have used Light Framework Page.  In Light Framework Page, only one Framework has been used, so when you click on the top level navigation, the whole page will get refresh, so there is no otherway as of my knowledge.  If you use standard framework page in portal, it is possible to do (i.e. the content area only get refresh)  and the concept of your External Facing Portal is eliminated here.
    Regards,
    Venkatesh. K
    /* Points are Welcome */

  • How to exclude top-level keywords from export?

    Hi,
    I have keywords organised into a hierarchical structure; I never want the top-level keywords to appear in the exported image but can't find a quick way to do it.
    I can make it work by going to one of it's children and editing that keyword tag, unchecking the "export containing keywords" however I can't see a way of batch performing this action and the number of keywords I have make it impractical to do one by one.
    I tried clicking on the top-level keyword and unchecking the export option. It still exports and is even listed when I make the keyword tags dropdown "Will Export".
    If any of your gurus know the answer or can explain how I am misunderstanding the export terminology, please let me know...
    Thanks,
    Steve
    PS I have tried exporting with & without option "Write Keywords as Lightroom Hierachy"

    Thanks for that - its nearly right but I had tried doing that already and it didn't work.
    The reason why is when simply unchecked the Export Containing Keywords and Export Synonyms remain ticked but greyed out. I assumed that having been greyed out they are no longer effecting the output in any way but I was wrong.
    So, simply uncheck ALL the items in that dialogue box for top-level terms.
    Thanks again!

  • Not all Top level folders showing item count

    Hi there, I have Aperture 3.2.2 running on OSX 10.6.8.
    I use referenced files and a folder structure with a top folder and projects nested.
    Some of my top level folders when clicked, show ALL images in the projects nested below. Others do not. When I examine them in finder, nothing jumps out at me that is different. Have you any experience with this happening? Thanks, Deb

    Here is a screen shot.  Some of the blue folders will show all images nested in the projects below, some show nothing.  ie: 2013 shows all, but 2012, shows nothing.  You must click on each individual project to reveal the items contained.  I would like to click on each top level folder and see all items nested beneath.  There must be something I'm doing different, but for the life of me, can't figure it out.  Why some show and some don't.

  • Tab in Top Level Navigation is not highlighted when clicked on

    Hi guys,
    We have 1 problem in EP 6.0:
    I create 1 iview(testiview), and attached to the role(testrole), assigned to 1 user, then login with that user. In top level navigation, i am able to see the role(testrole) in top level navigation, but after i clicked, the tab for this role is not highlighted, but the content of iview is displayed,
    Any one knows what happened?
    Thanks!
    Guo Feng

    Hi Guo
    You have created one role and added one iView under it.
    now can u tell which one you made as entry point.
    if Role is the entry point are you getting the iView link in the DTN ?
    If you made iView as entry point and then you r getting the content in content area and the iView link in the top.
    i think the second one happens...
    Check the role and iView properties .
    Make the Role as entry point..
    Cheers
    Chinmaya
    Reward for helpful answers

  • Portal run time error when clicking on top level-navigation

    Hi,
    When I select a link from the top level-navigation I get the message <b>Portal Run Time Error</b>.
    I found the log file with this entry :
    <i>#1.5#001438EE39C6006F0000130F000031E800041ABD6F12C098#1155300821516#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0####6a3f43c0293811dba664001438ee39c6#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Server#Java###Exception ID:02:53_11/08/06_0601_18813850
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    User : Guest
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.core.PortalRequestManagerException: PortalRuntimeException
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:143)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 24 more
    Caused by: java.lang.NullPointerException
         at com.sapportals.portal.navigation.NavigationService.getNavURLPrefix(NavigationService.java:531)
         at com.sapportals.portal.navigation.NavigationService.redirect(NavigationService.java:495)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.redirectURL(NavigationEventsHelperService.java:1735)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.normalizeNavigationTarget(NavigationEventsHelperService.java:1715)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getNavSessionParameter(NavigationEventsHelperService.java:784)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentNavNode(NavigationEventsHelperService.java:351)
         at com.sapportals.portal.navigation.NavigationEventsHelperService.getCurrentLaunchNavNode(NavigationEventsHelperService.java:421)
         at com.sapportals.portal.navigation.fpm.NavigationFpmListener.addToHistory(NavigationFpmListener.java:268)
         at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doNavigatePhase(NavigationFpmListener.java:98)
         at com.sapportals.portal.navigation.fpm.NavigationFpmListener.doPhase(NavigationFpmListener.java:70)
         at com.sapportals.portal.pb.fpm.FPMContainer.distributeEvent(FPMContainer.java:63)
         at com.sapportals.portal.pb.fpm.FPM.doDocumentHook(FPM.java:143)
         at com.sapportals.portal.prt.service.document.DocumentHookMulticaster.doDocumentHook(DocumentHookMulticaster.java:100)
         at com.sapportals.portal.prt.service.document.DocumentHookService.doDocumentHook(DocumentHookService.java:119)
         at com.sapportals.portal.prt.service.document.DocumentHookServiceNew.doDocumentHook(DocumentHookServiceNew.java:183)
         at com.sapportals.portal.prt.connection.PortalHook.doDocumentHook(PortalHook.java:824)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:261)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         ... 28 more
    #</i>

    Hi Christophe,
    Since you set this question as "Answered", did you find a solution to the problem? We are experiencing a similar problem when clicking top level navigation, but only in some rare cases.
    Best regards,
    Erik Eriksson

  • How to make  menuBar UI listen for top level click

    Hi,
            The  menubar only listen to the sub level menu item(i mean click), and I  would like to make menubar listen to top level also.
    for eg:
    NEWS-> worldnews.
    it listen the sublevel item worldnews ,i would like to make top level NEWS also.
    I  tried using selected index. sometimes  -1 was returned when I clicked  the “NEWS” item.  I assume this is because it has sub-menu items.
    can anyone give solution for this???????

    hi Neobox75,
    I have created an air application for a  news website( i didnt finsh it fully) . I display the images ,news everythng using feed. I used httpservice to get the values from the feed. now my problem is if i deploy this package to the user means if he has the internet connection ...All my information wil be displayed to him as i read all the information through feed .  if the network conection is not available(offline) means i have to  display the previous news and images to him( if v use timer to refresh it wil be cached in user system  but i dnt knw how to retreive from cache if the user is offline ).how it can be done please give the solution for it...
    regards,
    divya.

  • Customized Top Level Navigation iView

    Hello to all
    We are using a customized TLN iview. Its source code was modified to admit different URLs, and do the filtering depending of the default framework page which is using the TNL iview,
    I mean, the TLN would be copied inside a proyect folder on the Portal Content, where would be a DFPage that contains a copy of TNL iview, and this copy would have a different roleFilter attribute.
    Then, the TLN was modified again in order to merge roles that had the same name.
    Those changes doesn't seem really important, they have just declared some vars, and each of them added one code line. The first one extended the first part of an IF condition, and the second one extended it with another condition, using OR.
    The problem is that after the modifications, our TLN doesn't highlight correctly the first node when accessing or refreshing the Portal, instead of it shows a default start page that doesn't belong to any of our roles
    The TLN iview has a procedure named PrintNavNodes, which is called on the event OnClick (I assume), and when we accessrefresh the page too.
    The iview works well when clicking its buttons, it's just the first time it is used when the wrong page is shown, that's the problem we need to correct.
    This procedure (PrintNavNodes) lodges the code changes. The only var modified is String prefix, so maybe anyone could tell me a default value to it, o a way to catch that mistake in order to show another page when the default page is to appear.
    Also, I would appreciate if anyone knows about an API, andor a How to... manual, or any kind of documentation about this subject.
    We have no possibility of reject the changes, so we need to find an alternative solution. Here is the code...
    Thanks in advance, and regards
        private void PrintNavNodes(IPortalComponentRequest request, IPortalComponentResponse response)
         ILogger loggerArquitectura = request.getLogger(portal_logger);
             String strDataToPrint=;
         NavigationEventsHelperService navHelperService = (NavigationEventsHelperService)PortalRuntime.getRuntimeResources().getService(com.sap.portal.navigation.helperservice.navigation_events_helper);
         NavigationNodes initialNodes = navHelperService.getRealInitialNodes(request);       
    !-- Change Heiko Broker for SiteNavigation          
              IPortalComponentContext componentContext = request.getComponentContext();
              IPortalComponentProfile profile = componentContext.getProfile();
              String roleFilter = profile.getProperty(RoleFilter);
            if(initialNodes != null)
         INavigationNode firstChild = null;
         INavigationNode firstContent = null;          
         String prefix=ROLESportal_content;
    !-- Change Marta Alberto
         PROBLEM In the new TLN, when using the merge roles feature, the
         url of the merge roles is different (start with the word merge.....).
         This is a wrong implementation because it filters all the nodes that do
         not start with ROLES.
         SOLUTION Compare with the other prefix too.
         String newPrefixThatFixesTheProblem=MERGESportal_content;          
         String newPrefixThatFixesTheProblem=merge(;
                if(initialNodes.size()  0)      
                for(Iterator it = initialNodes.iterator(); it.hasNext();)
                    INavigationNode initialNode = (INavigationNode)it.next();
                        strDataToPrint=initialNode.getName(),;
    !-- Change Heiko Broker for SiteNavigation          
         if (initialNode.getName().startsWith(prefix+roleFilter)
    !-- Change Marta Alberto
         PROBLEM In the new TLN, when using the merge roles feature, the
         url of the merge roles is different (start with the word merge.....).
         This is a wrong implementation because it filters all the nodes that do
         not start with ROLES.
         SOLUTION Compare with the other prefix too.
          initialNode.getName().startsWith(newPrefixThatFixesTheProblem + prefix + roleFilter))                    
                         firstContent = PrintNode(initialNode, request, response, 0);
                         if(firstChild == initialNode)
                             if(firstChild.getLaunchURL() != null && !firstChild.getLaunchURL().equals())
                                 firstContent = firstChild;
                             else
                             if(firstContent == null)
                                 try
                   firstContent = firstChild.getFirstChild();
                                 catch(NamingException e)
                   ILogger logger = request.getLogger(navigation_logger);
                   if(logger != null && logger.isActive())
                        logger.severe(this, e, Exception in Top Level Navigation);
                             HttpSession httpSession = request.getServletRequest().getSession();
                             httpSession.setAttribute(NavFirstContentNode, firstContent);
                }  end FOR
            response.write(););

    Hi,
    Check authentication related properties of iView. Make sure all of them are set to lowest level or none
    Regards,
    Ganga

  • Can we control the top level navigation in portal from a java application

    Hello,
    I am having a scenario where User logged in to portal and assigned with 2 roles (HOME , ISA(Java application)). When user opened a form in ISA (Java application) and tried to enter the data in form and moved to another tab (e.g. HOME) in top level navigation.
    When user come back to ISA (Java application) TAB , we show the page where he left earlier. I would like to know if user click any other TAB in top level navigation (Role assigned to him) while working on a page in ISA(Java application) is there any way we can catch that event before he leaves from ISA (Java application JSP page) to other TAB?
    How can we control the top level navigation events in the portal from a java application .Since Top level navigation is seperate par file.
    Thanks,
    RN

    Dear Rajesh,
    Top Level and detailed navigation values comes with iteration in the respective par file.
    Please check the par file and based on the value (i.e tab name) selected, you can write your code.
    Best Regards
    Arun Jaiswal

  • Top Level Navigation Problem

    Hi guys,
    recently, I ran into something really strange. The Top Level Navigation (TLN) became faulty. If the user clicks on certain entries in First Level Navigation or Second Level Navigation the content area is not loaded properly. The content area stays empty as well as the detailed navigation iView (no navigation entries listed). Furthermore, the TLN does not get updated.
    The weird thing is it only affects a few users and the set of affected navigation tabs is different for every user. The problem affects standard tabs (System Administration, Content Administration, etc.) as well as custom tabs. The set of affected users and the set of affected tabs seems to be arbitrary chosen.
    A new log entry is written every time the problem occurs. Find an example below: 
    <i>
    [PortalNode.fireEventOnNode.toEventListener] event=onNodeReadyEvent, target=com.sap.netweaver.coll.CollaborationDetailedNavigation, operation failed
    [EXCEPTION]
    java.lang.NullPointerException
         at com.sapportals.portal.navigation.CollaborationNavTree.isCollaborationNode(CollaborationNavTree.java:490)
         at com.sapportals.portal.navigation.CollaborationNavTree.doOnNodeReady(CollaborationNavTree.java:227)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.pb.PageBuilder.createAndAddEmbeddediView(PageBuilder.java:174)
         at com.sapportals.portal.pb.PageBuilder.createiView(PageBuilder.java:387)
         at com.sapportals.portal.pb.PageBuilder.createAndAddiViews(PageBuilder.java:230)
         at com.sapportals.portal.pb.PageBuilder.doOnNodeReady(PageBuilder.java:572)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java:388)
         at com.sapportals.portal.pb.PageBuilder.handleEvent(PageBuilder.java:741)
         at com.sapportals.portal.prt.component.CachablePortalComponent.handleEvent(CachablePortalComponent.java:703)
         at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java:252)
         at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java:369)
         at com.sapportals.portal.prt.pom.AbstractNode.addChildNode(AbstractNode.java:340)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:642)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    </i>
    While searching SDN I found a SAP Note that might be interesting. SAP Note 982496 contains the description of a similar problem with almost the same error message. However, this SAP Note describes a problem of NW 2004 SPS 17. A problem that should be solved in newer releases. We patched our system last time (NW2004s SPS 09) a few month ago. We never had any similar problems until last week when the above described problems started.
    Unfortunately, the problem starts to escalate. More and more users and more and more navigation tabs are affected.
    Does anyone of you have any experience with this kind of problems? Please suggest how to troubleshoot and solve this very annoying problem. Of course, I am going to reward helpful answers.
    Best regards,
    Martin

    Hi Harini,
    thanks for your suggestions.
    1) Clearing the browser cache did not help at all.
    2) We disabled the navigation cache a long time ago. That means navigation is not cached.
    3) We are going to restart the portal server today. I keep you updated.
    Best regards,
    Martin

  • Move clip to top level

    I've got a movieclip containing another movieclip which acts as a button. The movieclip has a drag function added to it.
    function onBoxPress( event:MouseEvent ):void
                        var boundsRect:Rectangle = new Rectangle(event.currentTarget.x,0,0,stage.height);
                        event.currentTarget.startDrag(false, boundsRect);
              function onBoxRelease( event:MouseEvent ):void
                        event.currentTarget.stopDrag();
                        sortBoxes();
    On the stage I've got several copies of this clip. It works ok: when I click and drag, the clip drags vertically. However, each clip has its own depth and sometimes a clip will drag beneath another clip. So upon clicking and dragging the clip should be moved to the top level of all duplicate clips.
    How do I move it to the front of all other clips?
    I've tried using:
    function onBoxPress( event:MouseEvent ):void
                        setChildIndex(event.currentTarget.parent,0)
                        var boundsRect:Rectangle = new Rectangle(event.currentTarget.x,0,0,stage.height);
                        event.currentTarget.startDrag(false, boundsRect);
    I use event.currentTarget.parent here because the clip to have it's index set is the parent clip. Remember, the button which starts it all is inside that parent clip.
    But then I get an error 2025:
    Error #2025: The supplied DisplayObject must be a child of the caller

    The parent is not the child of the child. Call setChildIndex on an object that is the parent of the parent.
    The whole reason you're having this problem is because you're violating good Object Oriented Design by having the child manage too much. The grandparent should be listening for the MouseDown and then managing the drag. You could have a single event handller that checks for the MouseDown and checks the Class of the target (set mouseChildren to false on the button, so the target won't be its label, for example.

  • Front panel of a vi pops up when i start my top level vi how can i stop this

    i have a vi that whos front panel should display when the user clicks a front panel button(test instructions),
    however this vi pops up when i run the top level vi. I can manually close the vi, but how do i stop this?
    i tried modifying the Sub VI Set up properties, but that doesnt work.
    Solved!
    Go to Solution.

    Hi jknapp,
    As egraham has pointed out, you can customize the window appearance of your sub VI from the VI Properties.  If you go to File » VI Properties, then under Category select Window Appearance and then Customize..., you should be able to control how the sub VI appears.  Hope this helps!
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Show a menu of roles in the Top Level Navigation

    Hello,
    Imagine a scenario where a user has many roles assigned to him (say 40 roles). In that case the user will have 40 tabs in the first level of the top level navigation and by default a horizontal scroller appears on the right part of the screen clicking on which the roles will scroll horizontally. If the user has to go to the 40th role he has to click quite a lot.
    Is it possible to have a menu option clciking on which we get the all the list of roles in the top level navigation in a vertical list and we can directly jump to any role clicking on the entry in the list ?
    Something like what we get in a tab strip in Web Dynpro.
    Thanks in advance for your valuable inputs.
    Sundeep
    Edited by: Sundeep Sethi on May 3, 2011 3:00 PM

    Hi,
    Yes it is possible to have menus as you wish .
    Look at the following links
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/6066b302-09c8-2a10-a894-eb9fef30df85
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0a1aea5-a2d1-2a10-c6bc-953bdadfdcb8?QuickLink=index&overridelayout=true
    You need to work on navigation tag libraries to extend number of levels .
    The above inks helps you only for single level of navigation.
    Regards
    Karthiheyan M

Maybe you are looking for