webwork.view.taglib
Class I18nTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bywebwork.view.taglib.WebWorkTagSupport
          extended bywebwork.view.taglib.I18nTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class I18nTag
extends WebWorkTagSupport

Gets a resource bundle and place it on the value stack. This allows the text tag to access messages from any bundle, and not just the bundle associated with the current action.

Version:
$Revision: 1.9 $
Author:
Rickard Öberg (rickard@dreambean.com)
See Also:
Serialized Form

Nested Class Summary
static class I18nTag.BundleAccessor
           
 
Field Summary
protected  java.lang.String nameAttr
           
 
Fields inherited from class webwork.view.taglib.WebWorkTagSupport
stack
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
I18nTag()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void setName(java.lang.String aName)
           
 
Methods inherited from class webwork.view.taglib.WebWorkTagSupport
findString, findValue, getStack, release, setPageContext, setParent, toString
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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
 

Field Detail

nameAttr

protected java.lang.String nameAttr
Constructor Detail

I18nTag

public I18nTag()
Method Detail

setName

public void setName(java.lang.String aName)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException


Copyright © 2001-2003 WebWork All Rights Reserved.