.
HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1
212-599-2048
Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development
Chat now
.
EN - English
CN - 中文
JP - 日本語
DE - Deutsch
FR - Français
BR - Português
RU - Pу́сский
IT - Italiano
IN - हिन्दी
ES - Español
KR - 한국어
ID - Indonesia
NL - Dutch
TR - Türkçe
SA - العربية
SE - Svenska
NO - Norsk
PL - Polski
TH - ไทย
DK - Dansk
MY - Malay
PH - Filipino
GR - Ελληνικά
FI - Suomi
IL - עברית
IE - Gaeilge
CZ - Čeština
UA - Українська
RO - Română
VN - Tiếng Việt
BD - বাংলা
HU - Magyar
Need a Domino Consultant? Call NotesMail +1 212-599-2048
-
HCLSoftware Business Partner
JSP CUSTOM TAG LIBRARIES
format tag
Formats a value. You can pass in a value to format or format the tag body. You can also provide an id name to save the formatted body or value as a variable.
Contexts
Valid in:
Any context
Syntax
<domutil:format
id="variable name"
format="formatting style to apply to string"
locale="<languageCode>_<countryCode>"
timezone="time zone"
value="value to format"
type="string|date|double|integer|javadate"
debug="true|false"
onfailure="inline|exception"
time="true|false">
Attributes
format
The format used to display the value. Required.
id
The name of the variable (of type java.lang.String) to save the formatted value to. If not specified, the result displays on the page. Optional.
locale
Locale to use to format the value that displays. If specified, overrides the locale that the browser specifies in the AcceptLang string. Use the following syntax: "<languageCode>_<countryCode>". See
Locale codes
for more details. By default, uses the first locale specified in the AcceptLang string for the browser. Optional.
timezone
Time zone to use to display the date. If you do not specify a value, defaults to the time zone of the server (not the browser). Optional.
type
Initial data type conversion that should take place before the value is formatted. Must be one of the following: string, date, double, integer, or javadate. Default is string. Optional.
value
Value to format. This value is converted to the data type specified in the type attribute prior to being formatted. If not specified, the body of the tag is evaluated and formatted. Optional.
See the
Common Domino JSP tag attributes
section for definitions of debug, onfailure, and time.
See Also
The Domutil tag library
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Feedback on
Help
or
Usability
?
Help on Help
All Help Contents