<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.sub, li.sub, div.sub
        {mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:purple;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Arial;
        color:purple;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:purple;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Yes you are right, it is the traditional
way. I just have used only cms:includes in my templates before, so concept of
cms:template elements is new to me and means that I have to restructure my
templates in order to get XMLContent working properly </span></font><font
size=2 color=purple face=Wingdings><span style='font-size:10.0pt;font-family:
Wingdings;color:purple'>L</span></font><font size=2 color=purple face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:purple'> <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Regarding the missing template dropdown –
any ideas why this has been dropped out for XMLContent and would it be easy to
put it back in? I could imagine that users might still want to select between
different templates for their XMLContent as well.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Olli  <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jonathan Woods<br>
<b><span style='font-weight:bold'>Sent:</span></b> 14 November 2006 17:22<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">The
 OpenCms mailing list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [opencms-dev]
Template selection for XMLContent</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>This is the same as a traditional
template, isn't it?  Except that the user can't select from a drop-down
which JSP is used to perform the rendition.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Olli Aro<br>
<b><span style='font-weight:bold'>Sent:</span></b> 14 November 2006 16:39<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">The
 OpenCms mailing list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [opencms-dev]
Template selection for XMLContent</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Aaah, so it looks like OpenCms expects
property template-elements to be populated for all XMLContent and then you have
to define there references to template headers and footers. Is there any way to
switch this functionality off and use a “traditional” template for
XMLContent?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Olli <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Olli Aro<br>
<b><span style='font-weight:bold'>Sent:</span></b> 14 November 2006 15:47<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">The
 OpenCms mailing list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [opencms-dev]
Template selection for XMLContent</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Yes that gets me the content from the
XML content items, but how do I get the template around the content area (all
navigation menus etc.)? If you create a normal content item you get the
selection list where you can then select e.g. TemplateOne, but XMLContent does
not seem to have this selection list.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'>Olli<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=purple face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:purple'><o:p> </o:p></span></font></p>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Jonathan Woods<br>
<b><span style='font-weight:bold'>Sent:</span></b> 14 November 2006 15:39<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">The
 OpenCms mailing list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> RE: [opencms-dev]
Template selection for XMLContent</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>If on a particular resource you set the
value of the property called 'template-elements' to the path of a JSP, then
OpenCms will 'call' that JSP when a user requests that resource.  Of
course, the action of the JSP is normally to include data from the XML content
item, i.e. to act as its view, but not necessarily so.</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Jon</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> <o:p></o:p></span></font></p>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabIndex=-1>

</span></font></div>

<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Olli Aro<br>
<b><span style='font-weight:bold'>Sent:</span></b> 14 November 2006 12:00<br>
<b><span style='font-weight:bold'>To:</span></b> '<st1:PersonName w:st="on">The
 OpenCms mailing list</st1:PersonName>'<br>
<b><span style='font-weight:bold'>Subject:</span></b> [opencms-dev] Template
selection for XMLContent</span></font><o:p></o:p></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hi all,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am trying to surround XMLContent with a template and
noticed that when a user creates a new XMLContent item there is no selection
for template. Do I need to exit the creation JSP in order to introduce this for
XMLContent or is there a different way in order to allow the users to select
template for their XML content?<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Regards,<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Olli <o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>

<p class=sub align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

</body>

</html>