Time for action – showing a popup to the user

Now we will see how to create a popup from scratch in ADF:

  1. Go to the index.jspx page and then select the Command button that holds the commit operation from the Structure window.
  2. Right-click on the Command button and select the Insert inside the af:commandButton –Commit option and the select the Adf Faces option.
  3. Click on the Show Popup Behavior option in the Insert ADF Faces Item window:
    Time for action – showing a popup to the user
  4. Now a af:showPopupBehavior component is added to the commit operation. Now add triggerType as action, which is the event that should invoke the popup. The id value of the Command button cb1 is provided for the alignId ...

Get Oracle ADF 11gR2 Development Beginner's Guide now with O’Reilly online learning.

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