org.objectweb.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.objectweb.jonas.webapp.taglib.TabTag
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 TabTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
protected  java.lang.String anchor
          The anchor to be added to the end of the generated hyperlink.
protected  java.lang.String linkName
          The link name for named links.
protected  java.lang.String name
          The JSP bean name for query parameters.
protected  java.lang.String page
          The context-relative page URL (beginning with a slash) to which this hyperlink will be rendered.
protected  java.lang.String paramId
          The single-parameter request parameter name to generate.
protected  java.lang.String paramName
          The single-parameter JSP bean name.
protected  java.lang.String paramProperty
          The single-parameter JSP bean property.
protected  java.lang.String paramScope
          The single-parameter JSP bean scope.
protected  java.lang.String property
          The JSP bean property name for query parameters.
protected  java.lang.String scope
          The scope of the bean specified by the name property, if any.
protected  java.lang.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()
           
 java.lang.String getAnchor()
           
 java.lang.String getForward()
          Accessor Forward property.
 java.lang.String getForwardControl()
          Accessor ForwardControl property.
 java.lang.String getHref()
          Accessor Href property.
 java.lang.String getLinkName()
           
 java.lang.String getName()
           
 java.lang.String getPage()
           
 java.lang.String getParamId()
           
 java.lang.String getParamName()
           
 java.lang.String getParamProperty()
           
 java.lang.String getParamScope()
           
 java.lang.String getProperty()
           
 java.lang.String getScope()
           
 boolean getSelected()
          Accessor Selected property.
 java.lang.String getTarget()
           
 boolean getTransaction()
           
 void release()
          Release all state information set by this tag.
 void setAnchor(java.lang.String anchor)
           
 void setForward(java.lang.String forward)
           
 void setForwardControl(java.lang.String forwardControl)
           
 void setHref(java.lang.String href)
           
 void setLinkName(java.lang.String linkName)
           
 void setName(java.lang.String name)
           
 void setPage(java.lang.String page)
           
 void setParamId(java.lang.String paramId)
           
 void setParamName(java.lang.String paramName)
           
 void setParamProperty(java.lang.String paramProperty)
           
 void setParamScope(java.lang.String paramScope)
           
 void setProperty(java.lang.String property)
           
 void setScope(java.lang.String scope)
           
 void setSelected(boolean selected)
           
 void setTarget(java.lang.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 java.lang.String anchor
The anchor to be added to the end of the generated hyperlink.


linkName

protected java.lang.String linkName
The link name for named links.


name

protected java.lang.String name
The JSP bean name for query parameters.


page

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


paramId

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


paramName

protected java.lang.String paramName
The single-parameter JSP bean name.


paramProperty

protected java.lang.String paramProperty
The single-parameter JSP bean property.


paramScope

protected java.lang.String paramScope
The single-parameter JSP bean scope.


property

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


scope

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


target

protected java.lang.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 java.lang.String getHref()
Accessor Href property.


setHref

public void setHref(java.lang.String href)

getSelected

public boolean getSelected()
Accessor Selected property.


setSelected

public void setSelected(boolean selected)

getForward

public java.lang.String getForward()
Accessor Forward property.


setForward

public void setForward(java.lang.String forward)

getForwardControl

public java.lang.String getForwardControl()
Accessor ForwardControl property.


setForwardControl

public void setForwardControl(java.lang.String forwardControl)

getAnchor

public java.lang.String getAnchor()

setAnchor

public void setAnchor(java.lang.String anchor)

getLinkName

public java.lang.String getLinkName()

setLinkName

public void setLinkName(java.lang.String linkName)

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

getPage

public java.lang.String getPage()

setPage

public void setPage(java.lang.String page)

getParamId

public java.lang.String getParamId()

setParamId

public void setParamId(java.lang.String paramId)

getParamName

public java.lang.String getParamName()

setParamName

public void setParamName(java.lang.String paramName)

getParamProperty

public java.lang.String getParamProperty()

setParamProperty

public void setParamProperty(java.lang.String paramProperty)

getParamScope

public java.lang.String getParamScope()

setParamScope

public void setParamScope(java.lang.String paramScope)

getProperty

public java.lang.String getProperty()

setProperty

public void setProperty(java.lang.String property)

getScope

public java.lang.String getScope()

setScope

public void setScope(java.lang.String scope)

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String target)

getTransaction

public boolean getTransaction()

setTransaction

public void setTransaction(boolean transaction)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Specified by:
doAfterBody in interface javax.servlet.jsp.tagext.IterationTag
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

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

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
Throws:
javax.servlet.jsp.JspException - if a processing error occurs

release

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

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport