public class HstCmsEditLinkTag
extends javax.servlet.jsp.tagext.TagSupport
This tag creates a cms edit url for some HippoBean. It can do so in two different modes:
var
attribute specified: Then, a url String is set on the var attribute
var
attribute specified: Then, directly to the output a cms edit url and html comment is written.
Modifier and Type | Class and Description |
---|---|
static class |
HstCmsEditLinkTag.TEI
TagExtraInfo class for HstCmsEditLinkTag.
|
Modifier and Type | Field and Description |
---|---|
protected HippoBean |
hippoBean |
protected String |
scope |
protected String |
var |
Constructor and Description |
---|
HstCmsEditLinkTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup() |
int |
doEndTag() |
int |
doStartTag() |
HippoBean |
getHippobean() |
String |
getScope() |
String |
getVar()
Returns the var property.
|
void |
release() |
void |
setHippobean(HippoBean hippoBean) |
void |
setScope(String scope) |
void |
setVar(String var)
Sets the var property.
|
protected HippoBean hippoBean
protected String var
protected String scope
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
protected void cleanup()
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public String getVar()
public String getScope()
public HippoBean getHippobean()
public void setHippobean(HippoBean hippoBean)
public void setVar(String var)
var
- The var to setpublic void setScope(String scope)
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.