org.opensubsystems.patterns.dialoglayout.www
Class DoubleSelectTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opensubsystems.core.www.PageElementCacheTag
org.opensubsystems.core.www.BlockElementTag
org.opensubsystems.patterns.dialoglayout.www.DoubleSelectTag
- 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
public class DoubleSelectTag
- extends org.opensubsystems.core.www.BlockElementTag
Custom tag to generate all HTML code necessary to display double select
control, which contains 2 select lists and buttons that allow moving items
between lists and optionally reordering items in the destination list.
- Version:
- $Id: DoubleSelectTag.java,v 1.17 2007/01/07 06:14:28 bastafidli Exp $
- Author:
- Julian Legeny
- See Also:
- Serialized Form
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.13 2006/02/18 05:29:32 bastafidli
|
Field Summary |
protected java.lang.String |
m_strName
Name of the hidden parameter used to identify submitted data |
protected java.lang.String |
m_strvalue
Value of the hidden parameter storing assigned items. |
| Fields inherited from class org.opensubsystems.core.www.BlockElementTag |
CURRENT_ELEMENT_ID, DIV_BLOCK_ELEMENT, m_strCssclass, m_strIdSuffix, m_strRelatedIds, m_strStyle, m_strType, SPAN_BLOCK_ELEMENT |
| 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.BlockElementTag |
adjustId, getCssclass, getCurrentId, getRelatedids, getStyle, getType, isRelatedIdsTag, popCurrentId, pushCurrentId, restoreId, setCssclass, setRelatedids, setRelatedids, setStoredId, setStyle, setType |
| Methods inherited from class org.opensubsystems.core.www.PageElementCacheTag |
cache, 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_strvalue
protected java.lang.String m_strvalue
- Value of the hidden parameter storing assigned items.
Format of this variable are IDs separated by ','.
m_strName
protected java.lang.String m_strName
- Name of the hidden parameter used to identify submitted data
DoubleSelectTag
public DoubleSelectTag()
- Constructor for custom tag.
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doStartTag in class org.opensubsystems.core.www.BlockElementTag
- Throws:
javax.servlet.jsp.JspException
doEndTag
public int doEndTag()
throws javax.servlet.jsp.JspException
-
- Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag- Overrides:
doEndTag in class org.opensubsystems.core.www.BlockElementTag
- Throws:
javax.servlet.jsp.JspException
getName
public java.lang.String getName()
- Returns:
- String - Name of the hidden parameter used to identify submitted data
getValue
public java.lang.String getValue()
- Returns:
- String - value used for getting hidden parameter storing
assigned items within the destination list
setName
public void setName(java.lang.String strName)
- Parameters:
strName - - Name of the hidden parameter used to identify submitted data
setValue
public void setValue(java.lang.String strValue)
- Parameters:
strValue - - value used for setting up hidden parameter storing
assigned items within the destination list
Copyright © 2003 - 2006 OpenSubsystems s.r.o.