First page Back Continue Last page Text

oracle adf workshop


Using JavaScript in ADF Faces Applications

ADF Rich Client uses JavaScript on the client side. The framework itself provides most of the functionality needed. However, sometimes there is a need to write some custom JavaScript code and have your pages access that code. You can use JavaScript in custom components or to respond to events.

To enhance performance, you should bundle all JavaScript code into one JavaScript file and deliver it to the client. The easiest approach is to use the MyFaces Trinidad tag <trh:script source=" "/>.

For more information about using JavaScript, see the Web User Interface Developer’s Guide for ADF.