X

An Oracle blog about Middlware

  • March 2, 2014

Using Expression Language in Fusion Applications

Arda Eralp
Principal Consultant

This document forms a basic guide on using Expression Language (EL) inside customizations made to Fusion Applications. This feature support comes as part of the embedded Oracle WebCenter Page Composer, and the underlying ADF technology.

What Is Expression Language?
Expression Language is used for adding addition logic to the runtime customization of page components.
The examples provided in this document serve the following basic customization needs, and whilst more advanced logic is possible venturing into great complexity may take your customization beyond the scope that page composer is designed to support.
•  Dynamically set a field to default a specific value
•  Dynamically set the display properties of a specific field
•  Conditionally hide or disable a field or region
Generally EL statements return either a value such as ‘Richard’, or a Boolean such as TRUE if the test is a success. These are then used in setting ADF page component properties, such as Value, Required, or Visible. The examples in this document include a mixture of return values used for setting various properties. In ADF a partial page refresh is used to fire the EL logic, and careful testing in a safe environment is needed to ensure your EL executes at the expected places. An example might be properly defaulting values for fields upon actions such as create, edit, and re-edit.

In addition, please be aware that not every page isintended to be fully customizable, and even those that are may not always expose the component properties against which you might wish to add custom expression logic. As such expectations of what is possible should be set based on careful testing of each case, and not on any broad assumptions.

Download Whitepaper
//cdn.app.compendium.com/uploads/user/e7c690e8-6ff9-102a-ac6d-e4aebca50425/f4a5b21d-66fa-4885-92bf-c4e81c06d916/File/b28ce781c5fd97d3066e8a5d1bc0574e/elfusionapps.pdf


Other Reference Documents are:
1) JavaEE Expression Language Tutorial
http://docs.oracle.com/javaee/6/tutorial/doc/bnaim.html

2) Webcenter Expression Language Reference Guide
http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_app_els.htm

3) Developer Relations YouTube channel for demonstrations and examples
http://www.youtube.com/FADeveloperRelations

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.