You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Victor Voronenko (JIRA)" <ji...@apache.org> on 2007/06/27 03:10:26 UTC

[jira] Created: (TILES-192) JSP pages not being flushed with request

JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
----------------------------------------------------------------------------------

                 Key: TILES-192
                 URL: https://issues.apache.org/struts/browse/TILES-192
             Project: Tiles
          Issue Type: Bug
    Affects Versions: 2.0.4
         Environment: Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
            Reporter: Victor Voronenko


User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
The master definition file looks like this:

<?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE tiles-definitions PUBLIC
       "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
       "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
   <definition name="RevenueTrend" template="/loadingLayout.jsp">
      <put-attribute name="title"  value="Revenue Trend Report"/>
      <put-attribute name="banner" value="/Headerloading.jsp"/>
      <put-attribute name="body"   value="/RevTrendReport.jsp"/>
      <put-attribute name="footer" value="/Footerloading.jsp"/>
  </definition>
</tiles-definitions> 

The layout file is the following:

<%@ page language="java" session="true" errorPage="error.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" type="text/css" href="app.css"/>
<title>
<tiles:getAsString name="title"/>
</title>
</head>
<body bgcolor="#FFFFFF" onload="startup()">
<tiles:insertAttribute name="banner" flush="true"/>
<tiles:insertAttribute name="body" flush="false"/>
<tiles:insertAttribute name="footer" flush="false"/>
</body>
</html>

These two are fragments from the banner and a footer JSP's:
<!-- banner -->
<div id="slowloading" align="left" style="POSITION: relative">
  	<h1><font color="orange">Loading, please wait...</font></h1>
</div>
<!-- footer -->
<script language="JavaScript">
  if (IE5) {
  	if (isValid(document.all.slowloading.style))
		document.all.slowloading.style.display = 'none';
  }
</script>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TILES-192) JSP pages not being flushed with request

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41327 ] 

Antonio Petrelli commented on TILES-192:
----------------------------------------

I modified the code to support the "flush" attribute in the <tiles:insertXXX> tags, both in trunk and in TILES_2_0_X branch.

Victor, can you test it and see if it works?
Thanks.

> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TILES-192) JSP pages not being flushed with request

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli closed TILES-192.
----------------------------------


> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TILES-192) JSP pages not being flushed with request

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli resolved TILES-192.
------------------------------------

    Resolution: Fixed

Now the "flush" attribute is correctly used.
Added selenium tests.

> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TILES-192) JSP pages not being flushed with request

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli reassigned TILES-192:
--------------------------------------

    Assignee: Antonio Petrelli

> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TILES-192) JSP pages not being flushed with request

Posted by "Victor Voronenko (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41357 ] 

Victor Voronenko commented on TILES-192:
----------------------------------------

I have checked thoroughly the whole trunk of my car and didn't find any single tile in it (A joke!).
But seriously, Antonio: I'd lovely re-test it but I don't belong to a team so far that's why not quite understand the slang. Can you please explain where exactly can I get it?

Thanks.

[ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41327 ] 

Antonio Petrelli commented on TILES-192:
----------------------------------------

I modified the code to support the "flush" attribute in the <tiles:insertXXX> tags, both in trunk and in TILES_2_0_X branch.

Victor, can you test it and see if it works?
Thanks.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


       
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/


> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (TILES-192) JSP pages not being flushed with request

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli updated TILES-192:
-----------------------------------

      Component/s: tiles-jsp (jsp support)
      Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.  (was: Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.)
    Fix Version/s: 2.0.5

Confirmed, the "flush" flag is completely ignored in RenderTagSupport!

> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TILES-192) JSP pages not being flushed with request

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/TILES-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41365 ] 

Antonio Petrelli commented on TILES-192:
----------------------------------------

See:
http://tiles.apache.org/dev/building.html
Go to "building distributions".

Follow the instructions on using SVN but using the URL for the 2_0_X branch:
http://svn.apache.org/repos/asf/tiles/framework/branches/TILES_2_0_X/

For further questions, ask the Struts Users mailing list:
http://tiles.apache.org/mail.html

> JSP pages not being flushed with <tiles:insertAttribute ... flush="true"/> request
> ----------------------------------------------------------------------------------
>
>                 Key: TILES-192
>                 URL: https://issues.apache.org/struts/browse/TILES-192
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-jsp (jsp support)
>    Affects Versions: 2.0.4
>         Environment: Test Server environment: OS Solaris 10, IBM WebSphere v6.1 application server, JDK 1.5. Client: IE 6.0, Windows XP.
>            Reporter: Victor Voronenko
>            Assignee: Antonio Petrelli
>             Fix For: 2.0.5
>
>
> User tried to build the result page of three pieces: banner JSP, body JSP and footer JSP. The header contained initially visible DIV with the warning of possible slow processing. The footer was supposed to be loaded after processing by a middle JSP is complete and make the DIV invisible.
> The master definition file looks like this:
> <?xml version="1.0" encoding="ISO-8859-1" ?>
>  <!DOCTYPE tiles-definitions PUBLIC
>        "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN"
>        "http://tiles.apache.org/dtds/tiles-config_2_0.dtd">
>    <definition name="RevenueTrend" template="/loadingLayout.jsp">
>       <put-attribute name="title"  value="Revenue Trend Report"/>
>       <put-attribute name="banner" value="/Headerloading.jsp"/>
>       <put-attribute name="body"   value="/RevTrendReport.jsp"/>
>       <put-attribute name="footer" value="/Footerloading.jsp"/>
>   </definition>
> </tiles-definitions> 
> The layout file is the following:
> <%@ page language="java" session="true" errorPage="error.jsp"%>
> <%@ page contentType="text/html;charset=UTF-8" %>
> <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <link rel="stylesheet" type="text/css" href="app.css"/>
> <title>
> <tiles:getAsString name="title"/>
> </title>
> </head>
> <body bgcolor="#FFFFFF" onload="startup()">
> <tiles:insertAttribute name="banner" flush="true"/>
> <tiles:insertAttribute name="body" flush="false"/>
> <tiles:insertAttribute name="footer" flush="false"/>
> </body>
> </html>
> These two are fragments from the banner and a footer JSP's:
> <!-- banner -->
> <div id="slowloading" align="left" style="POSITION: relative">
>   	<h1><font color="orange">Loading, please wait...</font></h1>
> </div>
> <!-- footer -->
> <script language="JavaScript">
>   if (IE5) {
>   	if (isValid(document.all.slowloading.style))
> 		document.all.slowloading.style.display = 'none';
>   }
> </script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.