spring.tld 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. <?xml version="1.0" encoding="ISO-8859-1" ?>
  2. <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
  3. <taglib>
  4. <tlib-version>1.1.2</tlib-version>
  5. <jsp-version>1.2</jsp-version>
  6. <short-name>Spring</short-name>
  7. <uri>http://www.springframework.org/tags</uri>
  8. <description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description>
  9. <tag>
  10. <name>htmlEscape</name>
  11. <tag-class>org.springframework.web.servlet.tags.HtmlEscapeTag</tag-class>
  12. <body-content>JSP</body-content>
  13. <description>
  14. Sets default HTML escape value for the current page.
  15. Overrides a "defaultHtmlEscape" context-param in web.xml, if any.
  16. </description>
  17. <attribute>
  18. <name>defaultHtmlEscape</name>
  19. <required>true</required>
  20. <rtexprvalue>true</rtexprvalue>
  21. </attribute>
  22. </tag>
  23. <tag>
  24. <name>escapeBody</name>
  25. <tag-class>org.springframework.web.servlet.tags.EscapeBodyTag</tag-class>
  26. <body-content>JSP</body-content>
  27. <description>
  28. Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping.
  29. The HTML escaping flag participates in a page-wide or application-wide setting
  30. (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
  31. </description>
  32. <attribute>
  33. <name>htmlEscape</name>
  34. <required>false</required>
  35. <rtexprvalue>true</rtexprvalue>
  36. </attribute>
  37. <attribute>
  38. <name>javaScriptEscape</name>
  39. <required>false</required>
  40. <rtexprvalue>true</rtexprvalue>
  41. </attribute>
  42. </tag>
  43. <tag>
  44. <name>message</name>
  45. <tag-class>org.springframework.web.servlet.tags.MessageTag</tag-class>
  46. <body-content>JSP</body-content>
  47. <description>
  48. Retrieves the message with the given code, or text if code isn't resolvable.
  49. The HTML escaping flag participates in a page-wide or application-wide setting
  50. (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
  51. </description>
  52. <attribute>
  53. <name>message</name>
  54. <required>false</required>
  55. <rtexprvalue>true</rtexprvalue>
  56. </attribute>
  57. <attribute>
  58. <name>code</name>
  59. <required>false</required>
  60. <rtexprvalue>true</rtexprvalue>
  61. </attribute>
  62. <attribute>
  63. <name>arguments</name>
  64. <required>false</required>
  65. <rtexprvalue>true</rtexprvalue>
  66. </attribute>
  67. <attribute>
  68. <name>argumentSeparator</name>
  69. <required>false</required>
  70. <rtexprvalue>true</rtexprvalue>
  71. </attribute>
  72. <attribute>
  73. <name>text</name>
  74. <required>false</required>
  75. <rtexprvalue>true</rtexprvalue>
  76. </attribute>
  77. <attribute>
  78. <name>var</name>
  79. <required>false</required>
  80. <rtexprvalue>true</rtexprvalue>
  81. </attribute>
  82. <attribute>
  83. <name>scope</name>
  84. <required>false</required>
  85. <rtexprvalue>true</rtexprvalue>
  86. </attribute>
  87. <attribute>
  88. <name>htmlEscape</name>
  89. <required>false</required>
  90. <rtexprvalue>true</rtexprvalue>
  91. </attribute>
  92. <attribute>
  93. <name>javaScriptEscape</name>
  94. <required>false</required>
  95. <rtexprvalue>true</rtexprvalue>
  96. </attribute>
  97. </tag>
  98. <tag>
  99. <name>theme</name>
  100. <tag-class>org.springframework.web.servlet.tags.ThemeTag</tag-class>
  101. <body-content>JSP</body-content>
  102. <description>
  103. Retrieves the theme message with the given code, or text if code isn't resolvable.
  104. The HTML escaping flag participates in a page-wide or application-wide setting
  105. (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
  106. </description>
  107. <attribute>
  108. <name>code</name>
  109. <required>false</required>
  110. <rtexprvalue>true</rtexprvalue>
  111. </attribute>
  112. <attribute>
  113. <name>arguments</name>
  114. <required>false</required>
  115. <rtexprvalue>true</rtexprvalue>
  116. </attribute>
  117. <attribute>
  118. <name>text</name>
  119. <required>false</required>
  120. <rtexprvalue>true</rtexprvalue>
  121. </attribute>
  122. <attribute>
  123. <name>var</name>
  124. <required>false</required>
  125. <rtexprvalue>true</rtexprvalue>
  126. </attribute>
  127. <attribute>
  128. <name>scope</name>
  129. <required>false</required>
  130. <rtexprvalue>true</rtexprvalue>
  131. </attribute>
  132. <attribute>
  133. <name>htmlEscape</name>
  134. <required>false</required>
  135. <rtexprvalue>true</rtexprvalue>
  136. </attribute>
  137. <attribute>
  138. <name>javaScriptEscape</name>
  139. <required>false</required>
  140. <rtexprvalue>true</rtexprvalue>
  141. </attribute>
  142. </tag>
  143. <tag>
  144. <name>hasBindErrors</name>
  145. <tag-class>org.springframework.web.servlet.tags.BindErrorsTag</tag-class>
  146. <body-content>JSP</body-content>
  147. <description>
  148. Provides Errors instance in case of bind errors.
  149. The HTML escaping flag participates in a page-wide or application-wide setting
  150. (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
  151. </description>
  152. <variable>
  153. <name-given>errors</name-given>
  154. <variable-class>org.springframework.validation.Errors</variable-class>
  155. </variable>
  156. <attribute>
  157. <name>name</name>
  158. <required>true</required>
  159. <rtexprvalue>true</rtexprvalue>
  160. </attribute>
  161. <attribute>
  162. <name>htmlEscape</name>
  163. <required>false</required>
  164. <rtexprvalue>true</rtexprvalue>
  165. </attribute>
  166. </tag>
  167. <tag>
  168. <name>nestedPath</name>
  169. <tag-class>org.springframework.web.servlet.tags.NestedPathTag</tag-class>
  170. <body-content>JSP</body-content>
  171. <description>
  172. Sets a nested path to be used by the bind tag's path.
  173. </description>
  174. <variable>
  175. <name-given>nestedPath</name-given>
  176. <variable-class>java.lang.String</variable-class>
  177. </variable>
  178. <attribute>
  179. <name>path</name>
  180. <required>true</required>
  181. <rtexprvalue>true</rtexprvalue>
  182. </attribute>
  183. </tag>
  184. <tag>
  185. <name>bind</name>
  186. <tag-class>org.springframework.web.servlet.tags.BindTag</tag-class>
  187. <body-content>JSP</body-content>
  188. <description>
  189. Provides BindStatus object for the given bind path.
  190. The HTML escaping flag participates in a page-wide or application-wide setting
  191. (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
  192. </description>
  193. <variable>
  194. <name-given>status</name-given>
  195. <variable-class>org.springframework.web.servlet.support.BindStatus</variable-class>
  196. </variable>
  197. <attribute>
  198. <name>path</name>
  199. <required>true</required>
  200. <rtexprvalue>true</rtexprvalue>
  201. </attribute>
  202. <attribute>
  203. <name>ignoreNestedPath</name>
  204. <required>false</required>
  205. <rtexprvalue>true</rtexprvalue>
  206. </attribute>
  207. <attribute>
  208. <name>htmlEscape</name>
  209. <required>false</required>
  210. <rtexprvalue>true</rtexprvalue>
  211. </attribute>
  212. </tag>
  213. <tag>
  214. <name>transform</name>
  215. <tag-class>org.springframework.web.servlet.tags.TransformTag</tag-class>
  216. <body-content>JSP</body-content>
  217. <description>
  218. Provides transformation of variables to Strings, using an appropriate
  219. custom PropertyEditor from BindTag (can only be used inside BindTag).
  220. The HTML escaping flag participates in a page-wide or application-wide setting
  221. (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
  222. </description>
  223. <attribute>
  224. <name>value</name>
  225. <required>true</required>
  226. <rtexprvalue>true</rtexprvalue>
  227. </attribute>
  228. <attribute>
  229. <name>var</name>
  230. <required>false</required>
  231. <rtexprvalue>true</rtexprvalue>
  232. </attribute>
  233. <attribute>
  234. <name>scope</name>
  235. <required>false</required>
  236. <rtexprvalue>true</rtexprvalue>
  237. </attribute>
  238. <attribute>
  239. <name>htmlEscape</name>
  240. <required>false</required>
  241. <rtexprvalue>true</rtexprvalue>
  242. </attribute>
  243. </tag>
  244. </taglib>