public class GetProjectTag
extends atg.web.tagsupport.PageVariableTagSupport
Project
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
GetProjectTag.TEI
TagExtraInfo class to handle var/id processing.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
GetProjectTag()
Empty Constructor
|
Modifier and Type | Method and Description |
---|---|
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
|
getDynamoRequest, getId, getVar, isBlank, setId, setPageVariable, setScope, setVar
public void setProjectId(java.lang.String pProjectId)
pProjectId
- a valid project idpublic java.lang.String getProjectId()
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
- if the projectId is invalidProject
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
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class atg.web.tagsupport.PageVariableTagSupport
Tag.release()