[opencms-dev] Template selection for XMLContent

Olli Aro olli_aro at yahoo.co.uk
Tue Nov 14 16:47:29 CET 2006


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.

 

Olli

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Jonathan Woods
Sent: 14 November 2006 15:39
To: 'The OpenCms mailing list'
Subject: RE: [opencms-dev] Template selection for XMLContent

 

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.

 

Jon

 

  _____  

From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Olli Aro
Sent: 14 November 2006 12:00
To: 'The OpenCms mailing list'
Subject: [opencms-dev] Template selection for XMLContent

Hi all,

 

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?

 

Regards,

 

Olli 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20061114/c85d1ea7/attachment.htm>


More information about the opencms-dev mailing list