org.apache.myfaces.tobago.taglib.component
Class LoadBundleTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.apache.myfaces.tobago.taglib.component.LoadBundleTag
- All Implemented Interfaces:
- Serializable, IterationTag, JspTag, Tag
public class LoadBundleTag
- extends TagSupport
Load a resource bundle localized for the Locale of the current view
from the tobago resource path, and expose it (as a Map) in the request
attributes of the current request.
- See Also:
- Serialized Form
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doEndTag, 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 |
LoadBundleTag
public LoadBundleTag()
doStartTag
public int doStartTag()
throws JspException
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class TagSupport
- Throws:
JspException
release
public void release()
- Specified by:
release
in interface Tag
- Overrides:
release
in class TagSupport
getBasename
public String getBasename()
setBasename
public void setBasename(String basename)
- Base name of the resource bundle to be loaded.
getVar
public String getVar()
setVar
public void setVar(String var)
- Name of a session-scope attribute under which the bundle data
will be exposed.
Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.