Saturday, September 28, 2013

Navigating outside the region using Parent Action

Create a page Home.jspx as a view activity of adfc-config.xml
Create a bounded task flow using parent action activity
Parent action has the following properties
Parent Outcome - For parent action activity to navigate to the parent view activity
Root Outcome - For parent action activity to navigate to a the root page of the application
Activation_view1.jspx
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
  <af:panelGroupLayout id="pgl1">
    <af:outputText value="Region jsff" id="ot1"/>
    <af:button text="button 1" id="b1" action="toParent"/>
  </af:panelGroupLayout>

</jsp:root>

Click on the button it will go to the goHome flow defined in adfc-config.

No comments:

Post a Comment