OpenCms JSP standard taglib
Tag edit

The tag can be used to place edit buttons around arbitrary HTML fragment. It allows to edit, add or delete XML contents. Typically it is used in the contexts of lists, e.g., news lists, where each list entry should be editable.

Tag Information
Tag Classorg.opencms.jsp.CmsJspTagEdit
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone


The UUID of the resource that should be edited. If not provided, the tag can still be used to create new resources (XML contents).

Default: null.

If set to true the "Create" option is added to the edit buttons - provided that the attribute uuid is specified. Otherwise the "Create" option can only be enabled by specifying createType. Newly created resources have the same type as the resource specified via attribute uuid. If createType is specified, create has no influence at all.

Default: false.

The type of resources (XML contents) that should be created, specified via the resource type name.

Default: The type of the resource specified via the attribute uuid, or, if no resource is specified null.

The location where newly created contents are stored is read from sitemap configurations. creationSiteMap specifies the sitemap from which the configuration should be used. Provide the (site-relative) path to a folder in the (sub)sitemap.

Default: The (sub)sitemap of the currently requested URI.

If set to true, the "Delete" option is added to the edit buttons - provided that the attribute uuid specifies the resource to edit/delete.

Default: false
postCreateHandlerfalsetruejava.lang.StringThe fully qualified class name of a org.opencms.file.collectors.I_CmsCollectorPostCreateHandler that is called when a new resource is created via the tag.

No Variables Defined.

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.