Author: apetrelli
Date: Wed Aug 23 04:47:31 2006
New Revision: 434015

URL: http://svn.apache.org/viewvc?rev=434015&view=rev
Log:
SB-36
Corrected tags to follow the new tiles-core.tld.

Modified:
    struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/layout.jsp
    struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testdef.jsp
    struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput.jsp

Modified: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/layout.jsp
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/layout.jsp?rev=434015&r1=434014&r2=434015&view=diff
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/layout.jsp (original)
+++ struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/layout.jsp Wed Aug 23 
04:47:31 2006
@@ -5,9 +5,9 @@
     <td  bgcolor="Blue"><strong><tiles:getAsString name="title"/></strong></td>
   </tr>
   <tr>
-    <td><tiles:insert attribute="header"/></td>
+    <td><tiles:insert name="header"/></td>
   </tr>
   <tr>
-    <td><tiles:insert attribute="body"/></td>
+    <td><tiles:insert name="body"/></td>
   </tr>
 </table>           

Modified: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testdef.jsp
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testdef.jsp?rev=434015&r1=434014&r2=434015&view=diff
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testdef.jsp (original)
+++ struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testdef.jsp Wed Aug 
23 04:47:31 2006
@@ -1,8 +1,8 @@
 <%@ taglib uri="http://struts.apache.org/tags-tiles"; prefix="tiles" %>
 
-<tiles:definition id="templateDefinition" template="layout.jsp">
+<tiles:definition name="templateDefinition" template="/layout.jsp">
   <tiles:put name="title"  value="This is the title." />
   <tiles:put name="header" value="header.jsp" />
   <tiles:put name="body"   value="body.jsp" />
 </tiles:definition>
-<tiles:insert beanName="templateDefinition" />
\ No newline at end of file
+<tiles:insert name="templateDefinition" />
\ No newline at end of file

Modified: struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput.jsp
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput.jsp?rev=434015&r1=434014&r2=434015&view=diff
==============================================================================
--- struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput.jsp (original)
+++ struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testput.jsp Wed Aug 
23 04:47:31 2006
@@ -1,6 +1,6 @@
 <%@ taglib uri="http://struts.apache.org/tags-tiles"; prefix="tiles" %>
 
-<tiles:insert template="layout.jsp">
+<tiles:insert template="/layout.jsp">
   <tiles:put name="title"  value="This is the title." />
   <tiles:put name="header" value="header.jsp" />
   <tiles:put name="body"   value="body.jsp" />


Reply via email to