4 Replies Latest reply: Sep 30, 2013 1:34 PM by abhi.p RSS

    oracle.webcenter.portalframework.sitestructure.ResourceNotFoundException

    abhi.p

      Hi,

       

      I am trying to get the external id from the URL but getting

       

      oracle.webcenter.portalframework.sitestructure.ResourceNotFoundException:
      

       

      In default-navigation-model.xml I have the following entry:

       

          <url url="page://oracle/webcenter/portalapp/pages/home.jspx" id="home"
               factoryClass="oracle.webcenter.portalframework.sitestructure.rc.AdfPageResourceFactory">
      

       

      Is there a way to getting the id "home" by passing in the URL programatically. I am currently looking at to get to a solution but kinda of stuck. Appreciate any help/

       

      NavigationModel model = navContext.getDefaultNavigationModel();
                             NavigationResource resource = model.getResource("/oracle/webcenter/portalapp/pages/home.jspx");