c-1_0-rt.tld 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE taglib
  3. PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
  4. "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
  5. <taglib>
  6. <tlib-version>1.0</tlib-version>
  7. <jsp-version>1.2</jsp-version>
  8. <short-name>c_rt</short-name>
  9. <uri>http://java.sun.com/jstl/core_rt</uri>
  10. <display-name>JSTL core RT</display-name>
  11. <description>JSTL 1.0 core library</description>
  12. <validator>
  13. <validator-class>
  14. org.apache.taglibs.standard.tlv.JstlCoreTLV
  15. </validator-class>
  16. <description>
  17. Provides core validation features for JSTL tags.
  18. </description>
  19. </validator>
  20. <tag>
  21. <name>catch</name>
  22. <tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
  23. <body-content>JSP</body-content>
  24. <description>
  25. Catches any Throwable that occurs in its body and optionally
  26. exposes it.
  27. </description>
  28. <attribute>
  29. <name>var</name>
  30. <required>false</required>
  31. <rtexprvalue>false</rtexprvalue>
  32. </attribute>
  33. </tag>
  34. <tag>
  35. <name>choose</name>
  36. <tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
  37. <body-content>JSP</body-content>
  38. <description>
  39. Simple conditional tag that establishes a context for
  40. mutually exclusive conditional operations, marked by
  41. &lt;when&gt; and &lt;otherwise&gt;
  42. </description>
  43. </tag>
  44. <tag>
  45. <name>if</name>
  46. <tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
  47. <body-content>JSP</body-content>
  48. <description>
  49. Simple conditional tag, which evalutes its body if the
  50. supplied condition is true and optionally exposes a Boolean
  51. scripting variable representing the evaluation of this condition
  52. </description>
  53. <attribute>
  54. <name>test</name>
  55. <required>true</required>
  56. <rtexprvalue>true</rtexprvalue>
  57. <type>boolean</type>
  58. </attribute>
  59. <attribute>
  60. <name>var</name>
  61. <required>false</required>
  62. <rtexprvalue>false</rtexprvalue>
  63. </attribute>
  64. <attribute>
  65. <name>scope</name>
  66. <required>false</required>
  67. <rtexprvalue>false</rtexprvalue>
  68. </attribute>
  69. </tag>
  70. <tag>
  71. <name>import</name>
  72. <tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
  73. <tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
  74. <body-content>JSP</body-content>
  75. <description>
  76. Retrieves an absolute or relative URL and exposes its contents
  77. to either the page, a String in 'var', or a Reader in 'varReader'.
  78. </description>
  79. <attribute>
  80. <name>url</name>
  81. <required>true</required>
  82. <rtexprvalue>true</rtexprvalue>
  83. </attribute>
  84. <attribute>
  85. <name>var</name>
  86. <required>false</required>
  87. <rtexprvalue>false</rtexprvalue>
  88. </attribute>
  89. <attribute>
  90. <name>scope</name>
  91. <required>false</required>
  92. <rtexprvalue>false</rtexprvalue>
  93. </attribute>
  94. <attribute>
  95. <name>varReader</name>
  96. <required>false</required>
  97. <rtexprvalue>false</rtexprvalue>
  98. </attribute>
  99. <attribute>
  100. <name>context</name>
  101. <required>false</required>
  102. <rtexprvalue>true</rtexprvalue>
  103. </attribute>
  104. <attribute>
  105. <name>charEncoding</name>
  106. <required>false</required>
  107. <rtexprvalue>true</rtexprvalue>
  108. </attribute>
  109. </tag>
  110. <tag>
  111. <name>forEach</name>
  112. <tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
  113. <tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
  114. <body-content>JSP</body-content>
  115. <description>
  116. The basic iteration tag, accepting many different
  117. collection types and supporting subsetting and other
  118. functionality
  119. </description>
  120. <attribute>
  121. <name>items</name>
  122. <required>false</required>
  123. <rtexprvalue>true</rtexprvalue>
  124. <type>java.lang.Object</type>
  125. </attribute>
  126. <attribute>
  127. <name>begin</name>
  128. <required>false</required>
  129. <rtexprvalue>true</rtexprvalue>
  130. <type>int</type>
  131. </attribute>
  132. <attribute>
  133. <name>end</name>
  134. <required>false</required>
  135. <rtexprvalue>true</rtexprvalue>
  136. <type>int</type>
  137. </attribute>
  138. <attribute>
  139. <name>step</name>
  140. <required>false</required>
  141. <rtexprvalue>true</rtexprvalue>
  142. <type>int</type>
  143. </attribute>
  144. <attribute>
  145. <name>var</name>
  146. <required>false</required>
  147. <rtexprvalue>false</rtexprvalue>
  148. </attribute>
  149. <attribute>
  150. <name>varStatus</name>
  151. <required>false</required>
  152. <rtexprvalue>false</rtexprvalue>
  153. </attribute>
  154. </tag>
  155. <tag>
  156. <name>forTokens</name>
  157. <tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
  158. <body-content>JSP</body-content>
  159. <description>
  160. Iterates over tokens, separated by the supplied delimeters
  161. </description>
  162. <attribute>
  163. <name>items</name>
  164. <required>true</required>
  165. <rtexprvalue>true</rtexprvalue>
  166. <type>java.lang.String</type>
  167. </attribute>
  168. <attribute>
  169. <name>delims</name>
  170. <required>true</required>
  171. <rtexprvalue>true</rtexprvalue>
  172. <type>java.lang.String</type>
  173. </attribute>
  174. <attribute>
  175. <name>begin</name>
  176. <required>false</required>
  177. <rtexprvalue>true</rtexprvalue>
  178. <type>int</type>
  179. </attribute>
  180. <attribute>
  181. <name>end</name>
  182. <required>false</required>
  183. <rtexprvalue>true</rtexprvalue>
  184. <type>int</type>
  185. </attribute>
  186. <attribute>
  187. <name>step</name>
  188. <required>false</required>
  189. <rtexprvalue>true</rtexprvalue>
  190. <type>int</type>
  191. </attribute>
  192. <attribute>
  193. <name>var</name>
  194. <required>false</required>
  195. <rtexprvalue>false</rtexprvalue>
  196. </attribute>
  197. <attribute>
  198. <name>varStatus</name>
  199. <required>false</required>
  200. <rtexprvalue>false</rtexprvalue>
  201. </attribute>
  202. </tag>
  203. <tag>
  204. <name>out</name>
  205. <tag-class>org.apache.taglibs.standard.tag.rt.core.OutTag</tag-class>
  206. <body-content>JSP</body-content>
  207. <description>
  208. Like &lt;%= ... &gt;, but for expressions.
  209. </description>
  210. <attribute>
  211. <name>value</name>
  212. <required>true</required>
  213. <rtexprvalue>true</rtexprvalue>
  214. </attribute>
  215. <attribute>
  216. <name>default</name>
  217. <required>false</required>
  218. <rtexprvalue>true</rtexprvalue>
  219. </attribute>
  220. <attribute>
  221. <name>escapeXml</name>
  222. <required>false</required>
  223. <rtexprvalue>true</rtexprvalue>
  224. </attribute>
  225. </tag>
  226. <tag>
  227. <name>otherwise</name>
  228. <tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
  229. <body-content>JSP</body-content>
  230. <description>
  231. Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
  232. and runs only if all of the prior conditions evaluated to
  233. 'false'
  234. </description>
  235. </tag>
  236. <tag>
  237. <name>param</name>
  238. <tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
  239. <body-content>JSP</body-content>
  240. <description>
  241. Adds a parameter to a containing 'import' tag's URL.
  242. </description>
  243. <attribute>
  244. <name>name</name>
  245. <required>true</required>
  246. <rtexprvalue>true</rtexprvalue>
  247. </attribute>
  248. <attribute>
  249. <name>value</name>
  250. <required>false</required>
  251. <rtexprvalue>true</rtexprvalue>
  252. </attribute>
  253. </tag>
  254. <tag>
  255. <name>redirect</name>
  256. <tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
  257. <body-content>JSP</body-content>
  258. <description>
  259. Redirects to a new URL.
  260. </description>
  261. <attribute>
  262. <name>var</name>
  263. <required>false</required>
  264. <rtexprvalue>false</rtexprvalue>
  265. </attribute>
  266. <attribute>
  267. <name>scope</name>
  268. <required>false</required>
  269. <rtexprvalue>false</rtexprvalue>
  270. </attribute>
  271. <attribute>
  272. <name>url</name>
  273. <required>false</required>
  274. <rtexprvalue>true</rtexprvalue>
  275. </attribute>
  276. <attribute>
  277. <name>context</name>
  278. <required>false</required>
  279. <rtexprvalue>true</rtexprvalue>
  280. </attribute>
  281. </tag>
  282. <tag>
  283. <name>remove</name>
  284. <tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
  285. <body-content>empty</body-content>
  286. <description>
  287. Removes a scoped variable (from a particular scope, if specified).
  288. </description>
  289. <attribute>
  290. <name>var</name>
  291. <required>true</required>
  292. <rtexprvalue>false</rtexprvalue>
  293. </attribute>
  294. <attribute>
  295. <name>scope</name>
  296. <required>false</required>
  297. <rtexprvalue>false</rtexprvalue>
  298. </attribute>
  299. </tag>
  300. <tag>
  301. <name>set</name>
  302. <tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
  303. <body-content>JSP</body-content>
  304. <description>
  305. Sets the result of an expression evaluation in a 'scope'
  306. </description>
  307. <attribute>
  308. <name>var</name>
  309. <required>false</required>
  310. <rtexprvalue>false</rtexprvalue>
  311. </attribute>
  312. <attribute>
  313. <name>value</name>
  314. <required>false</required>
  315. <rtexprvalue>true</rtexprvalue>
  316. </attribute>
  317. <attribute>
  318. <name>target</name>
  319. <required>false</required>
  320. <rtexprvalue>true</rtexprvalue>
  321. </attribute>
  322. <attribute>
  323. <name>property</name>
  324. <required>false</required>
  325. <rtexprvalue>true</rtexprvalue>
  326. </attribute>
  327. <attribute>
  328. <name>scope</name>
  329. <required>false</required>
  330. <rtexprvalue>false</rtexprvalue>
  331. </attribute>
  332. </tag>
  333. <tag>
  334. <name>url</name>
  335. <tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
  336. <body-content>JSP</body-content>
  337. <description>
  338. Creates a URL with optional query parameters.
  339. </description>
  340. <attribute>
  341. <name>var</name>
  342. <required>false</required>
  343. <rtexprvalue>false</rtexprvalue>
  344. </attribute>
  345. <attribute>
  346. <name>scope</name>
  347. <required>false</required>
  348. <rtexprvalue>false</rtexprvalue>
  349. </attribute>
  350. <attribute>
  351. <name>value</name>
  352. <required>false</required>
  353. <rtexprvalue>true</rtexprvalue>
  354. </attribute>
  355. <attribute>
  356. <name>context</name>
  357. <required>false</required>
  358. <rtexprvalue>true</rtexprvalue>
  359. </attribute>
  360. </tag>
  361. <tag>
  362. <name>when</name>
  363. <tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
  364. <body-content>JSP</body-content>
  365. <description>
  366. Subtag of &lt;choose&gt; that includes its body if its
  367. condition evalutes to 'true'
  368. </description>
  369. <attribute>
  370. <name>test</name>
  371. <required>true</required>
  372. <rtexprvalue>true</rtexprvalue>
  373. <type>boolean</type>
  374. </attribute>
  375. </tag>
  376. </taglib>