Attributes |
Name | Required | Request-time | Type | Description |
var | false | true | java.lang.String | The variable name of the replaced string |
bundle | false | true | java.util.ResourceBundle | The resource bundle used when replacing messages. If not specified, then the default localization context is used to find a bundle. |
basename | false | true | java.lang.String | The resource bundle basename to find a resource bundle used when replacing messages. If not specified, then the default localization context is used to find a bundle. |
localeString | false | true | java.lang.String | The locale string to determine the locale to choose a proper resource bundle. If not specified, then the current response locale or default locale is used. |
locale | false | true | java.util.Locale | The locale object to determine the locale to choose a proper resource bundle. If not specified, then the current response locale or default locale is used. |
variablePrefix | false | true | java.lang.String | The variable reference prefix. The default value is "${". If the body content content contains variable references surrounded by variablePrefix and variableSuffix, then this tag replaces each variable reference by the value found in either the current locale context or the provided resource bundle. Note that if you specify the value "${" yourself, you need to use "\${" |
variableSuffix | false | true | java.lang.String | The variable reference suffix. The default value is "}". If the body content content contains variable references surrounded by variablePrefix and variableSuffix, then this tag replaces each variable reference by the value found in either the current locale context or the provided resource bundle. |
escapeChar | false | true | java.lang.Character | The variable reference escape character. The default value is '\'. If this escape character is placed before a variable reference, the variable reference is ignored and won't be replaced. |
scope | false | false | java.lang.String | Scope of var or the localization context configuration variable. "page", "request", "session" or "application". "page" scope by default. |
escapeMessageXml | false | false | java.lang.Boolean | Whether or not to escape a message value having &,>,<,", and '. When escapeMessageXml = true, the replaced message text can be safely used as a tag attribute (e.g, href, src, etc.) value. By default escapeMessageXml is set to true. |