Package javax.faces.event

Examples of javax.faces.event.MethodExpressionValueChangeListener


    if (_valueChangeExpression != null) {
      ValueChangeListener[] valueChangeListeners
        = input.getValueChangeListeners();

      MethodExpressionValueChangeListener listener = null;

      for (int i = 0; i < valueChangeListeners.length; i++)
        if (_valueChangeListener == valueChangeListeners[i])
          listener
            = (MethodExpressionValueChangeListener) valueChangeListeners[i];
View Full Code Here


                            {
                                methodExpression = context.getApplication().getExpressionFactory().
                                        createMethodExpression(context.getELContext(),
                                                attributeExpressionString, Void.TYPE,
                                                new Class[]{ValueChangeEvent.class});
                                valueChangeListener = new MethodExpressionValueChangeListener(methodExpression);
                            }
                            else
                            {
                                // FIXME this will maybe need changes, because the second methodExpression
                                // is supposed to have zero args, but the underlying MethodExpression
                                // won't fulfill this requirement. -=Jakob Korherr=-
                                valueChangeListener = new MethodExpressionValueChangeListener(methodExpression, methodExpression);
                            }

                            ((EditableValueHolder)innerComponent).addValueChangeListener(valueChangeListener);
                        }
                    }
View Full Code Here

                        new PartialMethodExpressionValueChangeListener(methodExpressionOneArg, methodExpressionZeroArg));
            }
            else
            {
                ((EditableValueHolder) instance).addValueChangeListener(
                        new MethodExpressionValueChangeListener(methodExpressionOneArg, methodExpressionZeroArg));
            }
        }
View Full Code Here

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

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

        {
            comp.setValueExpression("validatorMessage", _validatorMessage);
        }
        if (_valueChangeListener != null)
        {
            comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
        }
        if (_value != null)
        {
            comp.setValueExpression("value", _value);
        }
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("validatorMessage", _validatorMessage);
        }
        if (_valueChangeListener != null)
        {
            comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
        }
        if (_value != null)
        {
            comp.setValueExpression("value", _value);
        }
View Full Code Here

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

        {
            comp.setValueExpression("validatorMessage", _validatorMessage);
        }
        if (_valueChangeListener != null)
        {
            comp.addValueChangeListener(new MethodExpressionValueChangeListener(_valueChangeListener));
        }
        if (_value != null)
        {
            comp.setValueExpression("value", _value);
        }
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.