Saturday, 10 May 2014

HTML Formatting / applying Style components in ADF outputText

   This blog we will see how to format the HTML components or applying the Style components in ADF outputText.

   In real life scenario, sometimes it is required to use HTML components in ADF page. The below code is required to display the HTML components.


<af:outputText value="&lt;h2&gt;HTML Formating in Output Textbox&lt;/h2&gt;"/>
<af:outputText value="&lt;h2&gt;HTML Formating in Output Textbox&lt;/h2&gt;"
               escape="false"/>
<af:outputText value="&lt;p style='font-family:Arial, Helvetica, sans-serif; font-size:12px'&gt;&lt;strong&gt;&lt;font size='3' color='#FF0000'&gt;Step 1. Perform the following&lt;/font&gt;&lt;/strong&gt;&lt;br&gt;" escape="false"/>


Output:
Thanks...

No comments:

Post a Comment