[
http://jira.jboss.com/jira/browse/RF-3013?page=comments#action_12408217 ]
Jens Behrens commented on RF-3013:
----------------------------------
I also built a svn version of yesterday.
I found out that in AJAX.js in A4J.AJAX.Push method, where the http response code is
checked, this code always is 200 (which should only be if an event occured!).
But I also checked the BaseFilter by investigating debug log output of my appserver.
Although I could not find an error in BaseFilter, I saw following differences between svn
version and 3.1.4:
In 3.1.4 following log msgs repeat until event occurs:
DEBUG [BaseFilter] Filter start request processing at 11.04.08 08:05 for uri:
/lvs_web_prototype/home.jsf
DEBUG [BaseFilter] Occurs event for a id E231B86E65AE63572B0536F411A513E9/home.jsf:j_id2
DEBUG [BaseFilter] Finished request processing total time 0ms for uri:
/lvs_web_prototype/home.jsf
In svn version not only the part 'No event for....' is repeated, but also the part
that is logged if an event occurs:
DEBUG [BaseFilter] Filter start request processing at 11.04.08 08:05 for uri:
/lvs_web_prototype/home.jsf
DEBUG [BaseFilter] No event for a id E231B86E65AE63572B0536F411A513E9/home.jsf:j_id2
DEBUG [BaseFilter] Finished request processing total time 0ms for uri:
/lvs_web_prototype/home.jsf
DEBUG [BaseFilter] Filter start request processing at 11.04.08 08:05 for uri:
/lvs_web_prototype/home.jsf
DEBUG [BaseFilter] Incoming request has Content-Type header with character encoding UTF-8
DEBUG [BaseFilter] Filter request output to XML
DEBUG [BaseXMLFilter] XML filter service start processing request
DEBUG [AjaxPhaseListener] Process before phase RESTORE_VIEW 1
(...)
DEBUG [AjaxPhaseListener] Process after phase RENDER_RESPONSE 6
DEBUG [BaseXMLFilter] Process response to well-formed XML for AJAX XMLHttpRequest parser
DEBUG [BaseXMLFilter] Parsing html total time 0ms
DEBUG [BaseFilter] Finished request processing total time 31ms for uri:
/lvs_web_prototype/home.jsf
a4j:push ALWAYS (not only if event occurs) rerendering specified
components...
------------------------------------------------------------------------------
Key: RF-3013
URL:
http://jira.jboss.com/jira/browse/RF-3013
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0.SR1, 3.2.1
Environment: JDK 1.6
JBOSS 4.0.3 SP1
Facelets
JSF-RI
Reporter: Jens Behrens
Assigned To: Alexander Smirnov
Priority: Critical
Fix For: 3.2.1
I tried the new classes from asmirnov, fixing the issue
http://jira.jboss.com/jira/browse/RF-2960
The eventProducer method is getting called now, but actually rerendering of specified
components is happening always and not only if an event occurs via onEvent method of the
listener...
The component has interval 3000, so every 3 seconds the msg component is rerendered
instead of checking if there actually is an event in queue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira