public class FacesELResolver extends ELResolver
#{faces}
in EL scope.
All methods of Faces
utility class which start with "get" or "is", and take no parameters, and return
either String
or boolean
, 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}
Faces
RESOLVABLE_AT_DESIGN_TIME, TYPE
Constructor and Description |
---|
FacesELResolver() |
Modifier and Type | Method and 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) |
convertToType, invoke
public Class<?> getCommonPropertyType(ELContext context, Object base)
getCommonPropertyType
in class ELResolver
public Class<?> getType(ELContext context, Object base, Object property)
getType
in class ELResolver
public Object getValue(ELContext context, Object base, Object property)
getValue
in class ELResolver
public void setValue(ELContext context, Object base, Object property, Object val)
setValue
in class ELResolver
public boolean isReadOnly(ELContext context, Object base, Object property)
isReadOnly
in class ELResolver
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base)
getFeatureDescriptors
in class ELResolver
Copyright © 2012–2021 OmniFaces. All rights reserved.