public Boolean invoke() { return getNotNullValueBinding().isReadOnly(getFacesContext(context)); } });
public Boolean invoke() { return getNotNullValueBinding().isReadOnly(getFacesContext(context)); } });
public Boolean invoke() { return getNotNullValueBinding().isReadOnly(getFacesContext(context)); } });
public Boolean invoke() { return getNotNullValueBinding().isReadOnly(getFacesContext(context)); } });
public Boolean invoke() { return getNotNullValueBinding().isReadOnly(getFacesContext(context)); } });
public Boolean invoke() { return getNotNullValueBinding().isReadOnly(getFacesContext(context)); } });
public boolean isReadOnly(FacesContext facesContext) throws EvaluationException, PropertyNotFoundException { return wrapped.isReadOnly(facesContext); }
public boolean isReadOnly(ELContext context) throws ELException { assert (null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert (null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public boolean isReadOnly(ELContext context) throws ELException { assert (null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert (null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public static boolean isReadonlyValueBindingOrValueExpression( FacesContext context, UIComponent component, String name) { if (USE_BINDING) { return component.getValueBinding(name).isReadOnly(context); } else { return FacesUtilsEL.isReadonlyValueBindingOrValueExpression(context, component, name); } }
public boolean isReadOnly(ELContext context) throws ELException { assert(null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert(null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public boolean isReadOnly(ELContext context) throws ELException { assert(null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert(null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public boolean isReadOnly(ELContext context) throws ELException { assert(null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert(null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public boolean isReadOnly(ELContext context) throws ELException { assert(null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert(null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public boolean isReadOnly(ELContext context) throws ELException { assert(null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert(null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public boolean isReadOnly(ELContext context) throws ELException { assert(null != binding); if (context == null) { throw new NullPointerException("ELContext -> null"); } boolean result = false; FacesContext facesContext = (FacesContext) context.getContext(FacesContext.class); assert(null != facesContext); try { result = binding.isReadOnly(facesContext); } catch (Throwable e) { throw new ELException(e); } return result; }
public static void recursivelyHandleComponentReferencesAndSetValid(final FacesContext facesContext, final UIComponent parent) { final boolean forceHandle = false; final Method handleBindingsMethod = getBindingMethod(parent); if (handleBindingsMethod != null && !forceHandle) { try { handleBindingsMethod.invoke(parent, new Object[]{}); } catch (final Throwable th) { LOG.error("Exception while invoking handleBindings on component with client-id:" + parent.getClientId(facesContext), th); } } else { for (final Iterator it = parent.getFacetsAndChildren(); it.hasNext();) { final UIComponent component = (UIComponent) it.next(); final ValueBinding binding = component.getValueBinding("binding"); //TODO: constant if (binding != null && !binding.isReadOnly(facesContext)) { binding.setValue(facesContext, component); } if (component instanceof UIInput) { ((UIInput) component).setValid(true); } recursivelyHandleComponentReferencesAndSetValid(facesContext, component); } } }
if (binding != null && !binding.isReadOnly(facesContext))
if (binding != null && !binding.isReadOnly(facesContext))
protected void recursivelyHandleComponentReferencesAndSetValid( FacesContext facesContext, UIComponent parent, boolean forceHandle) { Method handleBindingsMethod = getBindingMethod(parent); if (handleBindingsMethod != null && !forceHandle) { try { handleBindingsMethod.invoke(parent, new Object[] {}); } catch (Throwable th) { log.error( "Exception while invoking handleBindings on component with client-id:" + parent.getClientId(facesContext), th); } } else { for (Iterator it = parent.getFacetsAndChildren(); it.hasNext();) { UIComponent component = (UIComponent) it.next(); ValueBinding binding = component.getValueBinding("binding"); // TODO: // constant if (binding != null && !binding.isReadOnly(facesContext)) { binding.setValue(facesContext, component); } if (component instanceof UIInput) { ((UIInput) component).setValid(true); } recursivelyHandleComponentReferencesAndSetValid(facesContext, component); } } }