SCM-Daten ergänzt
[percentcodec] / accelerator-examples / jsp / src / main / webapp / WEB-INF / c.tld
1 <?xml version="1.0" encoding="UTF-8" ?>
2
3 <!--
4 Workaround for a bug in ServletUnit:
5 The TLD in jstl.jar is not found when the webapp is running in this
6 environment. Because of that, the TLD must be copied here and this
7 copy must be referenced explicitly in all JSP's
8 -->
9 <taglib xmlns="http://java.sun.com/xml/ns/javaee"
10     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11     xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
12     version="2.1">
13     
14   <description>JSTL 1.1 core library</description>
15   <display-name>JSTL core</display-name>
16   <tlib-version>1.1</tlib-version>
17   <short-name>c</short-name>
18   <uri>http://java.sun.com/jsp/jstl/core</uri>
19
20   <validator>
21     <description>
22         Provides core validation features for JSTL tags.
23     </description>
24     <validator-class>
25         org.apache.taglibs.standard.tlv.JstlCoreTLV
26     </validator-class>
27   </validator>
28
29   <tag>
30     <description>
31         Catches any Throwable that occurs in its body and optionally
32         exposes it.
33     </description>
34     <name>catch</name>
35     <tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
36     <body-content>JSP</body-content>
37     <attribute>
38         <description>
39 Name of the exported scoped variable for the
40 exception thrown from a nested action. The type of the
41 scoped variable is the type of the exception thrown.
42         </description>
43         <name>var</name>
44         <required>false</required>
45         <rtexprvalue>false</rtexprvalue>
46     </attribute>
47   </tag>
48
49   <tag>
50     <description>
51         Simple conditional tag that establishes a context for
52         mutually exclusive conditional operations, marked by
53         &lt;when&gt; and &lt;otherwise&gt;
54     </description>
55     <name>choose</name>
56     <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
57     <body-content>JSP</body-content>
58   </tag>
59
60   <tag>
61     <description>
62         Simple conditional tag, which evalutes its body if the
63         supplied condition is true and optionally exposes a Boolean
64         scripting variable representing the evaluation of this condition
65     </description>
66     <name>if</name>
67     <tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
68     <body-content>JSP</body-content>
69     <attribute>
70         <description>
71 The test condition that determines whether or
72 not the body content should be processed.
73         </description>
74         <name>test</name>
75         <required>true</required>
76         <rtexprvalue>true</rtexprvalue>
77         <type>boolean</type>
78     </attribute>
79     <attribute>
80         <description>
81 Name of the exported scoped variable for the
82 resulting value of the test condition. The type
83 of the scoped variable is Boolean.        
84         </description>
85         <name>var</name>
86         <required>false</required>
87         <rtexprvalue>false</rtexprvalue>
88     </attribute>
89     <attribute>
90         <description>
91 Scope for var.
92         </description>
93         <name>scope</name>
94         <required>false</required>
95         <rtexprvalue>false</rtexprvalue>
96     </attribute>
97   </tag>
98
99   <tag>
100     <description>
101         Retrieves an absolute or relative URL and exposes its contents
102         to either the page, a String in 'var', or a Reader in 'varReader'.
103     </description>
104     <name>import</name>
105     <tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
106     <tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
107     <body-content>JSP</body-content>
108     <attribute>
109         <description>
110 The URL of the resource to import.
111         </description>
112         <name>url</name>
113         <required>true</required>
114         <rtexprvalue>true</rtexprvalue>
115     </attribute>
116     <attribute>
117         <description>
118 Name of the exported scoped variable for the
119 resource's content. The type of the scoped
120 variable is String.
121         </description>
122         <name>var</name>
123         <required>false</required>
124         <rtexprvalue>false</rtexprvalue>
125     </attribute>
126     <attribute>
127         <description>
128 Scope for var.
129         </description>
130         <name>scope</name>
131         <required>false</required>
132         <rtexprvalue>false</rtexprvalue>
133     </attribute>
134     <attribute>
135         <description>
136 Name of the exported scoped variable for the
137 resource's content. The type of the scoped
138 variable is Reader.
139         </description>
140         <name>varReader</name>
141         <required>false</required>
142         <rtexprvalue>false</rtexprvalue>
143     </attribute>
144     <attribute>
145         <description>
146 Name of the context when accessing a relative
147 URL resource that belongs to a foreign
148 context.
149         </description>
150         <name>context</name>
151         <required>false</required>
152         <rtexprvalue>true</rtexprvalue>
153     </attribute>
154     <attribute>
155         <description>
156 Character encoding of the content at the input
157 resource.
158         </description>
159         <name>charEncoding</name>
160         <required>false</required>
161         <rtexprvalue>true</rtexprvalue>
162     </attribute>
163   </tag>
164
165   <tag>
166     <description>
167         The basic iteration tag, accepting many different
168         collection types and supporting subsetting and other
169         functionality
170     </description>
171     <name>forEach</name>
172     <tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
173     <tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
174     <body-content>JSP</body-content>
175     <attribute>
176         <description>
177 Collection of items to iterate over.
178         </description>
179         <name>items</name>
180         <required>false</required>
181         <rtexprvalue>true</rtexprvalue>
182         <type>java.lang.Object</type>
183         <deferred-value>
184             <type>java.lang.Object</type>
185         </deferred-value>
186     </attribute>
187     <attribute>
188         <description>
189 If items specified:
190 Iteration begins at the item located at the
191 specified index. First item of the collection has
192 index 0.
193 If items not specified:
194 Iteration begins with index set at the value
195 specified.
196         </description>
197         <name>begin</name>
198         <required>false</required>
199         <rtexprvalue>true</rtexprvalue>
200         <type>int</type>
201     </attribute>
202     <attribute>
203         <description>
204 If items specified:
205 Iteration ends at the item located at the
206 specified index (inclusive).
207 If items not specified:
208 Iteration ends when index reaches the value
209 specified.
210         </description>
211         <name>end</name>
212         <required>false</required>
213         <rtexprvalue>true</rtexprvalue>
214         <type>int</type>
215     </attribute>
216     <attribute>
217         <description>
218 Iteration will only process every step items of
219 the collection, starting with the first one.
220         </description>
221         <name>step</name>
222         <required>false</required>
223         <rtexprvalue>true</rtexprvalue>
224         <type>int</type>
225     </attribute>
226     <attribute>
227         <description>
228 Name of the exported scoped variable for the
229 current item of the iteration. This scoped
230 variable has nested visibility. Its type depends
231 on the object of the underlying collection.
232         </description>
233         <name>var</name>
234         <required>false</required>
235         <rtexprvalue>false</rtexprvalue>
236     </attribute>
237     <attribute>
238         <description>
239 Name of the exported scoped variable for the
240 status of the iteration. Object exported is of type
241 javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
242 visibility.
243         </description>
244         <name>varStatus</name>
245         <required>false</required>
246         <rtexprvalue>false</rtexprvalue>
247     </attribute>
248   </tag>
249
250   <tag>
251     <description>
252         Iterates over tokens, separated by the supplied delimeters
253     </description>
254     <name>forTokens</name>
255     <tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
256     <body-content>JSP</body-content>
257     <attribute>
258         <description>
259 String of tokens to iterate over.
260         </description>
261         <name>items</name>
262         <required>true</required>
263         <rtexprvalue>true</rtexprvalue>
264         <type>java.lang.String</type>
265         <deferred-value>
266             <type>java.lang.String</type>
267         </deferred-value>
268     </attribute>
269     <attribute>
270         <description>
271 The set of delimiters (the characters that
272 separate the tokens in the string).
273         </description>
274         <name>delims</name>
275         <required>true</required>
276         <rtexprvalue>true</rtexprvalue>
277         <type>java.lang.String</type>
278     </attribute>
279     <attribute>
280         <description>
281 Iteration begins at the token located at the
282 specified index. First token has index 0.
283         </description>
284         <name>begin</name>
285         <required>false</required>
286         <rtexprvalue>true</rtexprvalue>
287         <type>int</type>
288     </attribute>
289     <attribute>
290         <description>
291 Iteration ends at the token located at the
292 specified index (inclusive).
293         </description>
294         <name>end</name>
295         <required>false</required>
296         <rtexprvalue>true</rtexprvalue>
297         <type>int</type>
298     </attribute>
299     <attribute>
300         <description>
301 Iteration will only process every step tokens
302 of the string, starting with the first one.
303         </description>
304         <name>step</name>
305         <required>false</required>
306         <rtexprvalue>true</rtexprvalue>
307         <type>int</type>
308     </attribute>
309     <attribute>
310         <description>
311 Name of the exported scoped variable for the
312 current item of the iteration. This scoped
313 variable has nested visibility.
314         </description>
315         <name>var</name>
316         <required>false</required>
317         <rtexprvalue>false</rtexprvalue>
318     </attribute>
319     <attribute>
320         <description>
321 Name of the exported scoped variable for the
322 status of the iteration. Object exported is of
323 type
324 javax.servlet.jsp.jstl.core.LoopTag
325 Status. This scoped variable has nested
326 visibility.
327         </description>
328         <name>varStatus</name>
329         <required>false</required>
330         <rtexprvalue>false</rtexprvalue>
331     </attribute>
332   </tag>
333
334   <tag>
335     <description>
336         Like &lt;%= ... &gt;, but for expressions.
337     </description> 
338     <name>out</name>
339     <tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
340     <body-content>JSP</body-content>
341     <attribute>
342         <description>
343 Expression to be evaluated.
344         </description>
345         <name>value</name>
346         <required>true</required>
347         <rtexprvalue>true</rtexprvalue>
348     </attribute>
349     <attribute>
350         <description>
351 Default value if the resulting value is null.
352         </description>
353         <name>default</name>
354         <required>false</required>
355         <rtexprvalue>true</rtexprvalue>
356     </attribute>
357     <attribute>
358         <description>
359 Determines whether characters &lt;,&gt;,&amp;,'," in the
360 resulting string should be converted to their
361 corresponding character entity codes. Default value is
362 true.
363         </description>
364         <name>escapeXml</name>
365         <required>false</required>
366         <rtexprvalue>true</rtexprvalue>
367     </attribute>
368   </tag>
369
370
371   <tag>
372     <description>
373         Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
374         and runs only if all of the prior conditions evaluated to
375         'false'
376     </description>
377     <name>otherwise</name>
378     <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
379     <body-content>JSP</body-content>
380   </tag>
381
382   <tag>
383     <description>
384         Adds a parameter to a containing 'import' tag's URL.
385     </description>
386     <name>param</name>
387     <tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
388     <body-content>JSP</body-content>
389     <attribute>
390         <description>
391 Name of the query string parameter.
392         </description>
393         <name>name</name>
394         <required>true</required>
395         <rtexprvalue>true</rtexprvalue>
396     </attribute>
397     <attribute>
398         <description>
399 Value of the parameter.
400         </description>
401         <name>value</name>
402         <required>false</required>
403         <rtexprvalue>true</rtexprvalue>
404     </attribute>
405   </tag>
406
407   <tag>
408     <description>
409         Redirects to a new URL.
410     </description>
411     <name>redirect</name>
412     <tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
413     <body-content>JSP</body-content>
414     <attribute>
415         <description>
416 The URL of the resource to redirect to.
417         </description>
418         <name>url</name>
419         <required>false</required>
420         <rtexprvalue>true</rtexprvalue>
421     </attribute>
422     <attribute>
423         <description>
424 Name of the context when redirecting to a relative URL
425 resource that belongs to a foreign context.
426         </description>
427         <name>context</name>
428         <required>false</required>
429         <rtexprvalue>true</rtexprvalue>
430     </attribute>
431   </tag>
432
433   <tag>
434     <description>
435         Removes a scoped variable (from a particular scope, if specified).
436     </description>
437     <name>remove</name>
438     <tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
439     <body-content>empty</body-content>
440     <attribute>
441         <description>
442 Name of the scoped variable to be removed.
443         </description>
444         <name>var</name>
445         <required>true</required>
446         <rtexprvalue>false</rtexprvalue>
447     </attribute>
448     <attribute>
449         <description>
450 Scope for var.
451         </description>
452         <name>scope</name>
453         <required>false</required>
454         <rtexprvalue>false</rtexprvalue>
455     </attribute>
456   </tag>
457
458  <tag>
459     <description>
460         Sets the result of an expression evaluation in a 'scope'
461     </description>
462     <name>set</name>
463     <tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
464     <body-content>JSP</body-content>
465     <attribute>
466         <description>
467 Name of the exported scoped variable to hold the value
468 specified in the action. The type of the scoped variable is
469 whatever type the value expression evaluates to.
470         </description>
471         <name>var</name>
472         <required>false</required>
473         <rtexprvalue>false</rtexprvalue>
474     </attribute>
475     <attribute>
476         <description>
477 Expression to be evaluated.
478         </description>
479         <name>value</name>
480         <required>false</required>
481         <rtexprvalue>true</rtexprvalue>
482         <deferred-value>
483             <type>java.lang.Object</type>
484         </deferred-value>
485     </attribute>
486     <attribute>
487         <description>
488 Target object whose property will be set. Must evaluate to
489 a JavaBeans object with setter property property, or to a
490 java.util.Map object.
491         </description>
492         <name>target</name>
493         <required>false</required>
494         <rtexprvalue>true</rtexprvalue>
495     </attribute>
496     <attribute>
497         <description>
498 Name of the property to be set in the target object.
499         </description>
500         <name>property</name>
501         <required>false</required>
502         <rtexprvalue>true</rtexprvalue>
503     </attribute>
504     <attribute>
505         <description>
506 Scope for var.
507         </description>
508         <name>scope</name>
509         <required>false</required>
510         <rtexprvalue>false</rtexprvalue>
511     </attribute>
512   </tag>
513
514   <tag>
515     <description>
516         Creates a URL with optional query parameters.
517     </description>
518     <name>url</name>
519     <tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
520     <body-content>JSP</body-content>
521     <attribute>
522         <description>
523 Name of the exported scoped variable for the
524 processed url. The type of the scoped variable is
525 String.
526         </description>
527         <name>var</name>
528         <required>false</required>
529         <rtexprvalue>false</rtexprvalue>
530     </attribute>
531     <attribute>
532         <description>
533 Scope for var.
534         </description>
535         <name>scope</name>
536         <required>false</required>
537         <rtexprvalue>false</rtexprvalue>
538     </attribute>
539     <attribute>
540         <description>
541 URL to be processed.
542         </description>
543         <name>value</name>
544         <required>false</required>
545         <rtexprvalue>true</rtexprvalue>
546     </attribute>
547     <attribute>
548         <description>
549 Name of the context when specifying a relative URL
550 resource that belongs to a foreign context.
551         </description>
552         <name>context</name>
553         <required>false</required>
554         <rtexprvalue>true</rtexprvalue>
555     </attribute>
556   </tag>
557
558   <tag>
559     <description>
560         Subtag of &lt;choose&gt; that includes its body if its
561         condition evalutes to 'true'
562     </description>
563     <name>when</name>
564     <tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
565     <body-content>JSP</body-content>
566     <attribute>
567         <description>
568 The test condition that determines whether or not the
569 body content should be processed.
570         </description>
571         <name>test</name>
572         <required>true</required>
573         <rtexprvalue>true</rtexprvalue>
574         <type>boolean</type>
575     </attribute>
576   </tag>
577
578 </taglib>