super.setProperties(uiComponent);
final UIButton component = (UIButton) uiComponent;
final FacesContext context = FacesContext.getCurrentInstance();
final Application application = context.getApplication();
if (actionListener != null) {
component.addActionListener(new javax.faces.event.MethodExpressionActionListener(actionListener));
}
if (accessKey != null) {
if (!accessKey.isLiteralText()) {
component.setValueExpression("accessKey", accessKey);
} else {