Skip to Main Content

Application Development Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Navigation Pane - Display Content

Brindha SadagopanFeb 1 2018 — edited Mar 20 2018

Hi,

Below is my page template code to display the subpages as a navigation bar in the main page - (it works fine)

             <af:panelGroupLayout id="pgl_22" layout="horizontal" halign="left">

                     

                       <af:navigationPane id="np1" value="#{navigationContext.defaultNavigationModel.currentSelection.children}" var="node2" hint="bar">

                           <f:facet name="nodeStamp">

                            <af:commandNavigationItem text="#{node2.title}"

                             id="cni1"  destination="#{node2.goLinkPrettyUrl}" targetFrame="_self">

                           </f:facet>

                          </af:navigationPane>

         

                   

                  </af:panelGroupLayout>

                  <af:skipLinkTarget/>

                  <af:facetRef facetName="content"/>

               </af:panelGroupLayout>

Here, since I'm giving the destination as the URL of the subpage, when I click the link in the page it is redirecting to the new url (subpage)..

But instead of this, is there any way to set the targetframe as the content of the main page.. Because I dont have any content for the main page.. Just it should display the content of the subpages..

for example - I have two subpages - subpg1 and subpg2.. When I click the main page, it should display the content of subpg1 by default and when I click the link subpg2 in nav bar, it should display the content of subpg2 in the same page.

Just trying to achieve this thro page template before creating <af:golink> for each page..

Thanks as always!

This post has been answered by Brindha Sadagopan on Mar 19 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2018
Added on Feb 1 2018
12 comments
352 views