public interface LoadBundleTagDeclaration
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 session attributes (session scope is needed to support ajax requests).
The main difference to the JSF tag f:localBundle is the support of Tobago themes and the XML formal for properties files.
Since JSF 1.2 it is possible to use a TobagoBundle
and configure it in the faces-config.xml.
Modifier and Type | Method and Description |
---|---|
void |
setBasename(javax.el.ValueExpression basename)
Base name of the resource bundle to be loaded.
|
void |
setVar(String var)
Name of a session-scope attribute under which the bundle data
will be exposed.
|
void setBasename(javax.el.ValueExpression basename)
void setVar(String var)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.