formatDate
Formats a Date value using a locale. A style or a pattern such as 'YYYY MMM ddd' is specified. If the value is null then the default text is used. If no locale is specified then the parent locale tag is used. If no parent locale tag exists then the locale is taken from the current request. If still no locale is found then the current JVM locale is used.
Library
Tag class
org.apache.taglibs.i18n.FormatDateTag
Attributes
Table 8-11 lists and describes the attributes for formatDate.
Table 8-11 Attributes for formatDate Current user’s locale, such as en_US, as in <context root>\Web-inf\localemap.xml.Used in
<context root>\private\channels\channelnoticelistcontent.jsp
<context root>\private\filesfolders\filedetailcontent.jsp
<context root>\private\jobs\completedjob.jsp
<context root>\private\jobs\getjobdetailscontent.jsp
<context root>\private\jobs\pendingjob.jsp
<context root>\private\jobs\runningjob.jsp
<context root>\private\jobs\scheduledjob.jsp
(c) Copyright Actuate Corporation 2011 |
![]() |