Adding a decision message

We are now going to add a decision message to our page. We will use the previous recipe so that a decision message appears before executing the SQL code.

How to do it...

To add a decision message, perform the following steps:

  1. In Application Navigator, open the EmpSocietiesCO.java controller.
  2. In the EmpSocietiesCO.java file, scroll down to the processFormRequest method.
  3. In the plsqlButton event, add a new line after the declaration of paramSocietyId, as shown in the following screenshot:
    How to do it...
  4. Now, we are going to comment out the call to the insertSocietyLog method (step 1). Then, we will define the warning message and create an instance ...

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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.