Using Direct Edit with JSP
From OpenCms Wiki
Revision as of 14:33, 16 November 2006 by Bart.vandendriessche (Talk | contribs)
Caveat
If you are creating your own templates, and would like to have direct edit functionality enabled, make sure that somewhere in your jsp the direct edit javascript and css is included. You can do this by putting the following tag in your jsp:
<cms:editable/>
From that point, you can enable direct edit by setting the editable attribute on your cms:contentload to true as follows:
<cms:contentload collector="${property.collector}" param="${param.dir}|${param.contentType}" editable="true"> </cms:contentload>