atg.epub.pws.taglib
Class GetProjectTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
atg.web.tagsupport.PageVariableTagSupport
atg.epub.pws.taglib.GetProjectTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
public class GetProjectTag
- extends atg.web.tagsupport.PageVariableTagSupport
Tag for returning a project
- See Also:
Project
,
Serialized Form
Nested Class Summary |
static class |
GetProjectTag.TEI
TagExtraInfo class to handle var/id processing. |
Field Summary |
static java.lang.String |
CLASS_VERSION
Class version string |
Fields inherited from class atg.web.tagsupport.PageVariableTagSupport |
sResourceBundle |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, 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 |
Method Summary |
int |
doEndTag()
|
int |
doStartTag()
Sets the output page variable to the project with the id given in the
projectId property. |
java.lang.String |
getProjectId()
|
void |
release()
|
void |
setProjectId(java.lang.String pProjectId)
Sets the project id to return the project for |
Methods inherited from class atg.web.tagsupport.PageVariableTagSupport |
getDynamoRequest, getId, getVar, isBlank, setId, setPageVariable, setScope, setVar |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
- Class version string
GetProjectTag
public GetProjectTag()
- Empty Constructor
setProjectId
public void setProjectId(java.lang.String pProjectId)
- Sets the project id to return the project for
- Parameters:
pProjectId
- a valid project id
getProjectId
public java.lang.String getProjectId()
- Returns:
- the project id which to return the project for
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Sets the output page variable to the project with the id given in the
projectId property.
- Specified by:
doStartTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
- if the projectId is invalid- See Also:
Project
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
- Specified by:
doEndTag
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
release
public void release()
- Specified by:
release
in interface javax.servlet.jsp.tagext.Tag
- Overrides:
release
in class atg.web.tagsupport.PageVariableTagSupport
- See Also:
Tag.release()