Class FlowResourceELResolver

java.lang.Object
jakarta.el.ELResolver
org.springframework.webflow.expression.el.FlowResourceELResolver

public class FlowResourceELResolver extends jakarta.el.ELResolver
Custom EL resolver that resolves the messages from the active flow's MessageSource. The message source is indexed under the key resourceBundle. To access a message, specify its key e.g. resourceBundle.myMessage.
Author:
Jeremy Grelle
  • Constructor Details

    • FlowResourceELResolver

      public FlowResourceELResolver()
    • FlowResourceELResolver

      public FlowResourceELResolver(RequestContext requestContext)
  • Method Details

    • getCommonPropertyType

      public Class<?> getCommonPropertyType(jakarta.el.ELContext context, Object base)
      Specified by:
      getCommonPropertyType in class jakarta.el.ELResolver
    • getFeatureDescriptors

      public Iterator<FeatureDescriptor> getFeatureDescriptors(jakarta.el.ELContext context, Object base)
      Overrides:
      getFeatureDescriptors in class jakarta.el.ELResolver
    • getType

      public Class<?> getType(jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      getType in class jakarta.el.ELResolver
    • getValue

      public Object getValue(jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      getValue in class jakarta.el.ELResolver
    • isReadOnly

      public boolean isReadOnly(jakarta.el.ELContext context, Object base, Object property)
      Specified by:
      isReadOnly in class jakarta.el.ELResolver
    • setValue

      public void setValue(jakarta.el.ELContext context, Object base, Object property, Object value)
      Specified by:
      setValue in class jakarta.el.ELResolver
    • getLocale

      protected Locale getLocale()
    • getMessageSource

      protected org.springframework.context.MessageSource getMessageSource()
    • getRequestContext

      protected RequestContext getRequestContext()