2 Replies Latest reply on Apr 3, 2012 11:30 AM by Michael Heinen

    RF4.2: CommandButton does not fire --> richfaces.queue: Waiting for previous submit results

    Michael Heinen Newbie

      Hi all,

       

      I have a form with a command button, that does sometimes not fire.

      It is reproducible for me but I cannot see the reason.

       

      The richfaces log ends with:

      debug[18:09:39.285]: New request added to queue. Queue requestGroupingId changed to reportDetailsForm:closeReportDetails

      debug[18:09:39.316]: Queue will wait 0ms before submit

      debug[18:09:39.349]: richfaces.queue: Waiting for previous submit results

       

       

       

      Richfaces log containing the last two requests (I removed the view state):

      debug[18:09:32.389]: richfaces.queue: ajax submit successfull

      debug[18:09:32.419]: richfaces.queue: Nothing to submit

      info [18:09:32.454]: Received 'success' event from <input id=reportCreationWizardForm_p8:wcr_p8_cb2 class="button_next" ...>

      info [18:09:32.486]: Received 'complete' event from <input id=reportCreationWizardForm_p8:wcr_p8_cb2 class="button_next" ...>

      debug[18:09:33.665]: New request added to queue. Queue requestGroupingId changed to reportCreationWizardForm_p5:wcr_p5_cb2

      debug[18:09:33.704]: Queue will wait 0ms before submit

      debug[18:09:33.735]: richfaces.queue: will submit request NOW

      info [18:09:33.770]: Received 'begin' event from <input id=reportCreationWizardForm_p5:wcr_p5_cb2 class="button_save" ...>

      info [18:09:33.904]: Received 'beforedomupdate' event from <input id=reportCreationWizardForm_p5:wcr_p5_cb2 class="button_save" ...>

      debug[18:09:33.936]: Server returned responseText: <?xml version="1.0" encoding="utf-8"?><partial-response><changes><update id="reportDetailsForm:aReportDetailsBox"><![CDATA[<span id="reportDetailsForm:aReportDetailsBox"><div id="reportDetailsBox" class="selfree reportDetailsBox" style="z-index:49300;width:904px;height:494px;display:block;"> <div class="rdbsha" style="z-index:49301;height:494px;"> <div class="rdbsha1" style="z-index:49302;"></div> <div class="rdbsha2" style="z-index:49303;"></div> <div class="rdbsha3" style="z-index:49304;"></div> </div> <div class="rdbinbox" style="z-index:49302;"> <div class="reportDetailsBoxHeader" onmousedown="dragStart(event, 'reportDetailsBox', 55000)"><span id="reportDetailsForm:rdb_title" class="reportDetailsBoxHeaderTxt">Report: </span> <div id="rdb_sh8" class="img_close" style="z-index:49302;" onclick="closeReportDetails();"></div> </div><div id="reportDetailsBoxContent" class="reportDetailsBoxContent"></div> <div class="reportDetailsBoxFooter"><select id="reportDetailsForm:reportExportType" name="reportDetailsForm:reportExportType" size="1" class="reportExportType"> <option value="CSV">CSV (comma separated)</option> <option value="CSVT">CSV (tabulator separated)</option> <option value="CSVS">CSV (semicolon separated)</option> <option value="XML">XML</option> <option value="HTML">HTML</option></select> <div class="bbox_exportReport"><input id="reportDetailsForm:exportReportButton" name="reportDetailsForm:exportReportButton" type="submit" value="Export" onclick="var cf = function(){downloadReport('');return false;};var oamSF = function(){};return (cf.apply(this, [])==false)? false : oamSF.apply(this, []); " title="Export Report" style="z-index:1;" class="button_img_small" /><div id="reportDetailsForm:exportReportImg" class="icon_export_search" style="z-index:2" onclick="this.previousSibling.click();" title="Export Report"></div> </div> <div class="rowsLimitDiv"> </div> <div class="bbox_closeReportDetails"> <input id="closeReportDetailsButton" type="button" class="button_img_small" style="z-index:1;" value="Close" title="Close Report" onclick="closeReportDetails();return false;" /><div id="reportDetailsForm:closeReportDetailsImg" class="icon_close" style="z-index:2" onclick="this.previousSibling.click();" title="Close Report"></div> </div> </div> </div> <iframe id="reportDetailsIFR" frameborder="0" src="/jsf21/fpages/transparentIFrameBackground.html" style="z-index:49290;width:900px;height:490px;"></iframe></div></span>]]></update><update id="a4jReportCreationWizard"><![CDATA[<span id="a4jReportCreationWizard"></span>]]></update><update id="a4jScreenLockBox"><![CDATA[<span id="a4jScreenLockBox"> <div id="screenlockBox" style="z-index:40000;display:none;" class="screenLock"> <div id="sclcontent" style="width:100%;height:100%;"></div> <iframe id="screenlockBGIFDummy" src="../fpages/transparentIFrameBackground.html" class="screenlockBGIFDummy" scrolling="no" frameborder="0"> </iframe> </div> <script type="text/javascript">/* <![CDATA[ */ setLogoutDivToTop(); /* ]]><![CDATA[]]]]><![CDATA[> */</script></span>]]></update><update id="messageform:a4jMessageBox"><![CDATA[<span id="messageform:a4jMessageBox"></span>]]></update><update id="a4jLockedBox"><![CDATA[<span id="a4jLockedBox"><form id="lockedform" name="lockedform" method="post" action="/jsf21/faces/facelets/explore.xhtml" enctype="application/x-www-form-urlencoded"><input id="lockedform:a4jLockRetryButton" name="lockedform:a4jLockRetryButton" onclick="jsf.util.chain(this,event,&quot;if(!submitOnce()){return false;};&quot;,&quot;RichFaces.ajax(\&quot;lockedform:a4jLockRetryButton\&quot;,event,{\&quot;incId\&quot;:\&quot;1\&quot;} )&quot;);return false;" class="hiddenAJAXButton" type="submit" /><span id="lockedform:a4jInnerLockedBox"><span id="screenLocked" style="visibility:hidden">false</span></span><input type="hidden" name="lockedform_SUBMIT" value="1" /></form></span>]]></update><update id="javax.faces.ViewState"><![CDATA[ ***removed*** ]]></update><extension id="org.richfaces.extension"><complete>enableSubmit();showProgressBar(false);prooveSelectedReports();enabledisablebuttons();;</complete></extension></changes></partial-response>

       

      info [18:09:33.996]: Listing content of response changes element:

      Element update for id=reportDetailsForm:aReportDetailsBox

      <update id="reportDetailsForm:aReportDetailsBox"><![CDATA[<span id="reportDetailsForm:aReportDetailsBox"><div id="reportDetailsBox" class="selfree reportDetailsBox" style="z-index:49300;width:904px;height:494px;display:block;"> <div class="rdbsha" style="z-index:49301;height:494px;"> <div class="rdbsha1" style="z-index:49302;"></div> <div class="rdbsha2" style="z-index:49303;"></div> <div class="rdbsha3" style="z-index:49304;"></div> </div> <div class="rdbinbox" style="z-index:49302;"> <div class="reportDetailsBoxHeader" onmousedown="dragStart(event, 'reportDetailsBox', 55000)"><span id="reportDetailsForm:rdb_title" class="reportDetailsBoxHeaderTxt">Report: </span> <div id="rdb_sh8" class="img_close" style="z-index:49302;" onclick="closeReportDetails();"></div> </div><div id="reportDetailsBoxContent" class="reportDetailsBoxContent"></div> <div class="reportDetailsBoxFooter"><select id="reportDetailsForm:reportExportType" name="reportDetailsForm:reportExportType" size="1" class="reportExportType"> <option value="CSV">CSV (comma separated)</option> <option value="CSVT">CSV (tabulator separated)</option> <option value="CSVS">CSV (semicolon separated)</option> <option value="XML">XML</option> <option value="HTML">HTML</option></select> <div class="bbox_exportReport"><input id="reportDetailsForm:exportReportButton" name="reportDetailsForm:exportReportButton" type="submit" value="Export" onclick="var cf = function(){downloadReport('');return false;};var oamSF = function(){};return (cf.apply(this, [])==false)? false : oamSF.apply(this, []); " title="Export Report" style="z-index:1;" class="button_img_small" /><div id="reportDetailsForm:exportReportImg" class="icon_export_search" style="z-index:2" onclick="this.previousSibling.click();" title="Export Report"></div> </div> <div class="rowsLimitDiv"> </div> <div class="bbox_closeReportDetails"> <input id="closeReportDetailsButton" type="button" class="button_img_small" style="z-index:1;" value="Close" title="Close Report" onclick="closeReportDetails();return false;" /><div id="reportDetailsForm:closeReportDetailsImg" class="icon_close" style="z-index:2" onclick="this.previousSibling.click();" title="Close Report"></div> </div> </div> </div> <iframe id="reportDetailsIFR" frameborder="0" src="/jsf21/fpages/transparentIFrameBackground.html" style="z-index:49290;width:900px;height:490px;"></iframe></div></span>]]></update>

       

      Element update for id=a4jReportCreationWizard

      <update id="a4jReportCreationWizard"><![CDATA[<span id="a4jReportCreationWizard"></span>]]></update>

      Element update for id=a4jScreenLockBox

      <update id="a4jScreenLockBox"><![CDATA[<span id="a4jScreenLockBox"> <div id="screenlockBox" style="z-index:40000;display:none;" class="screenLock"> <div id="sclcontent" style="width:100%;height:100%;"></div> <iframe id="screenlockBGIFDummy" src="../fpages/transparentIFrameBackground.html" class="screenlockBGIFDummy" scrolling="no" frameborder="0"> </iframe> </div> <script type="text/javascript">/* <![CDATA[ */ setLogoutDivToTop(); /* ]]><![CDATA[]]]]><![CDATA[> */</script></span>]]></update>

       

      Element update for id=messageform:a4jMessageBox

      <update id="messageform:a4jMessageBox"><![CDATA[<span id="messageform:a4jMessageBox"></span>]]></update>

      Element update for id=a4jLockedBox

      <update id="a4jLockedBox"><![CDATA[ <span id="a4jLockedBox"><form id="lockedform" name="lockedform" method="post" action="/jsf21/faces/facelets/explore.xhtml" enctype="application/x-www-form-urlencoded"><input id="lockedform:a4jLockRetryButton" name="lockedform:a4jLockRetryButton" onclick="jsf.util.chain(this,event,&quot;if(!submitOnce()){return false;};&quot;,&quot;RichFaces.ajax(\&quot;lockedform:a4jLockRetryButton\&quot;,event,{\&quot;incId\&quot;:\&quot;1\&quot;} )&quot;);return false;" class="hiddenAJAXButton" type="submit" /><span id="lockedform:a4jInnerLockedBox"><span id="screenLocked" style="visibility:hidden">false</span></span><input type="hidden" name="lockedform_SUBMIT" value="1" /></form></span>]]></update>

      Element update for id=javax.faces.ViewState

      <update id="javax.faces.ViewState"><![CDATA[ ***removed*** ]]></update>

      Element extension for id=org.richfaces.extension

      <extension id="org.richfaces.extension"><complete>enableSubmit();showProgressBar(false);prooveSelectedReports();enabledisablebuttons();;</complete></extension>

       

      debug[18:09:39.285]: New request added to queue. Queue requestGroupingId changed to reportDetailsForm:closeReportDetails

      debug[18:09:39.316]: Queue will wait 0ms before submit

      debug[18:09:39.349]: richfaces.queue: Waiting for previous submit results