JSF Core Facelets Tag Library.
Tag loadBundle
Loads a resource bundle and saves it as a variable in the request scope.
Unless otherwise specified, all attributes accept static values or EL expressions.
TODO: We should find a way to save loaded bundles in the state, because otherwise on the next request the bundle map
will not be present before the render phase and value bindings that reference to the bundle will always log annoying
"Variable 'xxx' could not be resolved" error messages.
Load a resource bundle localized for the Locale of the current view, and expose it (as a Map) in the request
attributes of the current request.
Tag Information |
Tag Class | org.apache.myfaces.view.facelets.tag.jsf.core.LoadBundleHandler |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes |
Name | Required | Request-time | Type | Description |
basename | false | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| The base name of the resource bundle. |
var | true | false | java.lang.String | The name of the variable in request scope that the resources are saved to. This must be a static value. |
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.