Hi, It looks like MYFACES-2577 changed jsf.util.chain() to return false if one of the functions in the chain returns false, true otherwise. In the page we're rendering "return jsf.util.chain(...)" for things like onclick handlers. The problem here is that if someone has an <f:ajax> tag on a command button and the chain finished successfully we're returning true in an onclick handler, which means that the form will be submitted. The net effect is that an AJAX call is made and the page is submitted, which is incorrect. In MYFACES-2458 I had fixed this behavior by tacking on "return false;" for command button onclick handlers, but that change has been reverted. I think we simply need to NOT render "return jsf.util.chain(...)" but go back to "jsf.util.chain(...); return false;". I don't see what use it is to have something like an onclick handler get the return value of jsf.util.chain(), other than to break things :). Suggestions?
Thanks, Curtiss Howard
