Loads a resource bundle to be used by its tag body. The resource bundle is available to its child tags.

<dsp:layeredBundle basename="bundle-name" [locale="locale-name"] />

Attributes

basename

The name of the resource bundle, excluding localization suffixes and filename extensions.

locale

The locale that will be used. For example, en_US, fr, fr_CA, or es. By default this tag uses the locale indicated in the HTTP request.

Usage Notes

The dsp:layeredBundle tag loads an internationalization localization context and stores it in a scoped variable or scripting variable. Unlike the JSTL tag fmt:bundle, dsp:layeredBundle combines the settings of the specified resource bundle with existing resource bundle settings. These settings remain in effect only for the duration of the specified scope.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices