org.opensubsystems.patterns.tabbeddialog.www
Class TabbedDialogHelpTabTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.opensubsystems.core.www.PageElementCacheTag
              extended by org.opensubsystems.core.www.BlockElementTag
                  extended by org.opensubsystems.patterns.tabbeddialog.www.TabbedDialogHelpTabTag
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 TabbedDialogHelpTabTag
extends org.opensubsystems.core.www.BlockElementTag

Custom tag to generate all HTML code necessary to display one tab of the tabbed dialog, which is displayed, when user clicks on the help button associated with the tabbed dialog. This tab doesn't have any tab heading so it is not visible by default.

Version:
$Id: TabbedDialogHelpTabTag.java,v 1.14 2007/01/07 06:14:27 bastafidli Exp $
Author:
Peter Satury
See Also:
Serialized Form
Code reviewer:
Miro Halas
Code reviewed:
1.10 2006/04/19 14:20:39 bastafidli

Field Summary
protected  java.lang.String m_strHeader
          String for dialog help header.
protected  java.lang.String m_strOnhelpclose
          JavaScript code to execute when the help is closed.
 
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
 
Constructor Summary
TabbedDialogHelpTabTag()
          Constructor for custom tag.
 
Method Summary
 int doEndTag()
          
 int doStartTag()
          
 java.lang.String getHeader()
           
 java.lang.String getOnhelpclose()
           
 void setHeader(java.lang.String strHeader)
           
 void setOnhelpclose(java.lang.String strOnhelpclose)
           
 
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
 

Field Detail

m_strHeader

protected java.lang.String m_strHeader
String for dialog help header.


m_strOnhelpclose

protected java.lang.String m_strOnhelpclose
JavaScript code to execute when the help is closed.

Constructor Detail

TabbedDialogHelpTabTag

public TabbedDialogHelpTabTag()
Constructor for custom tag.

Method Detail

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

getHeader

public java.lang.String getHeader()
Returns:
String - Text of the header for this tab

getOnhelpclose

public java.lang.String getOnhelpclose()
Returns:
String - JavaScript code to execute when the help is closed or null if nothing should be executed.

setHeader

public void setHeader(java.lang.String strHeader)
Parameters:
strHeader - - Text of the header for this tab

setOnhelpclose

public void setOnhelpclose(java.lang.String strOnhelpclose)
Parameters:
strOnhelpclose - - JavaScript code to execute when the help is closed or null if nothing should be executed.


Copyright © 2003 - 2006 OpenSubsystems s.r.o.