This discussion is archived
4 Replies Latest reply: Sep 30, 2013 11:34 AM by abhi.p RSS

oracle.webcenter.portalframework.sitestructure.ResourceNotFoundException

abhi.p Explorer
Currently Being Moderated

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");

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points