Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.admin
Class TabsTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by com.opensymphony.webwork.views.jsp.WebWorkBodyTagSupport
              extended by com.opensymphony.webwork.views.jsp.ComponentTagSupport
                  extended by com.jivesoftware.base.admin.TabsTag
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 TabsTag
extends com.opensymphony.webwork.views.jsp.ComponentTagSupport

A simple JSP tag for displaying tab information in the admin console. The SidebarTag is similiar to this one.

Attributes:

This class assumes there is a request attribute with the name specified by the bean attribute.

This tag prints out minimal HTML. It basically prints an unordered list (UL element) with each LI containing an "A" tag specfied by the body content of this tag. For example, the body should contain a template A tag which will have its values replaced at runtime:

Available token are:

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.webwork.views.jsp.ComponentTagSupport
component
 
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
TabsTag()
           
 
Method Summary
 com.opensymphony.webwork.components.Component getBean(com.opensymphony.xwork.util.OgnlValueStack stack, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 java.lang.String getProduct()
           
 void setBean(java.lang.String bean)
          Sets the name of the request attribute to hold a AdminPageBean instance.
 void setCss(java.lang.String css)
          Sets the CSS used for tab decoration.
 void setCurrentcss(java.lang.String currentcss)
          Sets the CSS class value for the currently selected tab.
 void setFilename(java.lang.String filename)
           
 void setMinEdition(java.lang.String minEdition)
           
 void setProduct(java.lang.String product)
           
 void setRole(java.lang.String role)
           
 
Methods inherited from class com.opensymphony.webwork.views.jsp.ComponentTagSupport
doEndTag, doStartTag, getComponent, populateParams
 
Methods inherited from class com.opensymphony.webwork.views.jsp.WebWorkBodyTagSupport
altSyntax, findString, findValue, findValue, getBody, getStack, setId, toString, translateVariables
 
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, getId, 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
 

Constructor Detail

TabsTag

public TabsTag()
Method Detail

setFilename

public void setFilename(java.lang.String filename)

setRole

public void setRole(java.lang.String role)

setMinEdition

public void setMinEdition(java.lang.String minEdition)

setBean

public void setBean(java.lang.String bean)
Sets the name of the request attribute to hold a AdminPageBean instance.


setCss

public void setCss(java.lang.String css)
Sets the CSS used for tab decoration.


setCurrentcss

public void setCurrentcss(java.lang.String currentcss)
Sets the CSS class value for the currently selected tab.


getProduct

public java.lang.String getProduct()

setProduct

public void setProduct(java.lang.String product)

getBean

public com.opensymphony.webwork.components.Component getBean(com.opensymphony.xwork.util.OgnlValueStack stack,
                                                             javax.servlet.http.HttpServletRequest req,
                                                             javax.servlet.http.HttpServletResponse res)
Specified by:
getBean in class com.opensymphony.webwork.views.jsp.ComponentTagSupport

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.