UI-Component Sets
Project Documentation


Tag name: <f:loadBundle>
Tag class: org.apache.myfaces.taglib.core.LoadBundleTag
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.


Name Type Required Description
basename String true 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.