com.atlassian.jira.web.tags
Class TextTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by webwork.view.taglib.WebWorkBodyTagSupport
              extended by com.atlassian.jira.web.tags.TextTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, webwork.view.taglib.ParamTag.Parametric, webwork.view.taglib.ParamTag.UnnamedParametric

public class TextTag
extends webwork.view.taglib.WebWorkBodyTagSupport
implements webwork.view.taglib.ParamTag.UnnamedParametric

This JSP tag is used in the <ww:text tags all throughout JIRA.

Since it is ParamTag.Parametric it supports taking parameters as child tag elements via <ww:param.

It calls back to JiraAuthenticationContext.getI18nHelper() to do its work

See Also:
Serialized Form

Field Summary
 
Fields inherited from class webwork.view.taglib.WebWorkBodyTagSupport
stack
 
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
TextTag()
           
 
Method Summary
 void addParameter(Object aValue)
           
 void addParameter(String aName, Object aValue)
           
 int doEndTag()
           
 void setName(String aName)
           
 void setValue0(String aName)
           
 void setValue1(String aName)
           
 void setValue2(String aName)
           
 void setValue3(String aName)
           
 
Methods inherited from class webwork.view.taglib.WebWorkBodyTagSupport
findString, findValue, getStack, release, setPageContext, setParent, toString
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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
 

Constructor Detail

TextTag

public TextTag()
Method Detail

setName

public void setName(String aName)

setValue0

public void setValue0(String aName)

setValue1

public void setValue1(String aName)

setValue2

public void setValue2(String aName)

setValue3

public void setValue3(String aName)

addParameter

public void addParameter(String aName,
                         Object aValue)
Specified by:
addParameter in interface webwork.view.taglib.ParamTag.Parametric

addParameter

public void addParameter(Object aValue)
Specified by:
addParameter in interface webwork.view.taglib.ParamTag.UnnamedParametric

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class webwork.view.taglib.WebWorkBodyTagSupport
Throws:
javax.servlet.jsp.JspException


Copyright © 2002-2013 Atlassian. All Rights Reserved.