[opencms-dev] NullPointerException with old templates

Andreas Schouten Andreas.Schouten at framfab.de
Thu Aug 9 16:13:18 CEST 2001


Hi,

you have switched on the element-cache

(See properties file opencms.properties:
  # Element cache parameters
  ######################################
  elementcache.enabled = true
)

The element-cache needs complete elementdefinitions with mastetemplate and
class. You can switch off the element-cache if you need the feature of short
element definitions.

In a later distribution of OpenCms the element-cache will handle these short
element-definitions.

> <ELEMENTDEF name="body1">
> <TEMPLATESELECTOR>body1</TEMPLATESELECTOR>
> </ELEMENTDEF>

Regards,
Andreas



More information about the opencms-dev mailing list