struts-issues 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-1262) Sub-Tiles not rendered correctly in 1.1RC1
Date Tue, 02 May 2006 00:24:19 GMT
     [ http://issues.apache.org/struts/browse/STR-1262?page=all ]
     
David Evans reopened STR-1262:
------------------------------

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

> Sub-Tiles not rendered correctly in 1.1RC1
> ------------------------------------------
>
>          Key: STR-1262
>          URL: http://issues.apache.org/struts/browse/STR-1262
>      Project: Struts Action 1
>         Type: Bug

>   Components: Taglibs
>     Versions: 1.1 RC1
>  Environment: Operating System: All
> Platform: PC
>     Reporter: Jerome Jacobsen
>     Assignee: David Graham
>      Fix For: 1.1 Family
>  Attachments: Cedric_Response.txt, R├ędaction d'un projet.htm, patchfile.txt, recursivite.zip
>
> After upgrading from Struts 1.1b2 to 1.1RC1 many of my Tiles based pages would 
> render incorrectly.  I've created a simple example to illustrate this behavior.
> In 1.1b2 it renders correctly like this:
> Testing Sub-tiles
> TILE_A  TILE_B  
> In 1.1RC1 it renders incorrectly like this:
> TILE_A  TILE_B  
> Testing Sub-tiles
> The entry JSP, called subtiles.jsp, looks like this:
> <%@ page contentType="text/html"%>
> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html">
> <title>Sub-Tiles Test</title>
> </head>
> <body>
> <h1>Testing Sub-tiles</h1>
> <tiles:insert page="tilestable.jsp" flush="true">
>  <tiles:put name="cellone">
>   <tiles:insert page="tilea.jsp" flush="true"/>
>  </tiles:put>
>  <tiles:put name="celltwo">
>   <tiles:insert page="tileb.jsp" flush="true"/>
>  </tiles:put>
> </tiles:insert>
> </body>
> </html>
> The tilestable.jsp looks like this:
> <%@ page contentType="text/html"%>
> <%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
> <tiles:useAttribute name="cellone"/>
> <tiles:useAttribute name="celltwo"/>
> <table border="0" cellpadding="4" cellspacing="4">
>  <tr>
>   <td><%= cellone %></td>
>   <td><%= celltwo %></td>
>  </tr>
> </table>
> And tilea.jsp is shown below:
> <%@ page contentType="text/html"%>
> TILE_A
> Followed by tileb.jsp here:
> <%@ page contentType="text/html"%>
> TILE_B
> I searched the struts-user list archives and found a thread titled "Odd Tiles 
> Behavior with 2003-01-01 Nightly Build".  Cedric Dumoulin had indicated to the 
> poster reporting the problem to file a bug in Bugzilla.  However I've found no 
> such bug report.
> Here's the link to Cedric's response:
> http://shorl.com/gybrypryvabyga

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


Mime
View raw message