Author: apetrelli
Date: Fri Aug 25 04:40:33 2006
New Revision: 436764

URL: http://svn.apache.org/viewvc?rev=436764&view=rev
Log:
SB-27
Added a simple test definition to see if the tag works now

Added:
    
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testinsertdefinition.jsp
Modified:
    struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/WEB-INF/tiles-defs.xml

Modified: 
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/WEB-INF/tiles-defs.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/WEB-INF/tiles-defs.xml?rev=436764&r1=436763&r2=436764&view=diff
==============================================================================
--- 
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/WEB-INF/tiles-defs.xml 
(original)
+++ 
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/WEB-INF/tiles-defs.xml 
Fri Aug 25 04:40:33 2006
@@ -20,5 +20,11 @@
          <put name="footer" value="/common/footer.jsp" />
          <put name="body"   value="doc.portal.body" />
   </definition>
+  
+  <definition name="test.definition" template="/layout.jsp">
+      <put name="title"  value="This is the title."/>
+      <put name="header" value="/header.jsp"/>
+      <put name="body"   value="/body.jsp"/>
+  </definition>
 
 </tiles-definitions>

Added: 
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testinsertdefinition.jsp
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testinsertdefinition.jsp?rev=436764&view=auto
==============================================================================
--- 
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testinsertdefinition.jsp 
(added)
+++ 
struts/sandbox/trunk/tiles/tiles-test/src/main/webapp/testinsertdefinition.jsp 
Fri Aug 25 04:40:33 2006
@@ -0,0 +1,3 @@
+<%@ taglib uri="http://struts.apache.org/tags-tiles"; prefix="tiles" %>
+
+<tiles:insert name="test.definition" type="definition" />


Reply via email to