bundle (XSPContext - JavaScript)

Loads a resource bundle from the current Domino® environment.

Defined in

XSPContext (JavaScript)

Syntax

bundle(bundle:string) : java.util.ResourceBundle

bundle(bundle:string, locale:Locale) : java.util.ResourceBundle

Parameters Description
bundle The name of the bundle, for example, foo.properties.
locale The locale. Defaults to the current user locale.
Return value Description
java.util.ResourceBundle The bundle or null if the bundle cannot be located.