org.apache.wiki.tags
Class TabTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.apache.wiki.tags.WikiTagBase
          extended by org.apache.wiki.tags.TabTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally

public class TabTag
extends WikiTagBase

Generates single tabbed page layout. Works together with the tabbedSection javascript. Note that if you do not specify an url, the body contents of the tag are loaded by the tag itself.

Attributes

Since:
v2.3.63
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wiki.tags.WikiTagBase
ATTR_CONTEXT, m_wikiContext
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
TabTag()
           
 
Method Summary
 int doEndTag()
          
 void doFinally()
          
 int doWikiStartTag()
          This method is allowed to do pretty much whatever he wants.
 void setAccesskey(String anAccesskey)
          Sets the tab access key.
 void setTitle(String aTabTitle)
          Sets the tab title.
 void setUrl(String url)
          Sets the tab URL.
 
Methods inherited from class org.apache.wiki.tags.WikiTagBase
doCatch, doStartTag, initTag, setId, setPageContext
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabTag

public TabTag()
Method Detail

doFinally

public void doFinally()

Specified by:
doFinally in interface javax.servlet.jsp.tagext.TryCatchFinally
Overrides:
doFinally in class WikiTagBase

setTitle

public void setTitle(String aTabTitle)
Sets the tab title.

Parameters:
aTabTitle - the tab title

setAccesskey

public void setAccesskey(String anAccesskey)
Sets the tab access key.

Parameters:
anAccesskey - the access key

setUrl

public void setUrl(String url)
Sets the tab URL.

Parameters:
url - the URL

doWikiStartTag

public int doWikiStartTag()
                   throws javax.servlet.jsp.JspTagException
This method is allowed to do pretty much whatever he wants. We then catch all mistakes.

Specified by:
doWikiStartTag in class WikiTagBase
Throws:
javax.servlet.jsp.JspTagException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspTagException

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class WikiTagBase
Throws:
javax.servlet.jsp.JspTagException


Copyright © {inceptionYear}-2014 The Apache Software Foundation. All rights reserved.