|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.ui.web.util.ComponentTagUtils
public final class ComponentTagUtils
Component tag utils.
Method Summary | |
---|---|
static boolean |
isMethodReference(String value)
Returns true if the specified value conforms to the syntax requirements of a method binding expression. |
static boolean |
isValueReference(String value)
Returns true if the specified value conforms to the syntax requirements of a value binding expression. |
static Object |
resolveElExpression(com.sun.facelets.FaceletContext faceletContext,
String elExpression)
Resolves an expression from a given facelet context, using its ExpressionFactory that can hold a wider context than the faces
context behind it. |
static Object |
resolveElExpression(FacesContext context,
String elExpression)
Resolves an expression from a given faces context. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isValueReference(String value)
value
- the value to evaluate (not null)public static boolean isMethodReference(String value)
The method can have parameters and the expression must use parentheses even if no parameters are needed.
value
- the value to evaluate (not null)public static Object resolveElExpression(FacesContext context, String elExpression)
Resolves the expression a second time when first resolution gives a String value using the EL Expression syntax.
Does not throw any error when resolution fails (only logs an error message).
resolveElExpression(FaceletContext, String)
public static Object resolveElExpression(com.sun.facelets.FaceletContext faceletContext, String elExpression)
ExpressionFactory
that can hold a wider context than the faces
context behind it.
Resolves the expression a second time when first resolution gives a String value using the EL Expression syntax.
Does not throw any error when resolution fails (only logs an error message).
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |