|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.infoglue.deliver.taglib.AbstractTag
org.infoglue.deliver.taglib.content.ContentParameterTag
public class ContentParameterTag
This class implements the <common:parameter> tag, which adds a parameter to the parameters of the parent tag. Note! This tag must have a <common:urlBuilder> ancestor.
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
ContentParameterTag()
Default constructor. |
|
| Method Summary | |
|---|---|
protected void |
addContentMap()
Adds the parameter to the ancestor tag. |
void |
addContentVersion(java.util.Map contentVersion)
Add the contentVersion the child tag generated to the list of contentVersions that are to be persisted. |
void |
clear()
|
int |
doEndTag()
Adds a parameter with the specified name and value to the parameters of the parent tag. |
int |
doStartTag()
Initializes the parameters to make it accessible for the children tags (if any). |
void |
setContentPath(java.lang.String contentPath)
Sets the contentPath attribute. |
void |
setContentTypeDefinitionId(java.lang.String contentTypeDefinitionId)
Sets the contentTypeDefinitionId attribute. |
void |
setName(java.lang.String name)
Sets the name attribute. |
void |
setParentContentId(java.lang.String parentContentId)
Sets the parentContentId attribute. |
void |
setRepositoryId(java.lang.String repositoryId)
Sets the repositoryId attribute. |
| Methods inherited from class org.infoglue.deliver.taglib.AbstractTag |
|---|
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContentParameterTag()
| Method Detail |
|---|
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if an error occurred while processing this tag.
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException - if an error occurred while processing this tag.
protected void addContentMap()
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - if the ancestor tag isn't a url tag.
public void setName(java.lang.String name)
throws javax.servlet.jsp.JspException
name - the name to use.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setRepositoryId(java.lang.String repositoryId)
throws javax.servlet.jsp.JspException
repositoryId - the repositoryId the content will belong to.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setParentContentId(java.lang.String parentContentId)
throws javax.servlet.jsp.JspException
repositoryId - the parentContentId the content the new content will be placed under.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setContentPath(java.lang.String contentPath)
throws javax.servlet.jsp.JspException
contentPath - the path the new content will be placed under.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.
public void setContentTypeDefinitionId(java.lang.String contentTypeDefinitionId)
throws javax.servlet.jsp.JspException
contentTypeDefinitionId - the contentTypeDefinitionId the content will be based on.
javax.servlet.jsp.JspException - if an error occurs while evaluating name parameter.public void addContentVersion(java.util.Map contentVersion)
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||