O'Reilly logo

Oracle ADF 11gR2 Development Beginner's Guide by Vinod Krishnan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required