I want to register two behaviors for a textfield, is this possible, as I only
see the result and call to one of them?
This is what I am trying to do:
textfield.add(new ComponentVisualErrorBehavior("onblur", tf));
textfield.add(new AjaxFormComponentUpdatingBehavior("onblur") { ... }
_
You could use ajax decorator which sort of appends callers.. I am not
exactly sure how in your particular situation, but you can try it out
and see how it works:
public static final IAjaxCallDecorator BLUR_DECORATOR = new
IAjaxCallDecorator() {
public CharSequence decorateOnFailureScript(