Package javax.faces.event

Examples of javax.faces.event.MethodExpressionValueChangeListener


                                        {
                                            valueChangeListener = new PartialMethodExpressionValueChangeListener(methodExpression, methodExpression2);
                                        }
                                        else
                                        {
                                            valueChangeListener = new MethodExpressionValueChangeListener(methodExpression, methodExpression2);
                                        }
                                    }
                                    ((EditableValueHolder) innerComponent).addValueChangeListener(valueChangeListener);
                                    mctx.addMethodExpressionTargeted(innerComponent, attributeName, valueChangeListener);
                                    if (mctx.isUsingPSSOnThisView() && mctx.isMarkInitialState())
View Full Code Here


                                        methodExpression2 = reWrapMethodExpression(context.getApplication().getExpressionFactory().
                                                createMethodExpression(elContext,
                                                        attributeExpressionString, Void.TYPE,
                                                        EMPTY_CLASS_ARRAY), attributeNameValueExpression);
           
                                        valueChangeListener = new MethodExpressionValueChangeListener(methodExpression, methodExpression2);
                                    }
                                    ((EditableValueHolder)innerComponent).addValueChangeListener( valueChangeListener );
                                    mctx.addMethodExpressionTargeted(innerComponent, attributeName, valueChangeListener);
                                }
                            }
View Full Code Here

            {
                throw new IllegalArgumentException("Component " + component.getClientId(context) + " is no EditableValueHolder");
            }

            ((EditableValueHolder)component).addValueChangeListener(
                    new MethodExpressionValueChangeListener(valueChangedListener));
        }
    }
View Full Code Here

            {
                throw new IllegalArgumentException("Component " + component.getClientId(context) + " is no EditableValueHolder");
            }

            ((EditableValueHolder)component).addValueChangeListener(
                    new MethodExpressionValueChangeListener(valueChangedListener));
        }
    }
View Full Code Here

                                        methodExpression2 = reWrapMethodExpression(context.getApplication().getExpressionFactory().
                                                createMethodExpression(elContext,
                                                        attributeExpressionString, Void.TYPE,
                                                        EMPTY_CLASS_ARRAY), attributeNameValueExpression);
           
                                        valueChangeListener = new MethodExpressionValueChangeListener(methodExpression, methodExpression2);
                                    }
                                    ((EditableValueHolder)innerComponent).addValueChangeListener( valueChangeListener );
                                    mctx.addMethodExpressionTargeted(innerComponent, targetAttributeName, valueChangeListener);
                                }
                            }
View Full Code Here

      }
    }
  }
  if (_valueChangeListener != null)
  {
    comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
  }
  if (_value != null)
  {
    comp.setValueExpression("value", _value);
  }
View Full Code Here

  {
    comp.setValueExpression("styleClass", _styleClass);
  }
  if (_valueChangeListener != null)
  {
    comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
  }
  if (_cols != null)
  {
    comp.setValueExpression("cols", _cols);
  }
View Full Code Here

            {
                throw new IllegalArgumentException("Component " + component.getClientId(context) + " is no EditableValueHolder");
            }

            ((EditableValueHolder)component).addValueChangeListener(
                    new MethodExpressionValueChangeListener(valueChangedListener));
        }
    }
View Full Code Here

  {
    comp.setValueExpression("ondblclick", _ondblclick);
  }
  if (_valueChangeListener != null)
  {
    comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
  }
  if (_onkeyup != null)
  {
    comp.setValueExpression("onkeyup", _onkeyup);
  }
View Full Code Here

  {
    comp.setValueExpression("title", _title);
  }
  if (_valueChangeListener != null)
  {
    comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
  }
  if (_dir != null)
  {
    comp.setValueExpression("dir", _dir);
  }
View Full Code Here

TOP

Related Classes of javax.faces.event.MethodExpressionValueChangeListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.