org.opensubsystems.patterns.listdata.www
Class ListDataBaseTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opensubsystems.core.www.PageElementCacheTag
org.opensubsystems.patterns.listdata.www.ListDataBaseTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- ListDataActionTag, ListDataFormContentTag
public abstract class ListDataBaseTag
- extends org.opensubsystems.core.www.PageElementCacheTag
Custom tag to create and insert to the page all form variables required by
the list data pattern. This tag needs to be in a HTML form which can be
submitted to the server to an instance of ListBrowserServlet.
- Version:
- $Id: ListDataBaseTag.java,v 1.2 2007/03/24 08:34:08 bastafidli Exp $
- Author:
- Miro Halas
- See Also:
- Serialized Form
- Code reviewer:
- Miro Halas
- Code reviewed:
- Initial revision
|
Field Summary |
protected java.lang.String |
m_strOptions
Name of the attribute in the request object, which identifies ListOptions
object. |
| Fields inherited from class org.opensubsystems.core.www.PageElementCacheTag |
CACHE_INDICATOR, CSS_ELEMENT, JS_ELEMENT, m_strCacheas, m_strId, PAGE_ELEMENTS_CACHE, SCRIPT_ELEMENT |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| 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 |
| Methods inherited from class org.opensubsystems.core.www.PageElementCacheTag |
cache, doEndTag, doStartTag, getCacheas, getCachedContent, getCachedContent, getCachedContent, getCachedContentElements, getId, setCacheas, setId |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
m_strOptions
protected java.lang.String m_strOptions
- Name of the attribute in the request object, which identifies ListOptions
object. If none is specified, the default name used by ListBrowserServlet
will be used.
ListDataBaseTag
public ListDataBaseTag()
- Constructor for custom tag.
getOptions
public java.lang.String getOptions()
- Get the name of the attribute which identifies ListOptions object. If none
is specified, the default name used by ListBrowserServlet will be used.
- Returns:
- String - name of the attribute which identifies ListOptions object
setOptions
public void setOptions(java.lang.String strName)
- Sets the name of the attribute which identifies ListOptions object.
- Parameters:
strName - - name of the attribute which identifies ListOptions object
getOptionsObject
protected ListOptions getOptionsObject()
- Get list option object for this tag.
- Returns:
- ListOptions - list option object to use in this tag.
getExtraConditionObject
protected DataCondition getExtraConditionObject(ListOptions listoptions)
- Get list option object for this tag.
- Parameters:
listoptions - - list options from which to retrieve the data condition
- Returns:
- DataCondition - extra condition object to use in this tag or null
if there is none or multiple extra conditions
getExtraConditionAttribute
protected java.lang.String getExtraConditionAttribute(DataCondition extracondition)
- Parameters:
extracondition - - extra condition applied to this list
- Returns:
- String
getExtraConditionOperation
protected java.lang.String getExtraConditionOperation(DataCondition extracondition)
- Parameters:
extracondition - - extra condition applied to this list
- Returns:
- String
getExtraConditionValueType
protected java.lang.String getExtraConditionValueType(DataCondition extracondition)
- Parameters:
extracondition - - extra condition applied to this list
- Returns:
- String
getExtraConditionValue
protected java.lang.String getExtraConditionValue(DataCondition extracondition)
- Parameters:
extracondition - - extra condition applied to this list
- Returns:
- String
Copyright © 2003 - 2006 OpenSubsystems s.r.o.