Saturday 28 September 2013

Add custom componet in ADF RTE

Attribute toolboxLayout in af:richTextEditor gives flexibility to add our own custom component in RTE. Using this attribute we can also remove default components of RTE.

Adding custom button :

<af:richTextEditor label="Custom button" toolboxLayout="all myBtn" id="rte1">
        <f:facet name="myBtn">
        <af:commandButton text="Submit" id="cb0"/>
        </f:facet> 
</af:richTextEditor>


Refrence : http://docs.oracle.com/cd/E21043_01/apirefs.1111/e12419/tagdoc/af_richTextEditor.html


*Comments and feedback are most welcomed, Thanks.

No comments:

Post a Comment