Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.webapp.admin
Class LabelTag  view LabelTag download LabelTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended byorg.apache.webapp.admin.LabelTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class LabelTag
extends javax.servlet.jsp.tagext.BodyTagSupport

Nested tag that represents an individual "labels" for a row. This tag is valid only when nested within a RowTag tag.

In addition, the body content of this tag is used as the user-visible label for the action, so that it may be conveniently localized.

FIXME - Internationalize the exception messages!

Version:
$Revision: 302726 $

Field Summary
protected  java.lang.String label
          The label that will be rendered for this action.
 
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
LabelTag()
           
 
Method Summary
 int doAfterBody()
          Process the body text of this tag (if any).
 int doEndTag()
          Record this action with our surrounding ActionsTag instance.
 int doStartTag()
          Process the start of this tag.
 void release()
          Release all state information set by this tag.
 
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

label

protected java.lang.String label
The label that will be rendered for this action.

Constructor Detail

LabelTag

public LabelTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Process the start of this tag.


doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Process the body text of this tag (if any).


doEndTag

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


release

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