[opencms-dev] multiple template-elements

Roman Uhlig Maxity.de roman.uhlig at maxity.de
Mon Feb 1 12:14:55 CET 2010


I tried to use multiple template elements via the "template-elements"
property of the template JSP like that:

"text1*|Text,images*|Images,title*|Title"

Now when I create a new resource, only the "text1" node is created
inside the XML. Is there any way to force OpenCms to always create all
three elements?

If not, how could I check whether an element exists when using
cms.include()?

Thanks in advance,
Roman



More information about the opencms-dev mailing list