[opencms-dev] how to use CmsJspTagEditable ?
Christian Steinert
christian_steinert at web.de
Fri Jun 16 17:28:31 CEST 2006
Nigel Kersten schrieb:
> Am I wrong in thinking that CmsJspTagEditable allows us to generate
> edit/delete/new buttons for editing xml content?
>
> I've been poking around the method includeDirectEditElement, as it
> feels like it might do just that... but I'm not at all sure if I'm
> using it correctly.
the direct edit mechanism has two parts
part one: put the tag
<cms:editable />
in your header. This adds the basic javascript stuff that is needed for
direct edit.
part two: include your content with editable="true".
<cms:include ... editable="true" />
Due to this, this piece of content will be editable
hth
christian
More information about the opencms-dev
mailing list