<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Gerd,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
re "template.provider", yes I am in the "Individual properties" tab of the dialog, and I dont see it there in v11.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">There is a gear icon below which lets me add new properties. For now, I have added this property from there.</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
( But that is what I am worried about. Not knowing what I am doing, I may be just wasting my time.
<span id="🙁">🙁 )</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Thanks & Regards,</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>Nili</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> opencms-dev-bounces@opencms.org <opencms-dev-bounces@opencms.org> on behalf of Gerd Schrick <mail@schrick-design.de><br>
<b>Sent:</b> Monday, April 27, 2020 6:33 PM<br>
<b>To:</b> The OpenCms mailing list <opencms-dev@opencms.org><br>
<b>Subject:</b> Re: [opencms-dev] Creating a template JSP - Step 2</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">re "screen.css": (not 100% sure, but) I assume you're right; just try it, you can always change it later on<br>
<br>
re "template.provider": are you in the "Individual properties" tab of the dialog?<br>
IIRC I never had to add this property (but had to change its value)<br>
<br>
HTH<br>
Gerd<br>
<br>
<div class="x_gmail_quote">Am 28. April 2020 00:17:13 MESZ schrieb Nili C <nilimesh@hotmail.com>:
<blockquote class="x_gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I have installed OpenCMS 11.0.1, and getting familiar with the product. I am going through Creating the Template topic using following URL:</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/">https://documentation.opencms.org/opencms-documentation/creating-a-website/creating-a-template-jsp/</a></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am on Step 2: Get the HTML prototype into OpenCms.</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Here it says, <span>At the main.jsp, set the (individual) properties:<br>
</span>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"> template.provider to provider=org.opencms.loader.CmsDefaultTemplateContextProvider,template=%(templatepath).</span><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"> </span><br>
</div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><br>
</span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">However, I do not see any property called "<span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">template.provider"
in the list of "Unused Properties". Can you please advice on what needs to be done here for v11? (skip it, add a new property, set it elsewhere, etc.)</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"><br>
</span></span></div>
<div><br>
</div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Also another thing, here it says set the "template"
property:</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"> template to /system/modules/my.template/resources/screen.css<br>
</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Shouldn't this include the "css" folder name, and
therefore must be set to:</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"> template to /system/modules/my.template/resources/css/screen.css</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">or, is the "css" folder somehow implied?</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"><br>
</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"><br>
</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Appreciate any help.</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important"><br>
</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Thanks,</span></span></div>
<div><span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><span style="font-family:Calibri,Helvetica,sans-serif; background-color:rgb(255,255,255); display:inline!important">Nili</span></span></div>
</div>
</blockquote>
</div>
</div>
</body>
</html>