struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Evans (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (STR-2168) Struts-Tiles-JSF-Integration SOMETIMES creates blank pages
Date Mon, 24 Apr 2006 19:04:10 GMT
     [ http://issues.apache.org/struts/browse/STR-2168?page=all ]
     
David Evans reopened STR-2168:
------------------------------

    Assign To: David Evans  (was: Struts Developer Mailing List)

> Struts-Tiles-JSF-Integration SOMETIMES creates blank pages
> ----------------------------------------------------------
>
>          Key: STR-2168
>          URL: http://issues.apache.org/struts/browse/STR-2168
>      Project: Struts Action 1
>         Type: Bug

>   Components: Faces
>     Versions: 1.1 Final
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Alexander Manes
>     Assignee: David Evans
>      Fix For: 1.2 Family
>  Attachments: struts-faces-tiles-blank-page-error.zip, struts-faces.fix.jar
>
> I integrated Struts, Tiles and JavaServer Faces in a webapp (development on 
> Tomcat 5.0.27, WinXP, j2sdk1.4.2_04).
> Form submissions to struts actions <s:form action="/scrollarticles"> work 
> without problems, but the following code sometimes generates blank pages:
> <h:outputLink id="commandLinkPrev" value="scrollarticles.do">
> <f:param name="page" value="#{PrevPage}"/>
> <h:graphicImage url="images/arrow-previous.gif" />
> </h:outputLink>
> When I hit such a link for the first time, it usually works. When I hit 
> another one (e.g. with different target) it's likely to fail, but I can hit 
> RELOAD and I get a correct response. Usually the next time a similar link 
> fails, there's no way to get a response from the server until I reload the 
> whole webapp!
> When I get the blank page, there is absolutely no Exception (not on the 
> console, not in Tomcat logs, not on the page). The page is just blank!
> Debugging showed that my struts action scrollarticles.do or any other action 
> that is called is executed correctly, but no response is rendered to the 
> client browser (there is no HTML source that the browser could display, it's 
> not just an error in the HTML output).
> Also I get the blank page more often on IE6 than on Opera 7, but both browsers 
> are configured to load a page upon every single request (not loading from 
> local cache).
> Is this a bug or am I totally wrong on the use of h:outputLink???
> I know that s:form logically submits to a struts action, but the rendered HTML 
> submits to layout.faces because I'm using Tiles. Is it just wrong call a .do 
> directly???

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message