Hi,
I was migrating from rf 3.3.3 to rf 4, where rich:tabPanel was working with ajaxRendered=true in rf 3. But, after migrating to rf 4 I never got response back for ajax rendering. It's the same problem for rich:tabPanel and rich:panelMenu with mode="ajax".
In my code after doing the ajax submit, I'm not getting the response back. I've enabled the <a4j:log level="debug"/> and below responses were displayed,
[debug]New request added to queue. Queue requestGroupId changed to j_idt242:head_display
[debug]richfaces.queue: will submit request NOW
[debug]Received 'begin' event from <span id=j_idt242:head_display class="rf-ds" ...>
This one is keeps running and I never got the response for onstop event.
The below code is I'm using for identifying ajax status,
<a4j:status xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j" id="action_id"
onstart="#{rich:component('mp_progressBar')}.show()"
onstop="#{rich:component('mp_progressBar')}.hide(); ajaxStatus();" >
</a4j:status>
id ===> mp_progressBar
<rich:popupPanel xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j" id="progBar"
domElementAttachment="parent" resizeable="false" width="140" height="60" modal="true">
<h:outputText value="Processing..." />
</rich:popupPanel>
ajaxStatus() function as follows,
function ajaxStatus(sel, cb) {
jQuery(sel).click(function(){jQuery(cb).attr('checked', jQuery(this).attr('checked'))});
}
Does anybody have any clue on this? what could have went wrong?
P.S JBoss AS 6, richfaces 4
Regards,
SK