@Override @Deprecated public VariableResolver getVariableResolver() { return delegate().getVariableResolver(); }
@Override public VariableResolver getVariableResolver() { return application.getVariableResolver(); }
/** * Get the object used to resolve expressions of form "#{...}". * * @deprecated */ public javax.faces.el.VariableResolver getVariableResolver() { return mWrapped.getVariableResolver(); }
/** * {@inheritDoc} */ public VariableResolver getVariableResolver() { return wrapped.getVariableResolver(); }
/** * {@inheritDoc} */ public VariableResolver getVariableResolver() { return wrapped.getVariableResolver(); }
@Override public VariableResolver getVariableResolver() { return this.wrappedApplication.getVariableResolver(); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getVariableResolver} on the * wrapped {@link Application} object.</p> * * @deprecated See superclass for alternative. */ @Override @Deprecated public VariableResolver getVariableResolver() { return getWrapped().getVariableResolver(); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getVariableResolver} on the * wrapped {@link Application} object.</p> */ @Override public VariableResolver getVariableResolver() { return getWrapped().getVariableResolver(); }
public static Object resolveVariable(FacesContext context, String name) { if (context == null) { context = FacesContext.getCurrentInstance(); } return context.getApplication().getVariableResolver().resolveVariable( context, name); }
@Override @Deprecated public VariableResolver getVariableResolver() { return delegate().getVariableResolver(); }
/** * Returns the requested object configured in the faces-config or from library. */ public static Object resolveVariable(final FacesContext context, final String variable) { final Application application = context.getApplication(); final VariableResolver variableResolver = application.getVariableResolver(); return variableResolver.resolveVariable(context, variable); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getVariableResolver} on the * wrapped {@link Application} object.</p> * * @deprecated See superclass for alternative. */ @Override @Deprecated public VariableResolver getVariableResolver() { return getWrapped().getVariableResolver(); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getVariableResolver} on the * wrapped {@link Application} object.</p> * * @deprecated See superclass for alternative. */ @Override @Deprecated public VariableResolver getVariableResolver() { return getWrapped().getVariableResolver(); }
/** * <p class="changed_added_2_0">The default behavior of this method * is to call {@link Application#getVariableResolver} on the * wrapped {@link Application} object.</p> * * @deprecated See superclass for alternative. */ @Override @Deprecated public VariableResolver getVariableResolver() { return getWrapped().getVariableResolver(); }
@Override @Deprecated public VariableResolver getVariableResolver() { return getWrapped().getVariableResolver(); }
/** * Override this method in order to customise the bean instance. */ protected static Converter createConverter(String beanName) { FacesContext facesContext = FacesContext.getCurrentInstance(); Application application = facesContext.getApplication(); Object converter = application.getVariableResolver().resolveVariable(facesContext, beanName); return (Converter) converter; } }
/** * Override this method in order to customise the bean instance. */ protected static Converter createConverter(String beanName) throws JspException { FacesContext facesContext = FacesContext.getCurrentInstance(); Application application = facesContext.getApplication(); Object converter = application.getVariableResolver().resolveVariable(facesContext, beanName); return (Converter) converter; } }
@Override @Deprecated public VariableResolver getVariableResolver() { return delegate().getVariableResolver(); }
@SuppressWarnings("deprecation") public VariableResolver getVariableResolver() { weaveDelegate(); return _delegate.getVariableResolver(); }
protected void setupConversationSystem(FacesContext context) { if (Boolean.TRUE.equals(context.getExternalContext().getApplicationMap().get(CONVERSATION_SYSTEM_SETUP))) { return; } VariableResolver originalVR = context.getApplication().getVariableResolver(); context.getApplication().setVariableResolver(new ConversationVariableResolver(originalVR)); context.getExternalContext().getApplicationMap().put(CONVERSATION_SYSTEM_SETUP, Boolean.TRUE); }