Hi Antonio,
        Here is our JSP code snipplet.  As you can see below we are only
using one standard tiles:insertDefinition tag.  The flush=false is
related to a JSF 1.1 bug where JSP includes cause problems with the
buffer output, and webpages get all messed up, I don't understand all
the details, however it is working fine before session times out.  Any
ideas?

<body onload="PageOpen()">
        <%
        //JSF cannot forward to a tile definition directly,
        //so uses this class to redirect.
        //Get navigation definitions from request or session
        String tilesDefStr = request.getParameter("tileDefinitionReq");
        String moduleStr = request.getParameter("selectedModule");
        
        if(tilesDefStr != null){
                session.setAttribute("tileDefinitionReq", tilesDefStr);
        } else{
                //not coming from request, so should be post back to
same page from session
                tilesDefStr =
(String)session.getAttribute("tileDefinitionReq");
        }
                
        if(moduleStr != null){
                session.setAttribute("selectedModule", moduleStr);
        } else {
                //navigation not in request, so post back to same page
from session
                moduleStr =
(String)session.getAttribute("selectedModule");
        }
                
        %>
        <tiles:insertDefinition name='<%=tilesDefStr%>' flush="false" />
</body> 


Ben Maisano
UnitedHealth Group IT
Office: 860-702-6994
Cell:    203-919-8800

-----Original Message-----
From: Antonio Petrelli [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 04, 2008 2:44 AM
To: [email protected]
Subject: Re: Tiles error once session times out

2008/9/3 Maisano, Ben J <[EMAIL PROTECTED]>:
> Hi,
>    I have recently integrated Tiles 2.0.6 into my JSF 1.1 application 
> on WebSphere 6.1 JRE 1.5.  It is currently working fine until the 
> session on the server times out.


May I see the code that you use to include the definition?

Thanks
Antonio


This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.

Reply via email to