Package javax.faces.event

Examples of javax.faces.event.MethodExpressionActionListener


            if (!(component instanceof ActionSource2))
            {
                throw new IllegalArgumentException("Component " + component.getClientId(context) + " is no ActionSource");
            }

            ((ActionSource2)component).addActionListener(new MethodExpressionActionListener(actionListener));
        }
    }
View Full Code Here


  {
    comp.setValueExpression("label", _label);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
  if (_actionExpression != null)
  {
    comp.setActionExpression(_actionExpression);
  }
View Full Code Here

  {
    comp.setValueExpression("styleClass", _styleClass);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
  if (_actionExpression != null)
  {
    comp.setActionExpression(_actionExpression);
  }
View Full Code Here

            {
                actionListener = new PartialMethodExpressionActionListener(methodExpression, methodExpression2);
            }
            else
            {
                actionListener = new MethodExpressionActionListener(methodExpression, methodExpression2);
            }
        }
        ((ActionSource2) innerComponent).addActionListener(actionListener);
        mctx.addMethodExpressionTargeted(innerComponent, targetAttributeName, actionListener);
    }
View Full Code Here

    uiDataComponent.setVar(var);
   
   
    if(actionListener!=null)
    {
      ((ActionSource)uiDataComponent).addActionListener(new MethodExpressionActionListener(actionListener));
    }
  }
View Full Code Here

    component.setValueExpression("styleClass", styleClass);
    component.setValueExpression("tabClass", tabClass);
    component.setValueExpression("selectedTabClass", selectedTabClass);
    if(actionListener!=null)
    {
      ((ActionSource)component).addActionListener(new MethodExpressionActionListener(actionListener));
    }
  }
View Full Code Here

    uiDataComponent.setVar(var);
   
   
    if(actionListener!=null)
    {
      ((ActionSource)uiDataComponent).addActionListener(new MethodExpressionActionListener(actionListener));
    }
  }
View Full Code Here

  {
    comp.setValueExpression("tabindex", _tabindex);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
  if (_onfocus != null)
  {
    comp.setValueExpression("onfocus", _onfocus);
  }
View Full Code Here

        {
            comp.setActionExpression(_actionExpression);
        }       
        if (_actionListener != null)
        {
            comp.addActionListener(new MethodExpressionActionListener(_actionListener));
        }
    }
View Full Code Here

        {
            comp.setActionExpression(_actionExpression);
        }       
        if (_actionListener != null)
        {
            comp.addActionListener(new MethodExpressionActionListener(_actionListener));
        }
    }
View Full Code Here

TOP

Related Classes of javax.faces.event.MethodExpressionActionListener

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.