Package javax.faces.component.html

Examples of javax.faces.component.html.HtmlCommandButton.addActionListener()


  {
    comp.setValueExpression("label", _label);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
  if (_actionExpression != null)
  {
    comp.setActionExpression(_actionExpression);
  }
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.setValueExpression("onkeydown", _onkeydown);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
  if (_accesskey != null)
  {
    comp.setValueExpression("accesskey", _accesskey);
  }
View Full Code Here

  {
    comp.setValueExpression("alt", _alt);
  }
  if (_actionListener != null)
  {
    comp.addActionListener(new MethodExpressionActionListener(_actionListener));
  }
}

@Override
public void release()
View Full Code Here

     button_save.setValue("add config");
     Class[] parms3 = new Class[]{ActionEvent.class};
        MethodExpression mb4 = ef.createMethodExpression(FacesContext.getCurrentInstance().getELContext(),
                "#{AutoEvalSerUserConfigBean.command_saveMetricConfiguration}", null, parms3);
        MethodExpressionActionListener vcl4 = new MethodExpressionActionListener(mb4);
        button_save.addActionListener(vcl4);
     UIParameter p = new UIParameter();
     p.setId("param_save_button"+metric.getInternalID());
     p.setName("pConfigPanel");
     p.setValue(parent.getId());
     button_save.getChildren().add(p);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.