|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.common.JSFUtils
public class JSFUtils
General useful static utilies for working with JSF. NOTE: Updated to use JSF 1.2 ExpressionFactory.
Constructor Summary | |
---|---|
JSFUtils()
|
Method Summary | |
---|---|
static void |
displayErrorMessage(java.lang.String message)
Method to display error message |
static void |
displayWarningMessage(java.lang.String message)
Method to display warning message |
static java.lang.Object |
evaluateEL(java.lang.String el)
|
static java.lang.String |
getBundleValue(java.lang.String bundle,
java.lang.String val)
Method for returning the text resource from given bundle using message key |
static javax.faces.context.FacesContext |
getFacesContext()
Get FacesContext. |
static java.lang.Object |
invokeEL(java.lang.String el)
Programmatic invocation of a method that an EL evaluates to. |
static java.lang.Object |
invokeEL(java.lang.String el,
java.lang.Class[] paramTypes,
java.lang.Object[] params)
Programmatic invocation of a method that an EL evaluates to. |
static java.lang.Object |
resolveExpression(java.lang.String expression)
Method for taking a reference to a JSF binding expression and returning the matching object (or creating it). |
static void |
setEL(java.lang.String el,
java.lang.Object val)
Sets a value into an EL object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JSFUtils()
Method Detail |
---|
public static java.lang.Object evaluateEL(java.lang.String el)
public static java.lang.Object invokeEL(java.lang.String el)
el
- EL of the method to invoke
public static java.lang.Object invokeEL(java.lang.String el, java.lang.Class[] paramTypes, java.lang.Object[] params)
el
- EL of the method to invokeparamTypes
- Array of Class defining the types of the parametersparams
- Array of Object defining the values of the parameters
public static void setEL(java.lang.String el, java.lang.Object val)
from
is
not an EL. You can get similar behavior by using the
following...setEL(to, evaluateEL(from))
el
- EL object to assign a valueval
- Value to assignpublic static java.lang.Object resolveExpression(java.lang.String expression)
expression
- EL expression
public static java.lang.String getBundleValue(java.lang.String bundle, java.lang.String val)
bundle
- - bundle full nameval
- - Message key
public static void displayErrorMessage(java.lang.String message)
message
- public static void displayWarningMessage(java.lang.String message)
message
- public static javax.faces.context.FacesContext getFacesContext()
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.6) E22562-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |