Package javax.faces.component

Examples of javax.faces.component.ActionSource2


  }
 
  protected void setActionProperty(UIComponent component, MethodExpression action) {
    if (action != null) {
      if (component instanceof ActionSource2) {
        ActionSource2 actionSource2 = (ActionSource2) component;
        actionSource2.setActionExpression(action);
      } else {
        throw new IllegalArgumentException(Messages.getMessage(Messages.NO_ACTION_SOURCE2_ERROR, component.getClientId(getFacesContext())));
      }
    }
  }
View Full Code Here

TOP

Related Classes of javax.faces.component.ActionSource2

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.