- java.lang.Object
-
- jakarta.el.ELResolver
-
- org.omnifaces.el.FacesELResolver
-
public class FacesELResolver extends ELResolver
This EL resolver basically creates an implicit object#{faces}
in EL scope.All methods of
Faces
utility class which start with "get" or "is", and take no parameters, and return eitherString
orboolean
, and are not related to response nor to session or flash (for which already implicit EL objects#{session}
and#{flash}
exist), will be available as properties of the implicit object#{faces}
. Examples are:#{faces.development} #{faces.serverInfo} #{faces.ajaxRequest} #{faces.requestBaseURL} #{faces.requestURLWithQueryString}
- Since:
- 2.6
- Author:
- Bauke Scholtz
- See Also:
Faces
-
-
Field Summary
-
Fields inherited from class jakarta.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
-
-
Constructor Summary
Constructors Constructor Description FacesELResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>
getCommonPropertyType(ELContext context, Object base)
Iterator<FeatureDescriptor>
getFeatureDescriptors(ELContext context, Object base)
Class<?>
getType(ELContext context, Object base, Object property)
Object
getValue(ELContext context, Object base, Object property)
boolean
isReadOnly(ELContext context, Object base, Object property)
void
setValue(ELContext context, Object base, Object property, Object val)
-
Methods inherited from class jakarta.el.ELResolver
convertToType, invoke
-
-
-
-
Method Detail
-
getCommonPropertyType
public Class<?> getCommonPropertyType(ELContext context, Object base)
- Specified by:
getCommonPropertyType
in classELResolver
-
getType
public Class<?> getType(ELContext context, Object base, Object property)
- Specified by:
getType
in classELResolver
-
getValue
public Object getValue(ELContext context, Object base, Object property)
- Specified by:
getValue
in classELResolver
-
setValue
public void setValue(ELContext context, Object base, Object property, Object val)
- Specified by:
setValue
in classELResolver
-
isReadOnly
public boolean isReadOnly(ELContext context, Object base, Object property)
- Specified by:
isReadOnly
in classELResolver
-
getFeatureDescriptors
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
- Specified by:
getFeatureDescriptors
in classELResolver
-
-