Layout für den Ausdruck
[website] / src / main / webapp / WEB-INF / views / test / druck-layout.jsp
diff --git a/src/main/webapp/WEB-INF/views/test/druck-layout.jsp b/src/main/webapp/WEB-INF/views/test/druck-layout.jsp
new file mode 100644 (file)
index 0000000..fcca5a7
--- /dev/null
@@ -0,0 +1,25 @@
+<%@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="Die für den Ausdruck angepasste Ansicht" type="string"/>
+  <t:putAttribute name="htmlhead" type="string">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <link rel="stylesheet" type="text/css" href="${base}css/base.css" />
+    <link rel="stylesheet" type="text/css" href="${base}css/print.css" />
+  </t:putAttribute>
+  <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:insertTemplate template="/WEB-INF/templates/maincontent.jsp"/>
+  </t:putAttribute>
+</t:insertDefinition>