source: trunk/web-app/WEB-INF/tld/fmt.tld @ 450

Last change on this file since 450 was 56, checked in by gav, 16 years ago

Create Grails app (manual recursion to get everything in)

File size: 19.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2
3<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
4    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
6    version="2.0">
7   
8  <description>JSTL 1.1 i18n-capable formatting library</description>
9  <display-name>JSTL fmt</display-name>
10  <tlib-version>1.1</tlib-version>
11  <short-name>fmt</short-name>
12  <uri>http://java.sun.com/jsp/jstl/fmt</uri>
13
14  <validator>
15    <description>
16        Provides core validation features for JSTL tags.
17    </description>
18    <validator-class>
19        org.apache.taglibs.standard.tlv.JstlFmtTLV
20    </validator-class>
21  </validator>
22
23  <tag>
24    <description>
25        Sets the request character encoding
26    </description>
27    <name>requestEncoding</name>
28    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.RequestEncodingTag</tag-class>
29    <body-content>empty</body-content>
30    <attribute>
31        <description>
32Name of character encoding to be applied when
33decoding request parameters.
34        </description>
35        <name>value</name>
36        <required>false</required>
37        <rtexprvalue>true</rtexprvalue>
38    </attribute>
39  </tag>
40
41  <tag>
42    <description>
43        Stores the given locale in the locale configuration variable
44    </description>
45    <name>setLocale</name>
46    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetLocaleTag</tag-class>
47    <body-content>empty</body-content>
48    <attribute>
49        <description>
50A String value is interpreted as the
51printable representation of a locale, which
52must contain a two-letter (lower-case)
53language code (as defined by ISO-639),
54and may contain a two-letter (upper-case)
55country code (as defined by ISO-3166).
56Language and country codes must be
57separated by hyphen (-) or underscore
58(_).       
59        </description>
60        <name>value</name>
61        <required>true</required>
62        <rtexprvalue>true</rtexprvalue>
63    </attribute>
64    <attribute>
65        <description>
66Vendor- or browser-specific variant.
67See the java.util.Locale javadocs for
68more information on variants.
69        </description>
70        <name>variant</name>
71        <required>false</required>
72        <rtexprvalue>true</rtexprvalue>
73    </attribute>
74    <attribute>
75        <description>
76Scope of the locale configuration variable.
77        </description>
78        <name>scope</name>
79        <required>false</required>
80        <rtexprvalue>false</rtexprvalue>
81    </attribute>
82  </tag>
83
84  <tag>
85    <description>
86        Specifies the time zone for any time formatting or parsing actions
87        nested in its body
88    </description>
89    <name>timeZone</name>
90    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.TimeZoneTag</tag-class>
91    <body-content>JSP</body-content>
92    <attribute>
93        <description>
94The time zone. A String value is interpreted as
95a time zone ID. This may be one of the time zone
96IDs supported by the Java platform (such as
97"America/Los_Angeles") or a custom time zone
98ID (such as "GMT-8"). See
99java.util.TimeZone for more information on
100supported time zone formats.
101        </description>
102        <name>value</name>
103        <required>true</required>
104        <rtexprvalue>true</rtexprvalue>
105    </attribute>
106  </tag>
107
108  <tag>
109    <description>
110        Stores the given time zone in the time zone configuration variable
111    </description>
112    <name>setTimeZone</name>
113    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetTimeZoneTag</tag-class>
114    <body-content>empty</body-content>
115    <attribute>
116        <description>
117The time zone. A String value is interpreted as
118a time zone ID. This may be one of the time zone
119IDs supported by the Java platform (such as
120"America/Los_Angeles") or a custom time zone
121ID (such as "GMT-8"). See java.util.TimeZone for
122more information on supported time zone
123formats.
124        </description>
125        <name>value</name>
126        <required>true</required>
127        <rtexprvalue>true</rtexprvalue>
128    </attribute>
129    <attribute>
130        <description>
131Name of the exported scoped variable which
132stores the time zone of type
133java.util.TimeZone.
134        </description>
135        <name>var</name>
136        <required>false</required>
137        <rtexprvalue>false</rtexprvalue>
138    </attribute>
139    <attribute>
140        <description>
141Scope of var or the time zone configuration
142variable.
143        </description>
144        <name>scope</name>
145        <required>false</required>
146        <rtexprvalue>false</rtexprvalue>
147    </attribute>
148  </tag>
149
150  <tag>
151    <description>
152        Loads a resource bundle to be used by its tag body
153    </description>
154    <name>bundle</name>
155    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.BundleTag</tag-class>
156    <body-content>JSP</body-content>
157    <attribute>
158        <description>
159Resource bundle base name. This is the bundle's
160fully-qualified resource name, which has the same
161form as a fully-qualified class name, that is, it uses
162"." as the package component separator and does not
163have any file type (such as ".class" or ".properties")
164suffix.
165        </description>
166        <name>basename</name>
167        <required>true</required>
168        <rtexprvalue>true</rtexprvalue>
169    </attribute>
170    <attribute>
171        <description>
172Prefix to be prepended to the value of the message
173key of any nested &lt;fmt:message&gt; action.
174        </description>
175        <name>prefix</name>
176        <required>false</required>
177        <rtexprvalue>true</rtexprvalue>
178    </attribute>
179  </tag>
180
181  <tag>
182    <description>
183        Loads a resource bundle and stores it in the named scoped variable or
184        the bundle configuration variable
185    </description>
186    <name>setBundle</name>
187    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.SetBundleTag</tag-class>
188    <body-content>empty</body-content>
189    <attribute>
190        <description>
191Resource bundle base name. This is the bundle's
192fully-qualified resource name, which has the same
193form as a fully-qualified class name, that is, it uses
194"." as the package component separator and does not
195have any file type (such as ".class" or ".properties")
196suffix.
197        </description>
198        <name>basename</name>
199        <required>true</required>
200        <rtexprvalue>true</rtexprvalue>
201    </attribute>
202    <attribute>
203        <description>
204Name of the exported scoped variable which stores
205the i18n localization context of type
206javax.servlet.jsp.jstl.fmt.LocalizationC
207ontext.
208        </description>
209        <name>var</name>
210        <required>false</required>
211        <rtexprvalue>false</rtexprvalue>
212    </attribute>
213    <attribute>
214        <description>
215Scope of var or the localization context
216configuration variable.
217        </description>
218        <name>scope</name>
219        <required>false</required>
220        <rtexprvalue>false</rtexprvalue>
221    </attribute>
222  </tag>
223
224  <tag>
225    <description>
226        Maps key to localized message and performs parametric replacement
227    </description>
228    <name>message</name>
229    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.MessageTag</tag-class>
230    <body-content>JSP</body-content>
231    <attribute>
232        <description>
233Message key to be looked up.
234        </description>
235        <name>key</name>
236        <required>false</required>
237        <rtexprvalue>true</rtexprvalue>
238    </attribute>
239    <attribute>
240        <description>
241Localization context in whose resource
242bundle the message key is looked up.
243        </description>
244        <name>bundle</name>
245        <required>false</required>
246        <rtexprvalue>true</rtexprvalue>
247    </attribute>
248    <attribute>
249        <description>
250Name of the exported scoped variable
251which stores the localized message.
252        </description>
253        <name>var</name>
254        <required>false</required>
255        <rtexprvalue>false</rtexprvalue>
256    </attribute>
257    <attribute>
258        <description>
259Scope of var.
260        </description>
261        <name>scope</name>
262        <required>false</required>
263        <rtexprvalue>false</rtexprvalue>
264    </attribute>
265  </tag>
266
267  <tag>
268    <description>
269        Supplies an argument for parametric replacement to a containing
270        &lt;message&gt; tag
271    </description>
272    <name>param</name>
273    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParamTag</tag-class>
274    <body-content>JSP</body-content>
275    <attribute>
276        <description>
277Argument used for parametric replacement.
278        </description>
279        <name>value</name>
280        <required>false</required>
281        <rtexprvalue>true</rtexprvalue>
282    </attribute>
283  </tag>
284
285  <tag>
286    <description>
287        Formats a numeric value as a number, currency, or percentage
288    </description>
289    <name>formatNumber</name>
290    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatNumberTag</tag-class>
291    <body-content>JSP</body-content>
292    <attribute>
293        <description>
294Numeric value to be formatted.
295        </description>
296        <name>value</name>
297        <required>false</required>
298        <rtexprvalue>true</rtexprvalue>
299    </attribute>
300    <attribute>
301        <description>
302Specifies whether the value is to be
303formatted as number, currency, or
304percentage.
305        </description>
306        <name>type</name>
307        <required>false</required>
308        <rtexprvalue>true</rtexprvalue>
309    </attribute>
310    <attribute>
311        <description>
312Custom formatting pattern.
313        </description>
314        <name>pattern</name>
315        <required>false</required>
316        <rtexprvalue>true</rtexprvalue>
317    </attribute>
318    <attribute>
319        <description>
320ISO 4217 currency code. Applied only
321when formatting currencies (i.e. if type is
322equal to "currency"); ignored otherwise.
323        </description>
324        <name>currencyCode</name>
325        <required>false</required>
326        <rtexprvalue>true</rtexprvalue>
327    </attribute>
328    <attribute>
329        <description>
330Currency symbol. Applied only when
331formatting currencies (i.e. if type is equal
332to "currency"); ignored otherwise.
333        </description>
334        <name>currencySymbol</name>
335        <required>false</required>
336        <rtexprvalue>true</rtexprvalue>
337    </attribute>
338    <attribute>
339        <description>
340Specifies whether the formatted output
341will contain any grouping separators.
342        </description>
343        <name>groupingUsed</name>
344        <required>false</required>
345        <rtexprvalue>true</rtexprvalue>
346    </attribute>
347    <attribute>
348        <description>
349Maximum number of digits in the integer
350portion of the formatted output.
351        </description>
352        <name>maxIntegerDigits</name>
353        <required>false</required>
354        <rtexprvalue>true</rtexprvalue>
355    </attribute>
356    <attribute>
357        <description>
358Minimum number of digits in the integer
359portion of the formatted output.
360        </description>
361        <name>minIntegerDigits</name>
362        <required>false</required>
363        <rtexprvalue>true</rtexprvalue>
364    </attribute>
365    <attribute>
366        <description>
367Maximum number of digits in the
368fractional portion of the formatted output.
369        </description>
370        <name>maxFractionDigits</name>
371        <required>false</required>
372        <rtexprvalue>true</rtexprvalue>
373    </attribute>
374    <attribute>
375        <description>
376Minimum number of digits in the
377fractional portion of the formatted output.
378        </description>
379        <name>minFractionDigits</name>
380        <required>false</required>
381        <rtexprvalue>true</rtexprvalue>
382    </attribute>
383    <attribute>
384        <description>
385Name of the exported scoped variable
386which stores the formatted result as a
387String.
388        </description>
389        <name>var</name>
390        <required>false</required>
391        <rtexprvalue>false</rtexprvalue>
392    </attribute>
393    <attribute>
394        <description>
395Scope of var.
396        </description>
397        <name>scope</name>
398        <required>false</required>
399        <rtexprvalue>false</rtexprvalue>
400    </attribute>
401  </tag>
402
403  <tag>
404    <description>
405        Parses the string representation of a number, currency, or percentage
406    </description>
407    <name>parseNumber</name>
408    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseNumberTag</tag-class>
409    <body-content>JSP</body-content>
410    <attribute>
411        <description>
412String to be parsed.
413        </description>
414        <name>value</name>
415        <required>false</required>
416        <rtexprvalue>true</rtexprvalue>
417    </attribute>
418    <attribute>
419        <description>
420Specifies whether the string in the value
421attribute should be parsed as a number,
422currency, or percentage.
423        </description>
424        <name>type</name>
425        <required>false</required>
426        <rtexprvalue>true</rtexprvalue>
427    </attribute>
428    <attribute>
429        <description>
430Custom formatting pattern that determines
431how the string in the value attribute is to be
432parsed.
433        </description>
434        <name>pattern</name>
435        <required>false</required>
436        <rtexprvalue>true</rtexprvalue>
437    </attribute>
438    <attribute>
439        <description>
440Locale whose default formatting pattern (for
441numbers, currencies, or percentages,
442respectively) is to be used during the parse
443operation, or to which the pattern specified
444via the pattern attribute (if present) is
445applied.
446        </description>
447        <name>parseLocale</name>
448        <required>false</required>
449        <rtexprvalue>true</rtexprvalue>
450    </attribute>
451    <attribute>
452        <description>
453Specifies whether just the integer portion of
454the given value should be parsed.
455        </description>
456        <name>integerOnly</name>
457        <required>false</required>
458        <rtexprvalue>true</rtexprvalue>
459    </attribute>
460    <attribute>
461        <description>
462Name of the exported scoped variable which
463stores the parsed result (of type
464java.lang.Number).
465        </description>
466        <name>var</name>
467        <required>false</required>
468        <rtexprvalue>false</rtexprvalue>
469    </attribute>
470    <attribute>
471        <description>
472Scope of var.
473        </description>
474        <name>scope</name>
475        <required>false</required>
476        <rtexprvalue>false</rtexprvalue>
477    </attribute>
478  </tag>
479
480  <tag>
481    <description>
482        Formats a date and/or time using the supplied styles and pattern
483    </description>
484    <name>formatDate</name>
485    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag</tag-class>
486    <body-content>empty</body-content>
487    <attribute>
488        <description>
489Date and/or time to be formatted.
490        </description>
491        <name>value</name>
492        <required>true</required>
493        <rtexprvalue>true</rtexprvalue>
494    </attribute>
495    <attribute>
496        <description>
497Specifies whether the time, the date, or both
498the time and date components of the given
499date are to be formatted.
500        </description>
501        <name>type</name>
502        <required>false</required>
503        <rtexprvalue>true</rtexprvalue>
504    </attribute>
505    <attribute>
506        <description>
507Predefined formatting style for dates. Follows
508the semantics defined in class
509java.text.DateFormat. Applied only
510when formatting a date or both a date and
511time (i.e. if type is missing or is equal to
512"date" or "both"); ignored otherwise.
513        </description>
514        <name>dateStyle</name>
515        <required>false</required>
516        <rtexprvalue>true</rtexprvalue>
517    </attribute>
518    <attribute>
519        <description>
520Predefined formatting style for times. Follows
521the semantics defined in class
522java.text.DateFormat. Applied only
523when formatting a time or both a date and
524time (i.e. if type is equal to "time" or "both");
525ignored otherwise.
526        </description>
527        <name>timeStyle</name>
528        <required>false</required>
529        <rtexprvalue>true</rtexprvalue>
530    </attribute>
531    <attribute>
532        <description>
533Custom formatting style for dates and times.
534        </description>
535        <name>pattern</name>
536        <required>false</required>
537        <rtexprvalue>true</rtexprvalue>
538    </attribute>
539    <attribute>
540        <description>
541Time zone in which to represent the formatted
542time.
543        </description>
544        <name>timeZone</name>
545        <required>false</required>
546        <rtexprvalue>true</rtexprvalue>
547    </attribute>
548    <attribute>
549        <description>
550Name of the exported scoped variable which
551stores the formatted result as a String.
552        </description>
553        <name>var</name>
554        <required>false</required>
555        <rtexprvalue>false</rtexprvalue>
556    </attribute>
557    <attribute>
558        <description>
559Scope of var.
560        </description>
561        <name>scope</name>
562        <required>false</required>
563        <rtexprvalue>false</rtexprvalue>
564    </attribute>
565  </tag>
566
567  <tag>
568    <description>
569        Parses the string representation of a date and/or time
570    </description>
571    <name>parseDate</name>
572    <tag-class>org.apache.taglibs.standard.tag.rt.fmt.ParseDateTag</tag-class>
573    <body-content>JSP</body-content>
574    <attribute>
575        <description>
576Date string to be parsed.
577        </description>
578        <name>value</name>
579        <required>false</required>
580        <rtexprvalue>true</rtexprvalue>
581    </attribute>
582    <attribute>
583        <description>
584Specifies whether the date string in the
585value attribute is supposed to contain a
586time, a date, or both.
587        </description>
588        <name>type</name>
589        <required>false</required>
590        <rtexprvalue>true</rtexprvalue>
591    </attribute>
592    <attribute>
593        <description>
594Predefined formatting style for days
595which determines how the date
596component of the date string is to be
597parsed. Applied only when formatting a
598date or both a date and time (i.e. if type
599is missing or is equal to "date" or "both");
600ignored otherwise.
601        </description>
602        <name>dateStyle</name>
603        <required>false</required>
604        <rtexprvalue>true</rtexprvalue>
605    </attribute>
606    <attribute>
607        <description>
608Predefined formatting styles for times
609which determines how the time
610component in the date string is to be
611parsed. Applied only when formatting a
612time or both a date and time (i.e. if type
613is equal to "time" or "both"); ignored
614otherwise.
615        </description>
616        <name>timeStyle</name>
617        <required>false</required>
618        <rtexprvalue>true</rtexprvalue>
619    </attribute>
620    <attribute>
621        <description>
622Custom formatting pattern which
623determines how the date string is to be
624parsed.
625        </description>
626        <name>pattern</name>
627        <required>false</required>
628        <rtexprvalue>true</rtexprvalue>
629    </attribute>
630    <attribute>
631        <description>
632Time zone in which to interpret any time
633information in the date string.
634        </description>
635        <name>timeZone</name>
636        <required>false</required>
637        <rtexprvalue>true</rtexprvalue>
638    </attribute>
639    <attribute>
640        <description>
641Locale whose predefined formatting styles
642for dates and times are to be used during
643the parse operation, or to which the
644pattern specified via the pattern
645attribute (if present) is applied.
646        </description>
647        <name>parseLocale</name>
648        <required>false</required>
649        <rtexprvalue>true</rtexprvalue>
650    </attribute>
651    <attribute>
652        <description>
653Name of the exported scoped variable in
654which the parsing result (of type
655java.util.Date) is stored.
656        </description>
657        <name>var</name>
658        <required>false</required>
659        <rtexprvalue>false</rtexprvalue>
660    </attribute>
661    <attribute>
662        <description>
663Scope of var.
664        </description>
665        <name>scope</name>
666        <required>false</required>
667        <rtexprvalue>false</rtexprvalue>
668    </attribute>
669  </tag>
670
671</taglib>
Note: See TracBrowser for help on using the repository browser.