It seems that Seam destroys the SFSB's after the JSF has been reRendered by the
clicking of the continue button in the following xhtml code:
[url]
<a4j:form id="a4jChangePeer">
<h:outputText value="Are you sure you want to switch to a peer? You
will lose all unsaved changes."/>
<h:panelGrid columns="2">
<a4j:commandButton value="Continue"
action="#{securityAuditAction.invalidateSession}"
onclick="Richfaces.hideModalPanel('mpChangePeer')"
ajaxSingle="true"
reRender="mainForm"/>
<a4j:commandButton value="Cancel"
onclick="resetPeerMenu();
Richfaces.hideModalPanel('mpChangePeer')"/>
</h:panelGrid>
</a4j:form>[/url]
So the invalidateSession method is marked with @End, when exactly does the SFSB get
destroyed? It seems it happens after the reRendering of the JSF and in my case that's
too late. When the JSF reRenders, it displays the data from the original dataTable....
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4115619#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...