SelectByIdTag Class
DEPRECATED
- public class SelectByIdTag
extends com.bea.p13n.content.servlets.jsp.taglib.BaseTag
A tag which finds a Content via its identifier and places it in a script
variable for use.
-
Hierarchy
-
Object
TagSupport
com.bea.p13n.content.servlets.jsp.taglib.BaseTag
SelectByIdTag
-
All Implemented Interfaces
-
IterationTag
, Serializable
, Tag
Methods from com.bea.p13n.content.servlets.jsp.taglib.com.bea.p13n.content.servlets.jsp.taglib.BaseTag |
getCacheId , getCacheScope , getCacheTimeout , getFailOnError , getHttpSession , getReadOnly , getUseCache , getUserId , setCacheId , setCacheScope , setCacheTimeout , setCacheTimeout , setFailOnError , setFailOnError , setReadOnly , setReadOnly , setUseCache , setUseCache , toDictionary
|
Methods from javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contentHome
protected String
contentHome
- The JNDI name of the ContentManager to contact.
contentId
protected String
contentId
- The identifier of the content.
contextParams
protected Map
contextParams
- The search context params.
onNotFound
protected String
onNotFound
- The error message to give if the identifier is not found.
SelectByIdTag
public SelectByIdTag()
doStartTag() Method
public int doStartTag()
throws JspException
Called to execute the tag.
-
Overrides
-
TagSupport.doStartTag()
Exceptions
-
JspException
getContentHome() Method
public String
getContentHome()
Get the value of SelectByIdTag.contentHome
.
getContentId() Method
public String
getContentId()
Get the value of SelectByIdTag.contentId
.
getContextParams() Method
public Map
getContextParams()
Get the context params.
getOnNotFound() Method
public String
getOnNotFound()
Get the value of SelectByIdTag.onNotFound
.
release() Method
public void release()
Release any resources.
-
Overrides
-
BaseTag.release()
setContentHome(String) Method
public void setContentHome(String
v)
Set the value of SelectByIdTag.contentHome
.
setContentId(String) Method
public void setContentId(String
v)
Set the value of SelectByIdTag.contentId
.
setContextParams(String) Method
public void setContextParams(String
str)
Set the context params from semi-colon separate list of name=value
pairs.
setContextParams(Map) Method
public void setContextParams(Map
m)
Set the context params.
setOnNotFound(String) Method
public void setOnNotFound(String
v)
Set the value of SelectByIdTag.onNotFound
.