UI-Component Sets
Project Documentation

Summary

Tag name: <f:loadBundle>
Tag class: org.apache.myfaces.taglib.core.LoadBundleTag
Facelet Tag Handler: org.apache.myfaces.view.facelets.tag.jsf.core.LoadBundleHandler
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.

Attributes

Name Type Required Description
basename javax.el.ValueExpression false The base name of the resource bundle.
var String true The name of the variable in request scope that the resources are saved to. This must be a static value.

Facelets Attributes

Name Type Required Description