*/
public static AjaxBehavior createAjaxBehavior(String expression) {
FacesContext context = FacesContext.getCurrentInstance();
AjaxBehavior behavior = (AjaxBehavior) context.getApplication().createBehavior(AjaxBehavior.BEHAVIOR_ID);
final MethodExpression method = createVoidMethodExpression(expression, AjaxBehaviorEvent.class);
behavior.addAjaxBehaviorListener(new AjaxBehaviorListener() {
@Override
public void processAjaxBehavior(AjaxBehaviorEvent event) throws AbortProcessingException {
method.invoke(getELContext(), new Object[] { event });
}
});