Navigating between OA Framework pages
We are now going to add code that will navigate between pages. We will also pass parameters so that we can pass data from one page to another. We are going to show how we can pass parameters in different ways. We will perform the following actions in this recipe:
Adding logic to navigate between pages and pass parameters
Adding code to the destination page to capture the parameters passed
Creating a dictionary message
Adding logic and calling a dictionary message
Adding logic for a
Cancel
buttonAdding a method to roll back a transaction
Adding logic to navigate between pages and pass parameters
The method that we are going to use to call our create society page is pageContext.setForwardURL
. We are going to pass parameters in the URL, and as a parameter list, in the following recipe.
How to do it...
To navigate to the createSocietiesPG page, perform the following steps:
Under the Applications Navigator tab, double click on the EmpSocietiesCO.java file, and in the...