GRAILS-1019: Allowing expressions to be used with the 'disabled' attribute for g...
[grails.git] / src / war / WEB-INF / tld / 2.4 / fmt.tld
blob3b9a54a87dcd8b5231cbcd3561aee637595fdae3
1 <?xml version="1.0" encoding="UTF-8" ?>
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">
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>
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>
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>
32 Name of character encoding to be applied when
33 decoding request parameters.
34 </description>
35 <name>value</name>
36 <required>false</required>
37 <rtexprvalue>true</rtexprvalue>
38 </attribute>
39 </tag>
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>
50 A String value is interpreted as the
51 printable representation of a locale, which
52 must contain a two-letter (lower-case)
53 language code (as defined by ISO-639),
54 and may contain a two-letter (upper-case)
55 country code (as defined by ISO-3166).
56 Language and country codes must be
57 separated 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>
66 Vendor- or browser-specific variant.
67 See the java.util.Locale javadocs for
68 more information on variants.
69 </description>
70 <name>variant</name>
71 <required>false</required>
72 <rtexprvalue>true</rtexprvalue>
73 </attribute>
74 <attribute>
75 <description>
76 Scope of the locale configuration variable.
77 </description>
78 <name>scope</name>
79 <required>false</required>
80 <rtexprvalue>false</rtexprvalue>
81 </attribute>
82 </tag>
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>
94 The time zone. A String value is interpreted as
95 a time zone ID. This may be one of the time zone
96 IDs supported by the Java platform (such as
97 "America/Los_Angeles") or a custom time zone
98 ID (such as "GMT-8"). See
99 java.util.TimeZone for more information on
100 supported time zone formats.
101 </description>
102 <name>value</name>
103 <required>true</required>
104 <rtexprvalue>true</rtexprvalue>
105 </attribute>
106 </tag>
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>
117 The time zone. A String value is interpreted as
118 a time zone ID. This may be one of the time zone
119 IDs supported by the Java platform (such as
120 "America/Los_Angeles") or a custom time zone
121 ID (such as "GMT-8"). See java.util.TimeZone for
122 more information on supported time zone
123 formats.
124 </description>
125 <name>value</name>
126 <required>true</required>
127 <rtexprvalue>true</rtexprvalue>
128 </attribute>
129 <attribute>
130 <description>
131 Name of the exported scoped variable which
132 stores the time zone of type
133 java.util.TimeZone.
134 </description>
135 <name>var</name>
136 <required>false</required>
137 <rtexprvalue>false</rtexprvalue>
138 </attribute>
139 <attribute>
140 <description>
141 Scope of var or the time zone configuration
142 variable.
143 </description>
144 <name>scope</name>
145 <required>false</required>
146 <rtexprvalue>false</rtexprvalue>
147 </attribute>
148 </tag>
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>
159 Resource bundle base name. This is the bundle's
160 fully-qualified resource name, which has the same
161 form as a fully-qualified class name, that is, it uses
162 "." as the package component separator and does not
163 have any file type (such as ".class" or ".properties")
164 suffix.
165 </description>
166 <name>basename</name>
167 <required>true</required>
168 <rtexprvalue>true</rtexprvalue>
169 </attribute>
170 <attribute>
171 <description>
172 Prefix to be prepended to the value of the message
173 key 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>
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>
191 Resource bundle base name. This is the bundle's
192 fully-qualified resource name, which has the same
193 form as a fully-qualified class name, that is, it uses
194 "." as the package component separator and does not
195 have any file type (such as ".class" or ".properties")
196 suffix.
197 </description>
198 <name>basename</name>
199 <required>true</required>
200 <rtexprvalue>true</rtexprvalue>
201 </attribute>
202 <attribute>
203 <description>
204 Name of the exported scoped variable which stores
205 the i18n localization context of type
206 javax.servlet.jsp.jstl.fmt.LocalizationC
207 ontext.
208 </description>
209 <name>var</name>
210 <required>false</required>
211 <rtexprvalue>false</rtexprvalue>
212 </attribute>
213 <attribute>
214 <description>
215 Scope of var or the localization context
216 configuration variable.
217 </description>
218 <name>scope</name>
219 <required>false</required>
220 <rtexprvalue>false</rtexprvalue>
221 </attribute>
222 </tag>
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>
233 Message 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>
241 Localization context in whose resource
242 bundle 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>
250 Name of the exported scoped variable
251 which stores the localized message.
252 </description>
253 <name>var</name>
254 <required>false</required>
255 <rtexprvalue>false</rtexprvalue>
256 </attribute>
257 <attribute>
258 <description>
259 Scope of var.
260 </description>
261 <name>scope</name>
262 <required>false</required>
263 <rtexprvalue>false</rtexprvalue>
264 </attribute>
265 </tag>
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>
277 Argument used for parametric replacement.
278 </description>
279 <name>value</name>
280 <required>false</required>
281 <rtexprvalue>true</rtexprvalue>
282 </attribute>
283 </tag>
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>
294 Numeric value to be formatted.
295 </description>
296 <name>value</name>
297 <required>false</required>
298 <rtexprvalue>true</rtexprvalue>
299 </attribute>
300 <attribute>
301 <description>
302 Specifies whether the value is to be
303 formatted as number, currency, or
304 percentage.
305 </description>
306 <name>type</name>
307 <required>false</required>
308 <rtexprvalue>true</rtexprvalue>
309 </attribute>
310 <attribute>
311 <description>
312 Custom formatting pattern.
313 </description>
314 <name>pattern</name>
315 <required>false</required>
316 <rtexprvalue>true</rtexprvalue>
317 </attribute>
318 <attribute>
319 <description>
320 ISO 4217 currency code. Applied only
321 when formatting currencies (i.e. if type is
322 equal to "currency"); ignored otherwise.
323 </description>
324 <name>currencyCode</name>
325 <required>false</required>
326 <rtexprvalue>true</rtexprvalue>
327 </attribute>
328 <attribute>
329 <description>
330 Currency symbol. Applied only when
331 formatting currencies (i.e. if type is equal
332 to "currency"); ignored otherwise.
333 </description>
334 <name>currencySymbol</name>
335 <required>false</required>
336 <rtexprvalue>true</rtexprvalue>
337 </attribute>
338 <attribute>
339 <description>
340 Specifies whether the formatted output
341 will contain any grouping separators.
342 </description>
343 <name>groupingUsed</name>
344 <required>false</required>
345 <rtexprvalue>true</rtexprvalue>
346 </attribute>
347 <attribute>
348 <description>
349 Maximum number of digits in the integer
350 portion of the formatted output.
351 </description>
352 <name>maxIntegerDigits</name>
353 <required>false</required>
354 <rtexprvalue>true</rtexprvalue>
355 </attribute>
356 <attribute>
357 <description>
358 Minimum number of digits in the integer
359 portion of the formatted output.
360 </description>
361 <name>minIntegerDigits</name>
362 <required>false</required>
363 <rtexprvalue>true</rtexprvalue>
364 </attribute>
365 <attribute>
366 <description>
367 Maximum number of digits in the
368 fractional 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>
376 Minimum number of digits in the
377 fractional 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>
385 Name of the exported scoped variable
386 which stores the formatted result as a
387 String.
388 </description>
389 <name>var</name>
390 <required>false</required>
391 <rtexprvalue>false</rtexprvalue>
392 </attribute>
393 <attribute>
394 <description>
395 Scope of var.
396 </description>
397 <name>scope</name>
398 <required>false</required>
399 <rtexprvalue>false</rtexprvalue>
400 </attribute>
401 </tag>
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>
412 String to be parsed.
413 </description>
414 <name>value</name>
415 <required>false</required>
416 <rtexprvalue>true</rtexprvalue>
417 </attribute>
418 <attribute>
419 <description>
420 Specifies whether the string in the value
421 attribute should be parsed as a number,
422 currency, or percentage.
423 </description>
424 <name>type</name>
425 <required>false</required>
426 <rtexprvalue>true</rtexprvalue>
427 </attribute>
428 <attribute>
429 <description>
430 Custom formatting pattern that determines
431 how the string in the value attribute is to be
432 parsed.
433 </description>
434 <name>pattern</name>
435 <required>false</required>
436 <rtexprvalue>true</rtexprvalue>
437 </attribute>
438 <attribute>
439 <description>
440 Locale whose default formatting pattern (for
441 numbers, currencies, or percentages,
442 respectively) is to be used during the parse
443 operation, or to which the pattern specified
444 via the pattern attribute (if present) is
445 applied.
446 </description>
447 <name>parseLocale</name>
448 <required>false</required>
449 <rtexprvalue>true</rtexprvalue>
450 </attribute>
451 <attribute>
452 <description>
453 Specifies whether just the integer portion of
454 the 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>
462 Name of the exported scoped variable which
463 stores the parsed result (of type
464 java.lang.Number).
465 </description>
466 <name>var</name>
467 <required>false</required>
468 <rtexprvalue>false</rtexprvalue>
469 </attribute>
470 <attribute>
471 <description>
472 Scope of var.
473 </description>
474 <name>scope</name>
475 <required>false</required>
476 <rtexprvalue>false</rtexprvalue>
477 </attribute>
478 </tag>
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>
489 Date 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>
497 Specifies whether the time, the date, or both
498 the time and date components of the given
499 date are to be formatted.
500 </description>
501 <name>type</name>
502 <required>false</required>
503 <rtexprvalue>true</rtexprvalue>
504 </attribute>
505 <attribute>
506 <description>
507 Predefined formatting style for dates. Follows
508 the semantics defined in class
509 java.text.DateFormat. Applied only
510 when formatting a date or both a date and
511 time (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>
520 Predefined formatting style for times. Follows
521 the semantics defined in class
522 java.text.DateFormat. Applied only
523 when formatting a time or both a date and
524 time (i.e. if type is equal to "time" or "both");
525 ignored otherwise.
526 </description>
527 <name>timeStyle</name>
528 <required>false</required>
529 <rtexprvalue>true</rtexprvalue>
530 </attribute>
531 <attribute>
532 <description>
533 Custom 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>
541 Time zone in which to represent the formatted
542 time.
543 </description>
544 <name>timeZone</name>
545 <required>false</required>
546 <rtexprvalue>true</rtexprvalue>
547 </attribute>
548 <attribute>
549 <description>
550 Name of the exported scoped variable which
551 stores 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>
559 Scope of var.
560 </description>
561 <name>scope</name>
562 <required>false</required>
563 <rtexprvalue>false</rtexprvalue>
564 </attribute>
565 </tag>
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>
576 Date string to be parsed.
577 </description>
578 <name>value</name>
579 <required>false</required>
580 <rtexprvalue>true</rtexprvalue>
581 </attribute>
582 <attribute>
583 <description>
584 Specifies whether the date string in the
585 value attribute is supposed to contain a
586 time, a date, or both.
587 </description>
588 <name>type</name>
589 <required>false</required>
590 <rtexprvalue>true</rtexprvalue>
591 </attribute>
592 <attribute>
593 <description>
594 Predefined formatting style for days
595 which determines how the date
596 component of the date string is to be
597 parsed. Applied only when formatting a
598 date or both a date and time (i.e. if type
599 is missing or is equal to "date" or "both");
600 ignored otherwise.
601 </description>
602 <name>dateStyle</name>
603 <required>false</required>
604 <rtexprvalue>true</rtexprvalue>
605 </attribute>
606 <attribute>
607 <description>
608 Predefined formatting styles for times
609 which determines how the time
610 component in the date string is to be
611 parsed. Applied only when formatting a
612 time or both a date and time (i.e. if type
613 is equal to "time" or "both"); ignored
614 otherwise.
615 </description>
616 <name>timeStyle</name>
617 <required>false</required>
618 <rtexprvalue>true</rtexprvalue>
619 </attribute>
620 <attribute>
621 <description>
622 Custom formatting pattern which
623 determines how the date string is to be
624 parsed.
625 </description>
626 <name>pattern</name>
627 <required>false</required>
628 <rtexprvalue>true</rtexprvalue>
629 </attribute>
630 <attribute>
631 <description>
632 Time zone in which to interpret any time
633 information in the date string.
634 </description>
635 <name>timeZone</name>
636 <required>false</required>
637 <rtexprvalue>true</rtexprvalue>
638 </attribute>
639 <attribute>
640 <description>
641 Locale whose predefined formatting styles
642 for dates and times are to be used during
643 the parse operation, or to which the
644 pattern specified via the pattern
645 attribute (if present) is applied.
646 </description>
647 <name>parseLocale</name>
648 <required>false</required>
649 <rtexprvalue>true</rtexprvalue>
650 </attribute>
651 <attribute>
652 <description>
653 Name of the exported scoped variable in
654 which the parsing result (of type
655 java.util.Date) is stored.
656 </description>
657 <name>var</name>
658 <required>false</required>
659 <rtexprvalue>false</rtexprvalue>
660 </attribute>
661 <attribute>
662 <description>
663 Scope of var.
664 </description>
665 <name>scope</name>
666 <required>false</required>
667 <rtexprvalue>false</rtexprvalue>
668 </attribute>
669 </tag>
671 </taglib>