org.opensubsystems.patterns.tabbeddialog.www
Class TabbedDialogTag
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.tabbeddialog.www.TabbedDialogTag
- 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 TabbedDialogTag
- extends org.opensubsystems.core.www.BlockElementTag
Custom tag to generate all HTML code necessary to display tabbed dialog. This
is the main tag which represents the dialog itself. The dialog will be created
from the content of the body of this tag.
- Version:
- $Id: TabbedDialogTag.java,v 1.19 2007/01/07 06:14:27 bastafidli Exp $
- Author:
- Miro Halas
- See Also:
- Serialized Form
- Code reviewer:
- Miro Halas
- Code reviewed:
- 1.16 2006/02/18 05:31:32 bastafidli
|
Field Summary |
static java.lang.String |
ACTIVE_TABBED_DIALOG_ID
Id of the active tabbed dialog which will be used by all other related
tags. |
static java.lang.String |
FOCUSED_CONTROL_ID
Id of the control which should have focus when the dialog or a tab of dialog
is displayed. |
protected java.lang.String |
m_strFillercssclass
Class for the tab filler, which is the empty area on the right from tabs. |
protected java.lang.String |
m_strOnswitch
JavaScript code to execute when the tabs are switched or null if nothing
should be executed. |
static java.lang.String |
TABBED_DIALOG_ONSWITCH_JSFUNCTION
Javascript function or value null that will be called by onswich event. |
static java.lang.String |
TABBED_DIALOG_PREFIX
Name of the tabbed dialog that has no specified ID |
| 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 |
ACTIVE_TABBED_DIALOG_ID
public static final java.lang.String ACTIVE_TABBED_DIALOG_ID
- Id of the active tabbed dialog which will be used by all other related
tags.
- See Also:
- Constant Field Values
FOCUSED_CONTROL_ID
public static final java.lang.String FOCUSED_CONTROL_ID
- Id of the control which should have focus when the dialog or a tab of dialog
is displayed. Each tab can have one focused control, if there are multiple,
the first one will get the focus.
- See Also:
- Constant Field Values
TABBED_DIALOG_ONSWITCH_JSFUNCTION
public static final java.lang.String TABBED_DIALOG_ONSWITCH_JSFUNCTION
- Javascript function or value null that will be called by onswich event. This value
will be cached here and can be used for use later within the related custom tags.
- See Also:
- Constant Field Values
TABBED_DIALOG_PREFIX
public static final java.lang.String TABBED_DIALOG_PREFIX
- Name of the tabbed dialog that has no specified ID
- See Also:
- Constant Field Values
m_strFillercssclass
protected java.lang.String m_strFillercssclass
- Class for the tab filler, which is the empty area on the right from tabs.
m_strOnswitch
protected java.lang.String m_strOnswitch
- JavaScript code to execute when the tabs are switched or null if nothing
should be executed.
TabbedDialogTag
public TabbedDialogTag()
- 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
getFillercssclass
public java.lang.String getFillercssclass()
- Returns:
- String - Class for the tab filler, which is the empty area on the
right from tabs.
getOnswitch
public java.lang.String getOnswitch()
- Returns:
- String - JavaScript code to execute when the tabs are switched
or null if nothing should be executed.
setFillercssclass
public void setFillercssclass(java.lang.String strFillercssclass)
- Parameters:
strFillercssclass - - Class for the tab filler, which is the empty
area on the right from tabs.
setOnswitch
public void setOnswitch(java.lang.String strOnswitch)
- Parameters:
strOnswitch - - JavaScript code to execute when the tabs are switched
or null if nothing should be executed.
Copyright © 2003 - 2006 OpenSubsystems s.r.o.