spring.tld 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  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.0</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. </description>
  16. <attribute>
  17. <name>defaultHtmlEscape</name>
  18. <required>true</required>
  19. <rtexprvalue>true</rtexprvalue>
  20. </attribute>
  21. </tag>
  22. <tag>
  23. <name>message</name>
  24. <tag-class>org.springframework.web.servlet.tags.MessageTag</tag-class>
  25. <body-content>JSP</body-content>
  26. <description>
  27. Retrieves the message with the given code, or text if code isn't resolvable.
  28. </description>
  29. <attribute>
  30. <name>code</name>
  31. <required>false</required>
  32. <rtexprvalue>true</rtexprvalue>
  33. </attribute>
  34. <attribute>
  35. <name>text</name>
  36. <required>false</required>
  37. <rtexprvalue>true</rtexprvalue>
  38. </attribute>
  39. <attribute>
  40. <name>htmlEscape</name>
  41. <required>false</required>
  42. <rtexprvalue>true</rtexprvalue>
  43. </attribute>
  44. </tag>
  45. <tag>
  46. <name>theme</name>
  47. <tag-class>org.springframework.web.servlet.tags.ThemeTag</tag-class>
  48. <body-content>JSP</body-content>
  49. <description>
  50. Retrieves the theme message with the given code, or text if code isn't resolvable.
  51. </description>
  52. <attribute>
  53. <name>code</name>
  54. <required>false</required>
  55. <rtexprvalue>true</rtexprvalue>
  56. </attribute>
  57. <attribute>
  58. <name>text</name>
  59. <required>false</required>
  60. <rtexprvalue>true</rtexprvalue>
  61. </attribute>
  62. <attribute>
  63. <name>htmlEscape</name>
  64. <required>false</required>
  65. <rtexprvalue>true</rtexprvalue>
  66. </attribute>
  67. </tag>
  68. <tag>
  69. <name>hasBindErrors</name>
  70. <tag-class>org.springframework.web.servlet.tags.BindErrorsTag</tag-class>
  71. <body-content>JSP</body-content>
  72. <description>
  73. Provides Errors instance in case of bind errors.
  74. </description>
  75. <!-- Note: Was "Integer count" in earlier version -->
  76. <variable>
  77. <name-given>errors</name-given>
  78. <variable-class>org.springframework.validation.Errors</variable-class>
  79. </variable>
  80. <!-- Note: Now one Errors instance per bind object -> name of object needed -->
  81. <attribute>
  82. <name>name</name>
  83. <required>true</required>
  84. <rtexprvalue>true</rtexprvalue>
  85. </attribute>
  86. <attribute>
  87. <name>htmlEscape</name>
  88. <required>false</required>
  89. <rtexprvalue>true</rtexprvalue>
  90. </attribute>
  91. </tag>
  92. <tag>
  93. <name>bind</name>
  94. <tag-class>org.springframework.web.servlet.tags.BindTag</tag-class>
  95. <body-content>JSP</body-content>
  96. <description>
  97. Provides BindStatus instance for certain bind path.
  98. </description>
  99. <!-- Note: Was "bind" in earlier version -->
  100. <variable>
  101. <name-given>status</name-given>
  102. <variable-class>org.springframework.web.servlet.tags.BindStatus</variable-class>
  103. </variable>
  104. <!-- Note: Was "value" in earlier version -->
  105. <attribute>
  106. <name>path</name>
  107. <required>true</required>
  108. <rtexprvalue>true</rtexprvalue>
  109. </attribute>
  110. <attribute>
  111. <name>htmlEscape</name>
  112. <required>false</required>
  113. <rtexprvalue>true</rtexprvalue>
  114. </attribute>
  115. </tag>
  116. <tag>
  117. <name>transform</name>
  118. <tag-class>org.springframework.web.servlet.tags.TransformTag</tag-class>
  119. <body-content>JSP</body-content>
  120. <description>
  121. Provides transformation of variables to Strings using appropriate
  122. Custom Editor from BindTag (can only be used inside BindTag)
  123. </description>
  124. <attribute>
  125. <name>value</name>
  126. <required>true</required>
  127. <rtexprvalue>true</rtexprvalue>
  128. </attribute>
  129. <attribute>
  130. <name>var</name>
  131. <required>false</required>
  132. <rtexprvalue>true</rtexprvalue>
  133. </attribute>
  134. <attribute>
  135. <name>scope</name>
  136. <required>false</required>
  137. <rtexprvalue>true</rtexprvalue>
  138. </attribute>
  139. <attribute>
  140. <name>htmlEscape</name>
  141. <required>false</required>
  142. <rtexprvalue>true</rtexprvalue>
  143. </attribute>
  144. </tag>
  145. </taglib>