org.apache.beehive.netui.tags.databinding.message
Class MessageArg

Object
  extended by TagSupport
      extended by BodyTagSupport
          extended by AbstractClassicTag
              extended by MessageArg
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag, INetuiTag

Deprecated. This tag has been deprecated in favor of the i18n tags available in JSTL.

public class MessageArg
extends AbstractClassicTag

This tag should be used in conjunction with the Message tag to provide a message argument to the message format provided in the Message.setValue(Object) method. Before formatting, the value of this tag will be substituted into the message.

See Also:
Serialized Form
Example

For an example that uses the <netui-data:messageArg> tag, see the Message description.


Field Summary
 
Fields inherited from class AbstractClassicTag
DefaultNamingChain, EMPTY_STRING, NETUI_UNIQUE_CNT
 
Fields inherited from class BodyTagSupport
bodyContent
 
Fields inherited from class TagSupport
id, pageContext
 
Fields inherited from interface BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
MessageArg()
          Deprecated.  
 
Method Summary
 int doEndTag()
          Deprecated.  
 int doStartTag()
          Deprecated.  
 String getTagName()
          Deprecated. Return the name of the tag.
protected  void localRelease()
          Deprecated. This is a method that will reinitialize all temporary state on a tag and should be called in the doEndTag method.
 void setValue(Object value)
          Deprecated.  
 
Methods inherited from class AbstractClassicTag
applyNamingChain, getErrorsReport, getIdForTagId, getNamingChain, getNearestForm, getNextId, getScriptReporter, getUserLocale, hasErrors, qualifyAttribute, registerTagError, registerTagError, reportAndExit, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write
 
Methods inherited from class BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface Tag
getParent, setPageContext, setParent
 

Constructor Detail

MessageArg

public MessageArg()
Deprecated. 
Method Detail

getTagName

public String getTagName()
Deprecated. 
Description copied from class: AbstractClassicTag
Return the name of the tag. Used by error reporting to get the name of the tag.

Specified by:
getTagName in interface INetuiTag
Specified by:
getTagName in class AbstractClassicTag
Returns:
the name of the tag.

setValue

public void setValue(Object value)
Deprecated. 

doStartTag

public int doStartTag()
               throws JspException
Deprecated. 
Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class BodyTagSupport
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Deprecated. 
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException

localRelease

protected void localRelease()
Deprecated. 
Description copied from class: AbstractClassicTag
This is a method that will reinitialize all temporary state on a tag and should be called in the doEndTag method.

Overrides:
localRelease in class AbstractClassicTag