HTML Formatting in outputText (Escape Attribute)
For applying styling to some of the content, outputText's escape attribute could be used. Example:-
<af:outputText value="<h2>ADF Tips and Tricks</h2>"/>
<af:outputText value="<h2>ADF Tips and Tricks</h2>"
escape="false"/>
Output
<h2>ADF Tips and Tricks</h2>
ADF Tips and TricksNote: You should avoid setting theescapeattribute tofalseunless absolutely necessary.outputFormattedcomponent is more recommended in such cases.
No comments:
Post a Comment