com.beasys.commerce.content.tags
Class SelectByIdTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--com.beasys.commerce.content.tags.BaseTag
|
+--com.beasys.commerce.content.tags.SelectByIdTag
- public class SelectByIdTag
- extends BaseTag
A tag which finds a Content via its identifier and places it in a script
variable for use.
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
contentHome
The JNDI name of the ContentManager to contact. |
protected java.lang.String |
contentId
The identifier of the content. |
protected java.lang.String |
onNotFound
The error message to give if the identifier is not found. |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id,
pageContext |
Methods inherited from class com.beasys.commerce.content.tags.BaseTag |
getCacheId,
getCacheScope,
getCacheTimeout,
getFailOnError,
getHttpSession,
getReadOnly,
getUseCache,
setCacheId,
setCacheScope,
setCacheTimeout,
setCacheTimeout,
setFailOnError,
setFailOnError,
setReadOnly,
setReadOnly,
setUseCache,
setUseCache |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag,
findAncestorWithClass,
getId,
getParent,
getValue,
getValues,
removeValue,
setId,
setPageContext,
setParent,
setValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
contentHome
protected java.lang.String contentHome
- The JNDI name of the ContentManager to contact.
contentId
protected java.lang.String contentId
- The identifier of the content.
onNotFound
protected java.lang.String onNotFound
- The error message to give if the identifier is not found.
SelectByIdTag
public SelectByIdTag()
getContentHome
public java.lang.String getContentHome()
- Get the value of
contentHome
.
setContentHome
public void setContentHome(java.lang.String v)
- Set the value of
contentHome
.
getContentId
public java.lang.String getContentId()
- Get the value of
contentId
.
setContentId
public void setContentId(java.lang.String v)
- Set the value of
contentId
.
getOnNotFound
public java.lang.String getOnNotFound()
- Get the value of
onNotFound
.
setOnNotFound
public void setOnNotFound(java.lang.String v)
- Set the value of
onNotFound
.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
- Called to execute the tag.
- Overrides:
- doStartTag in class javax.servlet.jsp.tagext.TagSupport
release
public void release()
- Release any resources.
- Overrides:
- release in class BaseTag
Copyright © 2000 BEA Systems, Inc. All Rights Reserved