hst-core-tags
Tag cmseditlink


This tag can be used to create a cms edit url OR a HTML comment snippet that contains information abuot the edit link in the cms. Only in preview mode, the tag can output something. In live, it will be ignored. Furthermore, two different behaviours are distinguished depending on where a 'var' attribute is used or not: MODE 1: When there is an attribute 'var', then in a PREVIEW mount, the value of the cms url will be stored in this var. It can be used by developers to create a cms link in a website. MODE 2: When there is *NOT* an attribute 'var' used, then only when in PREVIEW and CMS SSO CONTEXT (template composer) an HTML COMMENT will be written directly to the output containing information how to open the document in the cms. Also a HTML comment will be direcly written. This mode is useful for a surfandedit link that is to be used in the cms template composer.


Tag Information
Tag Classorg.hippoecm.hst.tag.HstCmsEditLinkTag
TagExtraInfo Classorg.hippoecm.hst.tag.HstCmsEditLinkTag$TEI
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
hippobeanfalsetrueorg.hippoecm.hst.content.beans.standard.HippoBeanA HippoBean object. This is typically one of your bean mapped objects
varfalsefalsejava.lang.StringThe variable name of the surf and edit url.
scopefalsefalsejava.lang.StringScope of var or the localization context configuration variable. "page", "request", "session" or "application". "page" scope by default.

Variables
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.