Sunday, November 14, 2010

Displaying html code on a ADF Fragment/Page

2 ways you can display html code on a page in ADF

<af:outputText id="ot1" escape="false" value="html code value goes here.."/>
or
<af:richTextEditor label="htmlContent" id="rte1" columns="50" readOnly="true"
             value="html code value goes here.."
             simple="true" editMode="source" rows="25"/>

2 comments:

  1. Another way to add HTML code is to use the outputFormatted component.

    <af:outputFormatted value="html code value goes here..." id="of1"/>

    However, this tag only supports a limited set of HTML tags.

    ReplyDelete