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=30696>.
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=30696

Struts-Tiles-JSF-Integration SOMETIMES creates blank pages

           Summary: Struts-Tiles-JSF-Integration SOMETIMES creates blank
                    pages
           Product: Struts
           Version: 1.1 Final
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Struts-Faces Library
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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???

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to