/** * @deprecated Use setValueExpression instead */ public void setValueBinding(String name, ValueBinding binding) { if (name == null) throw new NullPointerException("name"); if (name.equals("selected")) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * <p>Store any {@link ValueBinding} specified for <code>selected</code> * under <code>value</code> instead; otherwise, perform the default * superclass processing for this method.</p> * * <p>Rely on the superclass implementation to wrap the argument * <code>ValueBinding</code> in a <code>ValueExpression</code>.</p> * * @param name Name of the attribute or property for which to set * a {@link ValueBinding} * @param binding The {@link ValueBinding} to set, or <code>null</code> * to remove any currently set {@link ValueBinding} * * @throws NullPointerException if <code>name</code> * is <code>null</code> * * @deprecated This has been replaced by {@link #setValueExpression}. */ @Override public void setValueBinding(String name, ValueBinding binding) { if ("selected".equals(name)) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * @deprecated Use setValueExpression instead */ public void setValueBinding(String name, ValueBinding binding) { if (name == null) { throw new NullPointerException("name"); } if (name.equals("selectedValues")) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * <p>Store any {@link ValueBinding} specified for <code>selected</code> * under <code>value</code> instead; otherwise, perform the default * superclass processing for this method.</p> * * <p>Rely on the superclass implementation to wrap the argument * <code>ValueBinding</code> in a <code>ValueExpression</code>.</p> * * @param name Name of the attribute or property for which to set * a {@link ValueBinding} * @param binding The {@link ValueBinding} to set, or <code>null</code> * to remove any currently set {@link ValueBinding} * * @throws NullPointerException if <code>name</code> * is <code>null</code> * * @deprecated This has been replaced by {@link #setValueExpression}. */ public void setValueBinding(String name, ValueBinding binding) { if ("selected".equals(name)) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * <p>Store any {@link ValueBinding} specified for <code>selected</code> * under <code>value</code> instead; otherwise, perform the default * superclass processing for this method.</p> * * <p>Rely on the superclass implementation to wrap the argument * <code>ValueBinding</code> in a <code>ValueExpression</code>.</p> * * @param name Name of the attribute or property for which to set * a {@link ValueBinding} * @param binding The {@link ValueBinding} to set, or <code>null</code> * to remove any currently set {@link ValueBinding} * * @throws NullPointerException if <code>name</code> * is <code>null</code> * * @deprecated This has been replaced by {@link #setValueExpression}. */ public void setValueBinding(String name, ValueBinding binding) { if ("selected".equals(name)) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * @deprecated Use setValueExpression instead */ @Override public void setValueBinding(String name, ValueBinding binding) { if (name == null) { throw new NullPointerException("name"); } if (name.equals("selected")) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * @deprecated Use setValueExpression instead */ @Override public void setValueBinding(String name, ValueBinding binding) { if (name == null) { throw new NullPointerException("name"); } if (name.equals("selectedValues")) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * <p>Store any {@link ValueBinding} specified for * <code>selectedValues</code> under <code>value</code> instead; * otherwise, perform the default superclass processing for this * method.</p> * * <p>This method relies on the superclass to wrap the argument * <code>ValueBinding</code> in a <code>ValueExpression</code>.</p> * * @param name Name of the attribute or property for which to set * a {@link ValueBinding} * @param binding The {@link ValueBinding} to set, or <code>null</code> * to remove any currently set {@link ValueBinding} * * @throws NullPointerException if <code>name</code> * is <code>null</code> * * @deprecated This has been replaced by {@link #setValueExpression(java.lang.String, javax.el.ValueExpression)}. */ @Override public void setValueBinding(String name, ValueBinding binding) { if ("selectedValues".equals(name)) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * <p>Store any {@link ValueBinding} specified for <code>selected</code> * under <code>value</code> instead; otherwise, perform the default * superclass processing for this method.</p> * * <p>Rely on the superclass implementation to wrap the argument * <code>ValueBinding</code> in a <code>ValueExpression</code>.</p> * * @param name Name of the attribute or property for which to set * a {@link ValueBinding} * @param binding The {@link ValueBinding} to set, or <code>null</code> * to remove any currently set {@link ValueBinding} * * @throws NullPointerException if <code>name</code> * is <code>null</code> * * @deprecated This has been replaced by {@link #setValueExpression}. */ public void setValueBinding(String name, ValueBinding binding) { if ("selected".equals(name)) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
/** * <p>Store any {@link ValueBinding} specified for <code>selected</code> * under <code>value</code> instead; otherwise, perform the default * superclass processing for this method.</p> * * <p>Rely on the superclass implementation to wrap the argument * <code>ValueBinding</code> in a <code>ValueExpression</code>.</p> * * @param name Name of the attribute or property for which to set * a {@link ValueBinding} * @param binding The {@link ValueBinding} to set, or <code>null</code> * to remove any currently set {@link ValueBinding} * * @throws NullPointerException if <code>name</code> * is <code>null</code> * * @deprecated This has been replaced by {@link #setValueExpression}. */ @Override public void setValueBinding(String name, ValueBinding binding) { if ("selected".equals(name)) { super.setValueBinding("value", binding); } else { super.setValueBinding(name, binding); } }
public void setValueBinding(String name, ValueBinding binding) { if ("value".equals(name)) { model = null; } else if ("nodeVar".equals(name) || "nodeId".equals(name) || "treeVar".equals(name)) { throw new IllegalArgumentException("name " + name); } super.setValueBinding(name, binding); }
public void setValueBinding(String name, ValueBinding binding) { super.setValueBinding(name, binding); _CommonPropertyConstants.markProperty(this, name); }
@Override @SuppressWarnings("deprecation") public void setValueBinding(String name, javax.faces.el.ValueBinding binding) { getWrapped().setValueBinding(name, binding); }
public void setValueBinding(String name, ValueBinding binding) { super.setValueBinding(name, binding); _CommonPropertyConstants.markProperty(this, name); }
public void setValueBinding(String name, ValueBinding binding) { super.setValueBinding(name, binding); _CommonPropertyConstants.markProperty(this, name); }
public void setValueBinding(String name, ValueBinding binding) { super.setValueBinding(name, binding); _CommonPropertyConstants.markProperty(this, name); }
@Override @SuppressWarnings("deprecation") public void setValueBinding(String name, javax.faces.el.ValueBinding binding) { getWrapped().setValueBinding(name, binding); }
public void setValueBinding(String name, ValueBinding binding) { super.setValueBinding(convertAlias(name), binding); }
private void setRequiredTrue(Map requiredComponents) { Iterator i = requiredComponents.keySet().iterator(); UIInput next = null; while (i.hasNext()) { next = (UIInput) i.next(); ValueBinding valueBinding = (ValueBinding) requiredComponents.get(next); if (null != valueBinding) { next.setValueBinding(REQUIRED, valueBinding); } else { next.setRequired(true); } } }
public void setValueBinding(String name, ValueBinding vb) { super.setValueBinding(convertAlias(name), vb); }