You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2004/09/07 18:04:16 UTC
DO NOT REPLY [Bug 31097] New: -
Struts-faces renders blank pages when refreshing page.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31097>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31097
Struts-faces renders blank pages when refreshing page.
Summary: Struts-faces renders blank pages when refreshing page.
Product: Struts
Version: 1.1 Final
Platform: PC
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Struts-Faces Library
AssignedTo: dev@struts.apache.org
ReportedBy: fredrik@collabra.se
I downloaded the latest struts-faces nightly build (2004-09-07) and dropped
the demo applications into a fresh jboss 3.2.5, both jboss and the webapps are
unmodified.
When I run the demo application and hit the refresh button on a page, that
page comes back blank (except the first page, wich always works). Waiting a
minute and hitting refresh sometimes brings the page back but subseqvent
refreshes always generates the blank page again.
The server gives the following warnings:
17:12:58,140 WARN [ViewHandlerImpl] Unable to determine FaceServlet mapping
for servlet path '/editRegistration.do'.
17:13:11,469 WARN [ViewHandlerImpl] Unable to determine FaceServlet mapping
for servlet path '/tour.do'.
I am not sure though that these warnings are assosciated with this particular
problem since they sometimes occur even when the pages renders ok. The amazing
thing is that the application works perfect as long as I navigate through it
using the links. It is ONLY the refresh command that makes it disappear.
I tried the solution suggested by kreator at
http://forum.java.sun.com/thread.jsp?thread=500294&forum=427&message=2661146
and added a context.release() at the end of FacesRequestProcessor wich fixed
the problem but introduces an illegalstate exception (don't remember the exact
exception) wich is logical since the context has been removed.
Cheers
Fredrik
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org