SelectTag Class
DEPRECATED
- public class SelectTag
extends com.bea.p13n.content.servlets.jsp.taglib.BaseTag
JSP Tag implementation for searching for content.
-
Hierarchy
-
Object
TagSupport
com.bea.p13n.content.servlets.jsp.taglib.BaseTag
SelectTag
-
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 content manager home name.
contextParams
protected Map contextParams
- Context params.
expr
protected com.bea.p13n.expression.Expression expr
- The query.
If this is non-null, this will be used. Otherwise, the old expression query will be used.
max
protected long max
- The maximum number of content to return.
oldExpr
protected com.beasys.commerce.foundation.expression.Expression oldExpr
- The old expression query.
If expr is null and this is non-null, this will be
used. Otherwise, the query string will be used.
queryStr
protected String queryStr
- The query string.
sortBy
protected String sortBy
- The sort by clause.
SelectTag
public SelectTag()
doStartTag() Method
public int doStartTag()
throws JspException
Run the tag.
-
Overrides
-
TagSupport.doStartTag()
Exceptions
-
JspException
getContentHome() Method
public String getContentHome()
Get the value of SelectTag.contentHome.
getContextParams() Method
public Map getContextParams()
Get the context params.
getMax() Method
public String getMax()
Get the value of SelectTag.max as a String.
getQuery() Method
public String getQuery()
Get the value of SelectTag.queryStr.
getSortBy() Method
public String getSortBy()
Get the value of SelectTag.sortBy.
release() Method
public void release()
Release this tag.
-
Overrides
-
BaseTag.release()
setContentHome(String) Method
public void setContentHome(String v)
Set the value of SelectTag.contentHome.
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.
setExpression(Expression) Method
public void setExpression(Expression expr)
Set the expression object to use.
setExpression(Expression) Method
DEPRECATED will be removed when old expressions are removed.
public void setExpression(Expression expr)
Set the old expression object to use.
setMax(String) Method
public void setMax(String v)
Set the value of SelectTag.max.
setMax(long) Method
public void setMax(long l)
Set the value of SelectTag.max.
setQuery(String) Method
public void setQuery(String v)
Set the value of SelectTag.queryStr.
setSortBy(String) Method
public void setSortBy(String v)
Set the value of SelectTag.sortBy.