Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 88414 invoked from network); 20 Nov 2010 17:59:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Nov 2010 17:59:23 -0000 Received: (qmail 98734 invoked by uid 500); 20 Nov 2010 17:59:48 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 98622 invoked by uid 500); 20 Nov 2010 17:59:48 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 98578 invoked by uid 99); 20 Nov 2010 17:59:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Nov 2010 17:59:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Nov 2010 17:59:31 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 21A362388B4E; Sat, 20 Nov 2010 17:57:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1037279 [9/10] - in /tomcat/taglibs/standard/trunk/impl: ./ src/main/java/org/apache/taglibs/standard/ src/main/java/org/apache/taglibs/standard/functions/ src/main/java/org/apache/taglibs/standard/tag/common/core/ src/main/java/org/apache... Date: Sat, 20 Nov 2010 17:57:49 -0000 To: dev@tomcat.apache.org From: jboynes@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20101120175751.21A362388B4E@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt-1_0-rt.tld URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt-1_0-rt.tld?rev=1037279&r1=1037278&r2=1037279&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt-1_0-rt.tld (original) +++ tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt-1_0-rt.tld Sat Nov 20 17:57:45 2010 @@ -1,403 +1,403 @@ + PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" + "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> - 1.0 - 1.2 - fmt_rt - http://java.sun.com/jstl/fmt_rt - JSTL fmt RT - JSTL 1.0 i18n-capable formatting library - - - - org.apache.taglibs.standard.tlv.JstlFmtTLV - - - Provides core validation features for JSTL tags. - - - - - requestEncoding - org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag - empty - - Sets the request character encoding - - - value - false - true - - - - - setLocale - org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag - empty - - Stores the given locale in the locale configuration variable - - - value - true - true - - - variant - false - true - - - scope - false - false - - - - - timeZone - org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag - JSP - - Specifies the time zone for any time formatting or parsing actions - nested in its body - - - value - true - true - - - - - setTimeZone - org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag - empty - - Stores the given time zone in the time zone configuration variable - - - value - true - true - - - var - false - false - - - scope - false - false - - - - - bundle - org.apache.taglibs.standard.tag.rt.fmt.BundleTag - JSP - - Loads a resource bundle to be used by its tag body - - - basename - true - true - - - prefix - false - true - - - - - setBundle - org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag - empty - - Loads a resource bundle and stores it in the named scoped variable or - the bundle configuration variable - - - basename - true - true - - - var - false - false - - - scope - false - false - - - - - message - org.apache.taglibs.standard.tag.rt.fmt.MessageTag - JSP - - Maps key to localized message and performs parametric replacement - - - key - false - true - - - bundle - false - true - - - var - false - false - - - scope - false - false - - - - - param - org.apache.taglibs.standard.tag.rt.fmt.ParamTag - JSP - - Supplies an argument for parametric replacement to a containing - <message> tag - - - value - false - true - - - - - formatNumber - org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag - JSP - - Formats a numeric value as a number, currency, or percentage - - - value - false - true - - - type - false - true - - - pattern - false - true - - - currencyCode - false - true - - - currencySymbol - false - true - - - groupingUsed - false - true - - - maxIntegerDigits - false - true - - - minIntegerDigits - false - true - - - maxFractionDigits - false - true - - - minFractionDigits - false - true - - - var - false - false - - - scope - false - false - - - - - parseNumber - org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag - JSP - - Parses the string representation of a number, currency, or percentage - - - value - false - true - - - type - false - true - - - pattern - false - true - - - parseLocale - false - true - - - integerOnly - false - true - - - var - false - false - - - scope - false - false - - - - - formatDate - org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag - empty - - Formats a date and/or time using the supplied styles and pattern - - - value - true - true - - - type - false - true - - - dateStyle - false - true - - - timeStyle - false - true - - - pattern - false - true - - - timeZone - false - true - - - var - false - false - - - scope - false - false - - - - - parseDate - org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag - JSP - - Parses the string representation of a date and/or time - - - value - false - true - - - type - false - true - - - dateStyle - false - true - - - timeStyle - false - true - - - pattern - false - true - - + 1.0 + 1.2 + fmt_rt + http://java.sun.com/jstl/fmt_rt + JSTL fmt RT + JSTL 1.0 i18n-capable formatting library + + + + org.apache.taglibs.standard.tlv.JstlFmtTLV + + + Provides core validation features for JSTL tags. + + + + + requestEncoding + org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag + empty + + Sets the request character encoding + + + value + false + true + + + + + setLocale + org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag + empty + + Stores the given locale in the locale configuration variable + + + value + true + true + + + variant + false + true + + + scope + false + false + + + + timeZone - false - true - - - parseLocale - false - true - - - var - false - false - - - scope - false - false - - + org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag + JSP + + Specifies the time zone for any time formatting or parsing actions + nested in its body + + + value + true + true + + + + + setTimeZone + org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag + empty + + Stores the given time zone in the time zone configuration variable + + + value + true + true + + + var + false + false + + + scope + false + false + + + + + bundle + org.apache.taglibs.standard.tag.rt.fmt.BundleTag + JSP + + Loads a resource bundle to be used by its tag body + + + basename + true + true + + + prefix + false + true + + + + + setBundle + org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag + empty + + Loads a resource bundle and stores it in the named scoped variable or + the bundle configuration variable + + + basename + true + true + + + var + false + false + + + scope + false + false + + + + + message + org.apache.taglibs.standard.tag.rt.fmt.MessageTag + JSP + + Maps key to localized message and performs parametric replacement + + + key + false + true + + + bundle + false + true + + + var + false + false + + + scope + false + false + + + + + param + org.apache.taglibs.standard.tag.rt.fmt.ParamTag + JSP + + Supplies an argument for parametric replacement to a containing + <message> tag + + + value + false + true + + + + + formatNumber + org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag + JSP + + Formats a numeric value as a number, currency, or percentage + + + value + false + true + + + type + false + true + + + pattern + false + true + + + currencyCode + false + true + + + currencySymbol + false + true + + + groupingUsed + false + true + + + maxIntegerDigits + false + true + + + minIntegerDigits + false + true + + + maxFractionDigits + false + true + + + minFractionDigits + false + true + + + var + false + false + + + scope + false + false + + + + + parseNumber + org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag + JSP + + Parses the string representation of a number, currency, or percentage + + + value + false + true + + + type + false + true + + + pattern + false + true + + + parseLocale + false + true + + + integerOnly + false + true + + + var + false + false + + + scope + false + false + + + + + formatDate + org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag + empty + + Formats a date and/or time using the supplied styles and pattern + + + value + true + true + + + type + false + true + + + dateStyle + false + true + + + timeStyle + false + true + + + pattern + false + true + + + timeZone + false + true + + + var + false + false + + + scope + false + false + + + + + parseDate + org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag + JSP + + Parses the string representation of a date and/or time + + + value + false + true + + + type + false + true + + + dateStyle + false + true + + + timeStyle + false + true + + + pattern + false + true + + + timeZone + false + true + + + parseLocale + false + true + + + var + false + false + + + scope + false + false + + Modified: tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt.tld URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt.tld?rev=1037279&r1=1037278&r2=1037279&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt.tld (original) +++ tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fmt.tld Sat Nov 20 17:57:45 2010 @@ -1,671 +1,671 @@ - - JSTL 1.1 i18n-capable formatting library - JSTL fmt - 1.1 - fmt - http://java.sun.com/jsp/jstl/fmt - - - - Provides core validation features for JSTL tags. - - - org.apache.taglibs.standard.tlv.JstlFmtTLV - - - - - - Sets the request character encoding - - requestEncoding - org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag - empty - - -Name of character encoding to be applied when -decoding request parameters. - - value - false - true - - - - - - Stores the given locale in the locale configuration variable - - setLocale - org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag - empty - - -A String value is interpreted as the -printable representation of a locale, which -must contain a two-letter (lower-case) -language code (as defined by ISO-639), -and may contain a two-letter (upper-case) -country code (as defined by ISO-3166). -Language and country codes must be -separated by hyphen (-) or underscore -(_). - - value - true - true - - - -Vendor- or browser-specific variant. -See the java.util.Locale javadocs for -more information on variants. - - variant - false - true - - - -Scope of the locale configuration variable. - - scope - false - false - - - - - - Specifies the time zone for any time formatting or parsing actions - nested in its body - - timeZone - org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag - JSP - - -The time zone. A String value is interpreted as -a time zone ID. This may be one of the time zone -IDs supported by the Java platform (such as -"America/Los_Angeles") or a custom time zone -ID (such as "GMT-8"). See -java.util.TimeZone for more information on -supported time zone formats. - - value - true - true - - - - - - Stores the given time zone in the time zone configuration variable - - setTimeZone - org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag - empty - - -The time zone. A String value is interpreted as -a time zone ID. This may be one of the time zone -IDs supported by the Java platform (such as -"America/Los_Angeles") or a custom time zone -ID (such as "GMT-8"). See java.util.TimeZone for -more information on supported time zone -formats. - - value - true - true - - - -Name of the exported scoped variable which -stores the time zone of type -java.util.TimeZone. - - var - false - false - - - -Scope of var or the time zone configuration -variable. - - scope - false - false - - - - - - Loads a resource bundle to be used by its tag body - - bundle - org.apache.taglibs.standard.tag.rt.fmt.BundleTag - JSP - - -Resource bundle base name. This is the bundle's -fully-qualified resource name, which has the same -form as a fully-qualified class name, that is, it uses -"." as the package component separator and does not -have any file type (such as ".class" or ".properties") -suffix. - - basename - true - true - - - -Prefix to be prepended to the value of the message -key of any nested <fmt:message> action. - - prefix - false - true - - - - - - Loads a resource bundle and stores it in the named scoped variable or - the bundle configuration variable - - setBundle - org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag - empty - - -Resource bundle base name. This is the bundle's -fully-qualified resource name, which has the same -form as a fully-qualified class name, that is, it uses -"." as the package component separator and does not -have any file type (such as ".class" or ".properties") -suffix. - - basename - true - true - - - -Name of the exported scoped variable which stores -the i18n localization context of type -javax.servlet.jsp.jstl.fmt.LocalizationC -ontext. - - var - false - false - - - -Scope of var or the localization context -configuration variable. - - scope - false - false - - - - - - Maps key to localized message and performs parametric replacement - - message - org.apache.taglibs.standard.tag.rt.fmt.MessageTag - JSP - - -Message key to be looked up. - - key - false - true - - - -Localization context in whose resource -bundle the message key is looked up. - - bundle - false - true - - - -Name of the exported scoped variable -which stores the localized message. - - var - false - false - - - -Scope of var. - - scope - false - false - - - - - - Supplies an argument for parametric replacement to a containing - <message> tag - - param - org.apache.taglibs.standard.tag.rt.fmt.ParamTag - JSP - - -Argument used for parametric replacement. - - value - false - true - - - - - - Formats a numeric value as a number, currency, or percentage - - formatNumber - org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag - JSP - - -Numeric value to be formatted. - - value - false - true - - - -Specifies whether the value is to be -formatted as number, currency, or -percentage. - - type - false - true - - - -Custom formatting pattern. - - pattern - false - true - - - -ISO 4217 currency code. Applied only -when formatting currencies (i.e. if type is -equal to "currency"); ignored otherwise. - - currencyCode - false - true - - - -Currency symbol. Applied only when -formatting currencies (i.e. if type is equal -to "currency"); ignored otherwise. - - currencySymbol - false - true - - - -Specifies whether the formatted output -will contain any grouping separators. - - groupingUsed - false - true - - - -Maximum number of digits in the integer -portion of the formatted output. - - maxIntegerDigits - false - true - - - -Minimum number of digits in the integer -portion of the formatted output. - - minIntegerDigits - false - true - - - -Maximum number of digits in the -fractional portion of the formatted output. - - maxFractionDigits - false - true - - - -Minimum number of digits in the -fractional portion of the formatted output. - - minFractionDigits - false - true - - - -Name of the exported scoped variable -which stores the formatted result as a -String. - - var - false - false - - - -Scope of var. - - scope - false - false - - - - - - Parses the string representation of a number, currency, or percentage - - parseNumber - org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag - JSP - - -String to be parsed. - - value - false - true - - - -Specifies whether the string in the value -attribute should be parsed as a number, -currency, or percentage. - - type - false - true - - - -Custom formatting pattern that determines -how the string in the value attribute is to be -parsed. - - pattern - false - true - - - -Locale whose default formatting pattern (for -numbers, currencies, or percentages, -respectively) is to be used during the parse -operation, or to which the pattern specified -via the pattern attribute (if present) is -applied. - - parseLocale - false - true - - - -Specifies whether just the integer portion of -the given value should be parsed. - - integerOnly - false - true - - - -Name of the exported scoped variable which -stores the parsed result (of type -java.lang.Number). - - var - false - false - - - -Scope of var. - - scope - false - false - - - - - - Formats a date and/or time using the supplied styles and pattern - - formatDate - org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag - empty - - -Date and/or time to be formatted. - - value - true - true - - - -Specifies whether the time, the date, or both -the time and date components of the given -date are to be formatted. - - type - false - true - - - -Predefined formatting style for dates. Follows -the semantics defined in class -java.text.DateFormat. Applied only -when formatting a date or both a date and -time (i.e. if type is missing or is equal to -"date" or "both"); ignored otherwise. - - dateStyle - false - true - - - -Predefined formatting style for times. Follows -the semantics defined in class -java.text.DateFormat. Applied only -when formatting a time or both a date and -time (i.e. if type is equal to "time" or "both"); -ignored otherwise. - - timeStyle - false - true - - - -Custom formatting style for dates and times. - - pattern - false - true - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" + version="2.0"> + + JSTL 1.1 i18n-capable formatting library + JSTL fmt + 1.1 + fmt + http://java.sun.com/jsp/jstl/fmt + + + + Provides core validation features for JSTL tags. + + + org.apache.taglibs.standard.tlv.JstlFmtTLV + + + + + + Sets the request character encoding + + requestEncoding + org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag + empty + + + Name of character encoding to be applied when + decoding request parameters. + + value + false + true + + + + + + Stores the given locale in the locale configuration variable + + setLocale + org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag + empty + + + A String value is interpreted as the + printable representation of a locale, which + must contain a two-letter (lower-case) + language code (as defined by ISO-639), + and may contain a two-letter (upper-case) + country code (as defined by ISO-3166). + Language and country codes must be + separated by hyphen (-) or underscore + (_). + + value + true + true + + + + Vendor- or browser-specific variant. + See the java.util.Locale javadocs for + more information on variants. + + variant + false + true + + + + Scope of the locale configuration variable. + + scope + false + false + + + + -Time zone in which to represent the formatted -time. + Specifies the time zone for any time formatting or parsing actions + nested in its body timeZone - false - true - - - -Name of the exported scoped variable which -stores the formatted result as a String. - - var - false - false - - - -Scope of var. - - scope - false - false - - - - - - Parses the string representation of a date and/or time - - parseDate - org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag - JSP - - -Date string to be parsed. - - value - false - true - - - -Specifies whether the date string in the -value attribute is supposed to contain a -time, a date, or both. - - type - false - true - - - -Predefined formatting style for days -which determines how the date -component of the date string is to be -parsed. Applied only when formatting a -date or both a date and time (i.e. if type -is missing or is equal to "date" or "both"); -ignored otherwise. - - dateStyle - false - true - - - -Predefined formatting styles for times -which determines how the time -component in the date string is to be -parsed. Applied only when formatting a -time or both a date and time (i.e. if type -is equal to "time" or "both"); ignored -otherwise. - - timeStyle - false - true - - - -Custom formatting pattern which -determines how the date string is to be -parsed. - - pattern - false - true - - + org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag + JSP + + + The time zone. A String value is interpreted as + a time zone ID. This may be one of the time zone + IDs supported by the Java platform (such as + "America/Los_Angeles") or a custom time zone + ID (such as "GMT-8"). See + java.util.TimeZone for more information on + supported time zone formats. + + value + true + true + + + + + + Stores the given time zone in the time zone configuration variable + + setTimeZone + org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag + empty + + + The time zone. A String value is interpreted as + a time zone ID. This may be one of the time zone + IDs supported by the Java platform (such as + "America/Los_Angeles") or a custom time zone + ID (such as "GMT-8"). See java.util.TimeZone for + more information on supported time zone + formats. + + value + true + true + + + + Name of the exported scoped variable which + stores the time zone of type + java.util.TimeZone. + + var + false + false + + + + Scope of var or the time zone configuration + variable. + + scope + false + false + + + + -Time zone in which to interpret any time -information in the date string. + Loads a resource bundle to be used by its tag body - timeZone - false - true - - - -Locale whose predefined formatting styles -for dates and times are to be used during -the parse operation, or to which the -pattern specified via the pattern -attribute (if present) is applied. - - parseLocale - false - true - - - -Name of the exported scoped variable in -which the parsing result (of type -java.util.Date) is stored. - - var - false - false - - - -Scope of var. - - scope - false - false - - + bundle + org.apache.taglibs.standard.tag.rt.fmt.BundleTag + JSP + + + Resource bundle base name. This is the bundle's + fully-qualified resource name, which has the same + form as a fully-qualified class name, that is, it uses + "." as the package component separator and does not + have any file type (such as ".class" or ".properties") + suffix. + + basename + true + true + + + + Prefix to be prepended to the value of the message + key of any nested <fmt:message> action. + + prefix + false + true + + + + + + Loads a resource bundle and stores it in the named scoped variable or + the bundle configuration variable + + setBundle + org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag + empty + + + Resource bundle base name. This is the bundle's + fully-qualified resource name, which has the same + form as a fully-qualified class name, that is, it uses + "." as the package component separator and does not + have any file type (such as ".class" or ".properties") + suffix. + + basename + true + true + + + + Name of the exported scoped variable which stores + the i18n localization context of type + javax.servlet.jsp.jstl.fmt.LocalizationC + ontext. + + var + false + false + + + + Scope of var or the localization context + configuration variable. + + scope + false + false + + + + + + Maps key to localized message and performs parametric replacement + + message + org.apache.taglibs.standard.tag.rt.fmt.MessageTag + JSP + + + Message key to be looked up. + + key + false + true + + + + Localization context in whose resource + bundle the message key is looked up. + + bundle + false + true + + + + Name of the exported scoped variable + which stores the localized message. + + var + false + false + + + + Scope of var. + + scope + false + false + + + + + + Supplies an argument for parametric replacement to a containing + <message> tag + + param + org.apache.taglibs.standard.tag.rt.fmt.ParamTag + JSP + + + Argument used for parametric replacement. + + value + false + true + + + + + + Formats a numeric value as a number, currency, or percentage + + formatNumber + org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag + JSP + + + Numeric value to be formatted. + + value + false + true + + + + Specifies whether the value is to be + formatted as number, currency, or + percentage. + + type + false + true + + + + Custom formatting pattern. + + pattern + false + true + + + + ISO 4217 currency code. Applied only + when formatting currencies (i.e. if type is + equal to "currency"); ignored otherwise. + + currencyCode + false + true + + + + Currency symbol. Applied only when + formatting currencies (i.e. if type is equal + to "currency"); ignored otherwise. + + currencySymbol + false + true + + + + Specifies whether the formatted output + will contain any grouping separators. + + groupingUsed + false + true + + + + Maximum number of digits in the integer + portion of the formatted output. + + maxIntegerDigits + false + true + + + + Minimum number of digits in the integer + portion of the formatted output. + + minIntegerDigits + false + true + + + + Maximum number of digits in the + fractional portion of the formatted output. + + maxFractionDigits + false + true + + + + Minimum number of digits in the + fractional portion of the formatted output. + + minFractionDigits + false + true + + + + Name of the exported scoped variable + which stores the formatted result as a + String. + + var + false + false + + + + Scope of var. + + scope + false + false + + + + + + Parses the string representation of a number, currency, or percentage + + parseNumber + org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag + JSP + + + String to be parsed. + + value + false + true + + + + Specifies whether the string in the value + attribute should be parsed as a number, + currency, or percentage. + + type + false + true + + + + Custom formatting pattern that determines + how the string in the value attribute is to be + parsed. + + pattern + false + true + + + + Locale whose default formatting pattern (for + numbers, currencies, or percentages, + respectively) is to be used during the parse + operation, or to which the pattern specified + via the pattern attribute (if present) is + applied. + + parseLocale + false + true + + + + Specifies whether just the integer portion of + the given value should be parsed. + + integerOnly + false + true + + + + Name of the exported scoped variable which + stores the parsed result (of type + java.lang.Number). + + var + false + false + + + + Scope of var. + + scope + false + false + + + + + + Formats a date and/or time using the supplied styles and pattern + + formatDate + org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag + empty + + + Date and/or time to be formatted. + + value + true + true + + + + Specifies whether the time, the date, or both + the time and date components of the given + date are to be formatted. + + type + false + true + + + + Predefined formatting style for dates. Follows + the semantics defined in class + java.text.DateFormat. Applied only + when formatting a date or both a date and + time (i.e. if type is missing or is equal to + "date" or "both"); ignored otherwise. + + dateStyle + false + true + + + + Predefined formatting style for times. Follows + the semantics defined in class + java.text.DateFormat. Applied only + when formatting a time or both a date and + time (i.e. if type is equal to "time" or "both"); + ignored otherwise. + + timeStyle + false + true + + + + Custom formatting style for dates and times. + + pattern + false + true + + + + Time zone in which to represent the formatted + time. + + timeZone + false + true + + + + Name of the exported scoped variable which + stores the formatted result as a String. + + var + false + false + + + + Scope of var. + + scope + false + false + + + + + + Parses the string representation of a date and/or time + + parseDate + org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag + JSP + + + Date string to be parsed. + + value + false + true + + + + Specifies whether the date string in the + value attribute is supposed to contain a + time, a date, or both. + + type + false + true + + + + Predefined formatting style for days + which determines how the date + component of the date string is to be + parsed. Applied only when formatting a + date or both a date and time (i.e. if type + is missing or is equal to "date" or "both"); + ignored otherwise. + + dateStyle + false + true + + + + Predefined formatting styles for times + which determines how the time + component in the date string is to be + parsed. Applied only when formatting a + time or both a date and time (i.e. if type + is equal to "time" or "both"); ignored + otherwise. + + timeStyle + false + true + + + + Custom formatting pattern which + determines how the date string is to be + parsed. + + pattern + false + true + + + + Time zone in which to interpret any time + information in the date string. + + timeZone + false + true + + + + Locale whose predefined formatting styles + for dates and times are to be used during + the parse operation, or to which the + pattern specified via the pattern + attribute (if present) is applied. + + parseLocale + false + true + + + + Name of the exported scoped variable in + which the parsing result (of type + java.util.Date) is stored. + + var + false + false + + + + Scope of var. + + scope + false + false + + Modified: tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fn.tld URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fn.tld?rev=1037279&r1=1037278&r2=1037279&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fn.tld (original) +++ tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/fn.tld Sat Nov 20 17:57:45 2010 @@ -1,207 +1,208 @@ - - JSTL 1.1 functions library - JSTL functions - 1.1 - fn - http://java.sun.com/jsp/jstl/functions - - - - Tests if an input string contains the specified substring. - - contains - org.apache.taglibs.standard.functions.Functions - boolean contains(java.lang.String, java.lang.String) - - <c:if test="${fn:contains(name, searchString)}"> - - - - - - Tests if an input string contains the specified substring in a case insensitive way. - - containsIgnoreCase - org.apache.taglibs.standard.functions.Functions - boolean containsIgnoreCase(java.lang.String, java.lang.String) - - <c:if test="${fn:containsIgnoreCase(name, searchString)}"> - - - - - - Tests if an input string ends with the specified suffix. - - endsWith - org.apache.taglibs.standard.functions.Functions - boolean endsWith(java.lang.String, java.lang.String) - - <c:if test="${fn:endsWith(filename, ".txt")}"> - - - - - - Escapes characters that could be interpreted as XML markup. - - escapeXml - org.apache.taglibs.standard.functions.Functions - java.lang.String escapeXml(java.lang.String) - - ${fn:escapeXml(param:info)} - - - - - - Returns the index withing a string of the first occurrence of a specified substring. - - indexOf - org.apache.taglibs.standard.functions.Functions - int indexOf(java.lang.String, java.lang.String) - - ${fn:indexOf(name, "-")} - - - - - - Joins all elements of an array into a string. - - join - org.apache.taglibs.standard.functions.Functions - java.lang.String join(java.lang.String[], java.lang.String) - - ${fn:join(array, ";")} - - - - - - Returns the number of items in a collection, or the number of characters in a string. - - length - org.apache.taglibs.standard.functions.Functions - int length(java.lang.Object) - - You have ${fn:length(shoppingCart.products)} in your shopping cart. - - - - - - Returns a string resulting from replacing in an input string all occurrences - of a "before" string into an "after" substring. - - replace - org.apache.taglibs.standard.functions.Functions - java.lang.String replace(java.lang.String, java.lang.String, java.lang.String) - - ${fn:replace(text, "-", "•")} - - - - - - Splits a string into an array of substrings. - - split - org.apache.taglibs.standard.functions.Functions - java.lang.String[] split(java.lang.String, java.lang.String) - - ${fn:split(customerNames, ";")} - - - - - - Tests if an input string starts with the specified prefix. - - startsWith - org.apache.taglibs.standard.functions.Functions - boolean startsWith(java.lang.String, java.lang.String) - - <c:if test="${fn:startsWith(product.id, "100-")}"> - - - - - - Returns a subset of a string. - - substring - org.apache.taglibs.standard.functions.Functions - java.lang.String substring(java.lang.String, int, int) - - P.O. Box: ${fn:substring(zip, 6, -1)} - - - - - - Returns a subset of a string following a specific substring. - - substringAfter - org.apache.taglibs.standard.functions.Functions - java.lang.String substringAfter(java.lang.String, java.lang.String) - - P.O. Box: ${fn:substringAfter(zip, "-")} - - - - - - Returns a subset of a string before a specific substring. - - substringBefore - org.apache.taglibs.standard.functions.Functions - java.lang.String substringBefore(java.lang.String, java.lang.String) - - Zip (without P.O. Box): ${fn:substringBefore(zip, "-")} - - - - - - Converts all of the characters of a string to lower case. - - toLowerCase - org.apache.taglibs.standard.functions.Functions - java.lang.String toLowerCase(java.lang.String) - - Product name: ${fn.toLowerCase(product.name)} - - - - - - Converts all of the characters of a string to upper case. - - toUpperCase - org.apache.taglibs.standard.functions.Functions - java.lang.String toUpperCase(java.lang.String) - - Product name: ${fn.UpperCase(product.name)} - - - - - - Removes white spaces from both ends of a string. - - trim - org.apache.taglibs.standard.functions.Functions - java.lang.String trim(java.lang.String) - - Name: ${fn.trim(name)} - - + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" + version="2.0"> + + JSTL 1.1 functions library + JSTL functions + 1.1 + fn + http://java.sun.com/jsp/jstl/functions + + + + Tests if an input string contains the specified substring. + + contains + org.apache.taglibs.standard.functions.Functions + boolean contains(java.lang.String, java.lang.String) + + <c:if test="${fn:contains(name, searchString)}"> + + + + + + Tests if an input string contains the specified substring in a case insensitive way. + + containsIgnoreCase + org.apache.taglibs.standard.functions.Functions + boolean containsIgnoreCase(java.lang.String, java.lang.String) + + <c:if test="${fn:containsIgnoreCase(name, searchString)}"> + + + + + + Tests if an input string ends with the specified suffix. + + endsWith + org.apache.taglibs.standard.functions.Functions + boolean endsWith(java.lang.String, java.lang.String) + + <c:if test="${fn:endsWith(filename, ".txt")}"> + + + + + + Escapes characters that could be interpreted as XML markup. + + escapeXml + org.apache.taglibs.standard.functions.Functions + java.lang.String escapeXml(java.lang.String) + + ${fn:escapeXml(param:info)} + + + + + + Returns the index withing a string of the first occurrence of a specified substring. + + indexOf + org.apache.taglibs.standard.functions.Functions + int indexOf(java.lang.String, java.lang.String) + + ${fn:indexOf(name, "-")} + + + + + + Joins all elements of an array into a string. + + join + org.apache.taglibs.standard.functions.Functions + java.lang.String join(java.lang.String[], java.lang.String) + + ${fn:join(array, ";")} + + + + + + Returns the number of items in a collection, or the number of characters in a string. + + length + org.apache.taglibs.standard.functions.Functions + int length(java.lang.Object) + + You have ${fn:length(shoppingCart.products)} in your shopping cart. + + + + + + Returns a string resulting from replacing in an input string all occurrences + of a "before" string into an "after" substring. + + replace + org.apache.taglibs.standard.functions.Functions + java.lang.String replace(java.lang.String, java.lang.String, java.lang.String) + + + ${fn:replace(text, "-", "•")} + + + + + + Splits a string into an array of substrings. + + split + org.apache.taglibs.standard.functions.Functions + java.lang.String[] split(java.lang.String, java.lang.String) + + ${fn:split(customerNames, ";")} + + + + + + Tests if an input string starts with the specified prefix. + + startsWith + org.apache.taglibs.standard.functions.Functions + boolean startsWith(java.lang.String, java.lang.String) + + <c:if test="${fn:startsWith(product.id, "100-")}"> + + + + + + Returns a subset of a string. + + substring + org.apache.taglibs.standard.functions.Functions + java.lang.String substring(java.lang.String, int, int) + + P.O. Box: ${fn:substring(zip, 6, -1)} + + + + + + Returns a subset of a string following a specific substring. + + substringAfter + org.apache.taglibs.standard.functions.Functions + java.lang.String substringAfter(java.lang.String, java.lang.String) + + P.O. Box: ${fn:substringAfter(zip, "-")} + + + + + + Returns a subset of a string before a specific substring. + + substringBefore + org.apache.taglibs.standard.functions.Functions + java.lang.String substringBefore(java.lang.String, java.lang.String) + + Zip (without P.O. Box): ${fn:substringBefore(zip, "-")} + + + + + + Converts all of the characters of a string to lower case. + + toLowerCase + org.apache.taglibs.standard.functions.Functions + java.lang.String toLowerCase(java.lang.String) + + Product name: ${fn.toLowerCase(product.name)} + + + + + + Converts all of the characters of a string to upper case. + + toUpperCase + org.apache.taglibs.standard.functions.Functions + java.lang.String toUpperCase(java.lang.String) + + Product name: ${fn.UpperCase(product.name)} + + + + + + Removes white spaces from both ends of a string. + + trim + org.apache.taglibs.standard.functions.Functions + java.lang.String trim(java.lang.String) + + Name: ${fn.trim(name)} + + Modified: tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/permittedTaglibs.tld URL: http://svn.apache.org/viewvc/tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/permittedTaglibs.tld?rev=1037279&r1=1037278&r2=1037279&view=diff ============================================================================== --- tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/permittedTaglibs.tld (original) +++ tomcat/taglibs/standard/trunk/impl/src/main/resources/META-INF/permittedTaglibs.tld Sat Nov 20 17:57:45 2010 @@ -1,34 +1,34 @@ - - Restricts JSP pages to the JSTL tag libraries - - permittedTaglibs - 1.1 - permittedTaglibs - http://jakarta.apache.org/taglibs/standard/permittedTaglibs + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd" + version="2.0"> + + Restricts JSP pages to the JSTL tag libraries + + permittedTaglibs + 1.1 + permittedTaglibs + http://jakarta.apache.org/taglibs/standard/permittedTaglibs - - - javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV - - - - Whitespace-separated list of taglib URIs to permit. This example - TLD for the Standard Taglib allows only JSTL 'el' taglibs to be - imported. - - permittedTaglibs - - http://java.sun.com/jsp/jstl/core - http://java.sun.com/jsp/jstl/fmt - http://java.sun.com/jsp/jstl/sql - http://java.sun.com/jsp/jstl/xml - - - + + + javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV + + + + Whitespace-separated list of taglib URIs to permit. This example + TLD for the Standard Taglib allows only JSTL 'el' taglibs to be + imported. + + permittedTaglibs + + http://java.sun.com/jsp/jstl/core + http://java.sun.com/jsp/jstl/fmt + http://java.sun.com/jsp/jstl/sql + http://java.sun.com/jsp/jstl/xml + + + --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org