public class

MessageTag

extends WebWorkBodyTagSupport
implements ParamTag.UnnamedParametric
java.lang.Object
   ↳ javax.servlet.jsp.tagext.TagSupport
     ↳ javax.servlet.jsp.tagext.BodyTagSupport
       ↳ webwork.view.taglib.WebWorkBodyTagSupport
         ↳ com.atlassian.jira.web.tags.i18n.MessageTag

Class Overview

Represents a JSP javax.servlet.jsp.tagext.Tag that is able to output localised text given an i18n key.

The name of the key is written to the page in a <span> tag if the includeMetaData attribute is set to true.

Summary

[Expand]
Inherited Constants
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
[Expand]
Inherited Fields
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
Public Constructors
MessageTag()
Public Methods
void addArgument(Object argument)
void addParameter(Object value)
void addParameter(String name, Object value)
int doEndTag()
int doStartTag()
String getKey()
boolean isIncludeMetaData()
void setIncludeMetaData(boolean includeMetaData)
void setKey(String key)
[Expand]
Inherited Methods
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
From class java.lang.Object
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
From interface webwork.view.taglib.ParamTag.Parametric
From interface webwork.view.taglib.ParamTag.UnnamedParametric

Public Constructors

public MessageTag ()

Public Methods

public void addArgument (Object argument)

public void addParameter (Object value)

public void addParameter (String name, Object value)

public int doEndTag ()

Throws
JspException

public int doStartTag ()

Throws
JspException

public String getKey ()

public boolean isIncludeMetaData ()

public void setIncludeMetaData (boolean includeMetaData)

public void setKey (String key)