-
1. Re: Richfaces 4 is disabled
ctomc Jun 18, 2014 5:28 AM (in response to naruto_t3)Moved to RichFaces forum
-
2. Re: Richfaces 4 is disabled
michpetrov Jun 18, 2014 9:37 AM (in response to naruto_t3)Hi,
comments around JavaScript will not disable it; if the poll is not working the problem is somewhere else. Did you try using <a4j:log>?
-
3. Re: Richfaces 4 is disabled
naruto_t3 Jun 20, 2014 3:59 AM (in response to naruto_t3)Hi,
I try show the Richfaces log by <a4j:log> and saw the error message like below:
info [00:49:06.576]: Received 'begin' event from <span id=form1:poll ...>
info [00:49:06.593]: Received 'beforedomupdate' event from <span id=form1:poll ...>
info [00:49:06.594]: Server returned responseText: <?xml version="1.0" encoding="utf-8"?><partial-response><changes><update id="form1:poll"><![CDATA[<span style="display:none;" id="form1:poll"><script type="text/javascript"><!--new RichFaces.ui.Poll("form1:poll",{"enabled":true,"interval":2000,"ontimer":function(event){RichFaces.ajax("form1:poll",event,{"incId":"1"} )}} )//--></script></span>]]></update><update id="form2:myPanel"><![CDATA[<span id="form2:myPanel"><span id="form2:serverDate" style="font-size:16px">Server Date: Fri Jun 20 00:49:06 PDT 2014</span></span>]]></update><update id="javax.faces.ViewState"><![CDATA[rO0ABXQAATY=]]></update><extension id="org.richfaces.extension"><render>form1:poll form2:myPanel</render></extension></changes></partial-response>
warn [00:49:06.595]: richfaces.queue: ajax submit error
error[00:49:06.596]: Received 'error@malformedXML' event from <span id=form1:poll ...>
error[00:49:06.597]: [status=200] no error details
I also search and investigate this issue and get more information about this issue:
https://community.jboss.org/thread/229336
https://issues.jboss.org/browse/RF-12865
However, I cannot find out the solution
Best regards,
Trung Trinh.
-
4. Re: Richfaces 4 is disabled
michpetrov Jun 20, 2014 5:50 AM (in response to naruto_t3)Can you post the page code? From the HTML it seems the poll is not inside a form, that's certainly a mistake.