Testseite für Markup-Kontrolle ohne störendes Layout implementiert
[website] / src / main / webapp / WEB-INF / views / test / kein-layout.jsp
diff --git a/src/main/webapp/WEB-INF/views/test/kein-layout.jsp b/src/main/webapp/WEB-INF/views/test/kein-layout.jsp
new file mode 100644 (file)
index 0000000..f3ef2c0
--- /dev/null
@@ -0,0 +1,20 @@
+<%@page contentType="text/html;charset=UTF-8"%>
+<%@page pageEncoding="UTF-8"%>
+<%@page session="false" %>
+<%@taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
+<%@taglib uri="http://www.springframework.org/tags" prefix="s"%>
+<s:url var="base" value="/" />
+<t:insertDefinition name="test">
+  <t:putAttribute name="title" value="Nur das Basis-Layout" type="string"/>
+  <t:putAttribute name="htmlhead" type="string" value=""/>
+  <t:putAttribute name="maincontent" type="string">
+    <p>
+      In diese Seite ist nur das Basis-Layout eingebunden
+      (<code>/css/base.css</code>).
+    </p>
+    <section>
+      <h1>Weitere Experimente</h1>
+      <t:insertTemplate template="/WEB-INF/templates/test/experimente.jsp"/>
+    </section>
+  </t:putAttribute>
+</t:insertDefinition>