Using Direct Edit with JSP

From OpenCms Wiki
Revision as of 14:33, 16 November 2006 by Bart.vandendriessche (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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>
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox