<p>Ok thanks for the clarification. So, isn't xmlpage itself a type of structured xmlcontent defined in opencms-modules.XML by some module? If so, then this usage of template property must come from the template used by that module. In other words template is not really used by opencms framework but might be used by a module that alkacon may have written as a part of their distro. Did I get it right?</p>
<p>Tim<br>
</p>
<p><blockquote type="cite">On Mar 29, 2010 8:25 AM, "Paul-Inge Flakstad" <<a href="mailto:flakstad@npolar.no">flakstad@npolar.no</a>> wrote:<br><br>
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Tim,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Just to clearify: for xmlcontent ("Structured
content"), the "template" property isn't used by OpenCms. But for other
resource types, like xmlpage ("Page with free text"), it is used by OpenCms.
</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">As far as I can tell, the "master template"
(the surrounding outer template) works in a slightly different
way when working with xmlpage files, compared to working
with xmlcontent files:</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">For xmlpage, the master template has some <cms:include
element="..." /> statements that include content from the
various element(s) of the xmlpage.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">For xmlcontent, the master template is included from
the xmlcontent's template, defined in the property
"template-elements".</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">In short, xmlpage files need their "template" property
set, xmlcontent files need their "template-elements" property set. If
done correctly, you can use the same master template for
both.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Best regards,</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">Paul</font></span></div><br>
<blockquote dir="ltr" style="padding-left:5px;margin-left:5px;border-left:#0000ff 2px solid;margin-right:0px">
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><p><font color="#500050"><br>> From: <a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a> [mailto:<a href="mailto:opencms-dev-bounces@opencms.org">opencms-dev-bounces@opencms.org</a>] On Behalf Of Tim D...</font></p>
<b>Sent:</b> 29. mars 2010 14:59<p><font color="#500050"><br>> To: The OpenCms mailing list</font></p><b>Subject:</b> Re: [opencms-dev] Properties template and
template-elements<br></font><br></div><p><font color="#500050">> Thank you folks. Yeah, that's how I have used the template elements property so far. I was not awa...</font></p></blockquote></div>
<br><br>
_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br></blockquote></p>