<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-signature">Why is this in the 9.5.2 <a
href="http://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/index.html">documentation</a>:<br>
<br>
<h2 class="headline"> <span>Step 2: Get the HTML prototype into
OpenCms</span> </h2>
<div>
<div>
<div>
<p>If the HTML prototype is zipped and you have named the
module you just created <code>my.template</code>, go to
the folder <code>/system/modules/my.template</code> and
upload the ZIP file with the ZIP-inflating option.
Afterwards go to <code>/system/modules/my.template/templates/</code>
and rename the <code>index.html</code> to <code>main.jsp</code>,
then right click on <code>main.jsp</code> and choose the
option: “Advanced” -> “Change type”, select the JSP
radio button and confirm. With a click on the <code>main.jsp</code>
a new browser window should open that shows the prototype
correctly.</p>
<p>At the<code> main.jsp</code>, set the (individual)
properties</p>
<ul>
<li><code>template.provider</code> to <code>provider=org.opencms.loader.CmsDefaultTemplateContextProvider,template=%(templatepath)</code>.<sup><span
data-original-title="This will cause the use of a
template context provider, adding features for
device dependent representation when you choose the
template from the drop down list."
data-toggle="tooltip" title="" class="glyphicon
glyphicon-question-sign footnote-hover"></span></sup></li>
<li><code>Title</code> to a meaningful value, for the
tutorial "My Template".<sup><span
data-original-title="The title will appear in a list
when choosing the template." data-toggle="tooltip"
title="" class="glyphicon glyphicon-question-sign
footnote-hover"></span></sup></li>
<li><code>template</code> to <code>/system/modules/my.template/resources/screen.css</code>.<sup><span
data-original-title="This will cause the style to be
used in HTML editor when editing content."
data-toggle="tooltip" title="" class="glyphicon
glyphicon-question-sign footnote-hover"></span></sup></li>
</ul>
</div>
</div>
<br>
<br>
<br>
-------------------------------<br>
I've been "taught" by knowledgeable Alkacon staff (in March this
year) that one should use a containerpage template here (a
"hollow" JSP icon found<br>
in the "Other Options" dialog.<br>
<br>
So which information is the valid one now?<br>
<br>
<br>
</div>
-- <br>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
</div>
</body>
</html>