Class PropertyTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.hippoecm.hst.tag.HstTagSupport
-
- org.onehippo.forge.properties.tags.ParamContainerTag
-
- org.onehippo.forge.properties.tags.PropertyTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class PropertyTag extends ParamContainerTag
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
documentPath
protected String
language
static String
MANAGER_POSTFIX_DEFAULT
protected String
managerPostfix
protected String
name
protected String
var
-
Fields inherited from class org.onehippo.forge.properties.tags.ParamContainerTag
parametersList
-
-
Constructor Summary
Constructors Constructor Description PropertyTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cleanup()
protected int
doEndTag(org.hippoecm.hst.core.component.HstRequest hstRequest, org.hippoecm.hst.core.component.HstResponse hstResponse)
protected String
getDefaultValue(PropertiesManager propertiesManager)
Get the value that is printed if the property isn't foundprotected void
handleValue(String value, org.hippoecm.hst.core.component.HstRequest hstRequest)
void
setDocumentPath(String documentPath)
void
setLanguage(String language)
void
setManagerPostfix(String managerPostfix)
void
setName(String name)
void
setVar(String var)
-
Methods inherited from class org.onehippo.forge.properties.tags.ParamContainerTag
addValue, addValue, doStartTag
-
Methods inherited from class org.hippoecm.hst.tag.HstTagSupport
doEndTag, getHstSite, getMount, getObjectBeanManager, getObjectConverter, getSiteContentBaseBean, getSiteContentBasePath, isPreview
-
-
-
-
Method Detail
-
doEndTag
protected int doEndTag(org.hippoecm.hst.core.component.HstRequest hstRequest, org.hippoecm.hst.core.component.HstResponse hstResponse)
- Overrides:
doEndTag
in classorg.hippoecm.hst.tag.HstTagSupport
-
getDefaultValue
protected String getDefaultValue(PropertiesManager propertiesManager)
Get the value that is printed if the property isn't found
-
handleValue
protected void handleValue(String value, org.hippoecm.hst.core.component.HstRequest hstRequest)
-
setName
public void setName(String name)
-
setDocumentPath
public void setDocumentPath(String documentPath)
-
setVar
public void setVar(String var)
-
setManagerPostfix
public void setManagerPostfix(String managerPostfix)
-
setLanguage
public void setLanguage(String language)
-
cleanup
protected void cleanup()
- Overrides:
cleanup
in classParamContainerTag
-
-