Tobago Components 1.5.x
Tag loadBundle
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 {@link org.apache.myfaces.tobago.context.TobagoBundle} and configure it in the faces-config.xml.
Tag Information |
Tag Class | org.apache.myfaces.tobago.internal.taglib.LoadBundleTag |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
basename | true | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Base name of the resource bundle to be loaded. |
var | true | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| Name of a session-scope attribute under which the bundle data will be exposed. |
Variables |
No Variables Defined. |
Output Generated by
Tag Library Documentation Generator.
Java, JSP, and JavaServer Pages are trademarks or
registered trademarks of Sun Microsystems, Inc. in the US and other
countries. Copyright 2002-4 Sun Microsystems, Inc.
4150 Network Circle
Santa Clara, CA 95054, U.S.A.
All Rights Reserved.