source: trunk/web-app/WEB-INF/tld/c.tld @ 2

Last change on this file since 2 was 2, checked in by robert@…, 8 years ago

Initial import of basic functionality

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