Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Popup and Dialog Styling

Prateek Agarwal-OracleMar 22 2016 — edited Mar 23 2016

<af:popup childCreation="deferred" autoCancel="disabled" id="disclaimer_legal_1">

<af:dialog id="pt_d1" type="ok" contentWidth="300" contentHeight="200">

<af:outputFormatted value="#{Bundle.DISCLAIMER_LEGAL_1}"

id="of3"/>

<f:facet name="buttonBar"/>

</af:dialog>

</af:popup>

How do I style the above popup

  1. Align the popup to center of the page with width and height which changes based on the windows size

  2. Style the Text to be bold and assign a particular font family

  3. Style the button with particular background as show in the image below.

popup.jpg

Java(TM) Platform1.7.0_51

Oracle IDE12.1.3.0.41.140521.1008

This post has been answered by Prateek Agarwal-Oracle on Mar 23 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 20 2016
Added on Mar 22 2016
2 comments
887 views