[opencms-dev] How to use multiple contents with jsp templates?
Soeren Wollesen
SW at Solve-IT.de
Wed Feb 4 15:04:02 CET 2004
I searched the archice for an answer but i found one only for xml
templates.
I like to use jsp templates and after reading through the examples of
the "How-To-Template-Documentation" I'm only able to use a standard
body.
Like with XML Templates i would like to have a dropdown in the wysiwyg
Editor where i can choose the bodies of the page i'm working on. So i
have to define several bodies somewhere, so that the editor knows what
to display.
I tried the xml way with
<ELEMENTDEF name="imnhalt1">
<TEMPLATESELECTOR>inhalt1</TEMPLATESELECTOR>
</ELEMENTDEF>
and my JSP Template defined in the master Template
and the corresponding default_bodie with
<template name="inhalt1"/>
<edittemplate name="inhalt"/>
But that didn't impress the wysiwyg editor. It still shows only the
empty bodie and no dropdown.
Can somebody help, please?
Soeren Wollesen
More information about the opencms-dev
mailing list