Passing the parameters

When we call the page, we will pass a value in for the Person ID field. You will notice that at present the value is empty. Therefore, we need to populate this with the value of the PersonId parameter we are using to call the page. In preparation for this, we will set a default value of 1234 in the controller. Later on when we add the code to call this page from our EmpSocietiesPG, we will add the PersonId parameter that is passed.

How to do it...

To set a default value, perform the following:

  1. Open the controller and edit the processRequest method. Remember the processRequest method executes when the page is initialized, so this is where we will set the default value.
  2. Create a parameter list that we can ...

Get Oracle E-Business Suite R12 Integration and OA Framework Development and Extension Cookbook now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.