Hi,
I have a very simple a4j:commandButton with an oncomplete callback that never gets called. All the ajax code works except this callback.
<a4j:commandButton id="searchBtn1" value="Search" action="#{MyBean.search}" oncomplete="alert('hello world')"/>
<input id="f1:searchBtn1" name="f1:searchBtn1" onclick="A4J.AJAX.Submit('_viewRoot','f1',event,{'parameters':{'f1:searchBtn1':'f1:searchBtn1'},'actionUrl':'/TestApp/Search.faces','oncomplete':function(request,event,data){alert('hello world');}});return false;" value="Search" type="button" />
does the search method in action attribute return a string for navigation ?may be the page navigates so modal panel isnt shown