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