org.ow2.jonas.webapp.taglib
Class TabTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.ow2.jonas.webapp.taglib.TabTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class TabTag
extends BodyTagSupport

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
protected  String anchor
          The anchor to be added to the end of the generated hyperlink.
protected  String linkName
          The link name for named links.
protected  String name
          The JSP bean name for query parameters.
protected  String page
          The context-relative page URL (beginning with a slash) to which this hyperlink will be rendered.
protected  String paramId
          The single-parameter request parameter name to generate.
protected  String paramName
          The single-parameter JSP bean name.
protected  String paramProperty
          The single-parameter JSP bean property.
protected  String paramScope
          The single-parameter JSP bean scope.
protected  String property
          The JSP bean property name for query parameters.
protected  String scope
          The scope of the bean specified by the name property, if any.
protected  String target
          The window target.
protected  boolean transaction
          Include transaction token (if any) in the hyperlink?
 
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
TabTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
          Record this tab with our surrounding TabsTag instance.
 int doStartTag()
           
 String getAnchor()
           
 String getForward()
          Accessor Forward property.
 String getForwardControl()
          Accessor ForwardControl property.
 String getHref()
          Accessor Href property.
 String getLinkName()
           
 String getName()
           
 String getPage()
           
 String getParamId()
           
 String getParamName()
           
 String getParamProperty()
           
 String getParamScope()
           
 String getProperty()
           
 String getScope()
           
 boolean getSelected()
          Accessor Selected property.
 String getTarget()
           
 boolean getTransaction()
           
 void release()
          Release all state information set by this tag.
 void setAnchor(String anchor)
           
 void setForward(String forward)
           
 void setForwardControl(String forwardControl)
           
 void setHref(String href)
           
 void setLinkName(String linkName)
           
 void setName(String name)
           
 void setPage(String page)
           
 void setParamId(String paramId)
           
 void setParamName(String paramName)
           
 void setParamProperty(String paramProperty)
           
 void setParamScope(String paramScope)
           
 void setProperty(String property)
           
 void setScope(String scope)
           
 void setSelected(boolean selected)
           
 void setTarget(String target)
           
 void setTransaction(boolean transaction)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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

anchor

protected String anchor
The anchor to be added to the end of the generated hyperlink.


linkName

protected String linkName
The link name for named links.


name

protected String name
The JSP bean name for query parameters.


page

protected String page
The context-relative page URL (beginning with a slash) to which this hyperlink will be rendered.


paramId

protected String paramId
The single-parameter request parameter name to generate.


paramName

protected String paramName
The single-parameter JSP bean name.


paramProperty

protected String paramProperty
The single-parameter JSP bean property.


paramScope

protected String paramScope
The single-parameter JSP bean scope.


property

protected String property
The JSP bean property name for query parameters.


scope

protected String scope
The scope of the bean specified by the name property, if any.


target

protected String target
The window target.


transaction

protected boolean transaction
Include transaction token (if any) in the hyperlink?

Constructor Detail

TabTag

public TabTag()
Method Detail

getHref

public String getHref()
Accessor Href property.


setHref

public void setHref(String href)

getSelected

public boolean getSelected()
Accessor Selected property.


setSelected

public void setSelected(boolean selected)

getForward

public String getForward()
Accessor Forward property.


setForward

public void setForward(String forward)

getForwardControl

public String getForwardControl()
Accessor ForwardControl property.


setForwardControl

public void setForwardControl(String forwardControl)

getAnchor

public String getAnchor()

setAnchor

public void setAnchor(String anchor)

getLinkName

public String getLinkName()

setLinkName

public void setLinkName(String linkName)

getName

public String getName()

setName

public void setName(String name)

getPage

public String getPage()

setPage

public void setPage(String page)

getParamId

public String getParamId()

setParamId

public void setParamId(String paramId)

getParamName

public String getParamName()

setParamName

public void setParamName(String paramName)

getParamProperty

public String getParamProperty()

setParamProperty

public void setParamProperty(String paramProperty)

getParamScope

public String getParamScope()

setParamScope

public void setParamScope(String paramScope)

getProperty

public String getProperty()

setProperty

public void setProperty(String property)

getScope

public String getScope()

setScope

public void setScope(String scope)

getTarget

public String getTarget()

setTarget

public void setTarget(String target)

getTransaction

public boolean getTransaction()

setTransaction

public void setTransaction(boolean transaction)

doStartTag

public int doStartTag()
               throws JspException
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Throws:
JspException

doAfterBody

public int doAfterBody()
                throws JspException
Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class BodyTagSupport
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Record this tab with our surrounding TabsTag instance.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException - if a processing error occurs

release

public void release()
Release all state information set by this tag.

Specified by:
release in interface Tag
Overrides:
release in class BodyTagSupport


Copyright © 2010 OW2 Consortium. All Rights Reserved.