This content has been marked as final.
Show 3 replies
-
1. Re: multiple request corrupt data model
ilya_shaikovsky Oct 9, 2009 8:37 AM (in response to mjreged)you just using queue component in wrong way.
add just <a4j:queue /> to the form or view. read more at dev guide. -
2. Re: multiple request corrupt data model
mjreged Oct 9, 2009 9:30 AM (in response to mjreged)This is how we setup the queue in our code :
<a4j:queue name="tabQueue" requestDelay="100" ignoreDupResponses="true"> <a4j:form id="q2iForm" > <rich:tabPanel id="tabManager" switchType="ajax" selectedTab="#{tabViewState.selectedTab}" > <rich:tab label="General" id="general" action="general" eventsQueue="tabQueue" similarityGroupingId="1"> <ui:include src="general/general-tab.xhtml"/> </rich:tab> <rich:tab label="Coverage" id="coverage" action="coverage" eventsQueue="tabQueue" similarityGroupingId="1"> <ui:include src="coverage/coverage-tab.xhtml"/> </rich:tab> <rich:tab label="Structure" id="structure" action="structure" eventsQueue="tabQueue" similarityGroupingId="1"> <ui:include src="structure/structure-tab.xhtml"/> </rich:tab> <rich:tab label="Underwriting" id="underwriting" action="underwriting" eventsQueue="tabQueue" similarityGroupingId="1"> <ui:include src="underwriting/underwriting-tab.xhtml"/> </rich:tab> <rich:tab label="Insured" id="insured" action="insured" eventsQueue="tabQueue" similarityGroupingId="1"> <ui:include src="insured/insured-tab.xhtml"/> </rich:tab> <rich:tab label="Payment" id="payment" action="payment" eventsQueue="tabQueue" similarityGroupingId="1"> <ui:include src="payment/payment-tab.xhtml"/> </rich:tab> </rich:tabPanel> <ui:include src="../close-application.xhtml"/> </a4j:form> </a4j:queue>
Is this code wrong?
I will review the queue dev guide one more time. -
3. Re: multiple request corrupt data model
mjreged Oct 9, 2009 10:18 AM (in response to mjreged)Thank you very much you really put me back on the right track.
i changed the queue to this<a4j:form id="q2iForm" > <a4j:queue requestDelay="100" ignoreDupResponses="true" sizeExceededBehavior="dropNew" size="1" />
That really gave me the desired effect.
Thanks again