<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Nili C,
<div class=""><br class="">
</div>
<div class="">let me go between the lines.<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">Am 21.10.2019 um 20:36 schrieb Nili C <<a href="mailto:nilimesh@hotmail.com" class="">nilimesh@hotmail.com</a>>:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
Hi,</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<br class="">
</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
We are at a very initial stage and pondering if we could use OpenCMS for our content needs, and I need some help answer few questions on OpenCMS.  Will appreciate any help to make this decision.</div>
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="">
<li class="">Currently, we render JSP's for all our content needs (not HTML).  All the demo/examples I find mostly talk about HTML content.  Can we use OpenCMS to create JSP's instead of HTML pages?  </li></ol>
</div>
</div>
</blockquote>
<div>OpenCms templates/formatters are JSPs, but mostly they render HTML pages. So JSPs are used for HTML templating, but you can do whatever you want in JSPs, you can use Tag Libraries, use the OpenCms Tag Library, create custom tags and so on. In OpenCms the
 term „template“ is used for page templates, „formatters“ are also templates, but for smaller content elements contained in pages (like teasers).</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="2">
<li class="">Can we edit the JSP's online (wysiwig) - or do we need to open the file separately, save and then reload the page each time?</li></ol>
</div>
</div>
</blockquote>
<div>Yes, WYSIWYG editing of pages is part of the OpenCms concept.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="3">
<li class="">When we export the JSP, can it contain includes (such as <%@ include file="../myframework/includes/Header.jsp" %>.</li></ol>
</div>
</div>
</blockquote>
Yes, includes are possible, but it’s not how things in OpenCms are usually done. If you have a common header on all pages, it’s added as a (unique) content element, not via JSP include.<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="4">
<li class="">Can we use simple JSP scriptlet within the JSP to be created?  (to customize content for specific user groups set in the session object)</li></ol>
</div>
</div>
</blockquote>
<div>Yes, although I prefer to use custom tags, but scriptlets are possible.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="5">
<li class="">Is there any good demo / documentation that shows how to do the above?</li></ol>
</div>
</div>
</blockquote>
<div>I know that there is a demo, I’ve used it ages ago. You can find more info here: <a href="http://www.opencms.org/en/demo/" class="">http://www.opencms.org/en/demo/</a></div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="6">
<li class="">Are there any OOTB templates/modules that can be used to achieve the above?</li></ol>
</div>
</div>
</blockquote>
<div>Yes, there is the so called „Mercury“ demo template with source code on GitHub, you can find more general info here: <a href="http://www.opencms.org/en/news/190904-opencms-v1101.html" class="">http://www.opencms.org/en/news/190904-opencms-v1101.html</a></div>
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="7">
<li class="">Any advise, watch out, dont do this, etc. for creating JSP's will be greatly appreciated.</li></ol>
</div>
</div>
</blockquote>
<div>As I said, using JSP includes is not the OpenCms way, so I’d advise against it. If you need include like features, there’s something similar coming from OpenCms (don’t remember the name, I think "CMS-Includes"). Other then that we use a lot of custom tags
 (via a Java backed TLD and via simple Tag files) to keep scriptlets out of the JSP templates and to avoid duplicate code. OpenCms is really open, so it’s quite easy to extend existing CMS tags for your own needs.</div>
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<ol class="" start="8">
<li class="">Finally, is there any developers forum, that one can join, discuss and that has better search?  or this mail list is only the way for developers to get any answers?</li></ol>
</div>
</div>
</blockquote>
<div>I don’t know of any other than this mailinglist. But this is still quite active.</div>
<br class="">
<blockquote type="cite" class="">
<div class="">
<div style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;" class="">
<div class="">Thanks & Appreciate your help.</div>
</div>
</div>
</blockquote>
<div><br class="">
</div>
Best</div>
<div><br class="">
</div>
<div>Kai<br class="">
<div><br class="">
</div>
</div>
</div>
</body>
</html>