root / hci / trunk / eneraptor-web-app / web-app / WEB-INF / tld / spring.tld @ 2
History | View | Annotate | Download (7.07 KB)
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 |
|
4 |
<taglib> |
5 |
|
6 |
<tlib-version>1.1.1</tlib-version> |
7 |
|
8 |
<jsp-version>1.2</jsp-version> |
9 |
|
10 |
<short-name>Spring</short-name> |
11 |
|
12 |
<uri>http://www.springframework.org/tags</uri> |
13 |
|
14 |
<description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description> |
15 |
|
16 |
|
17 |
<tag> |
18 |
|
19 |
<name>htmlEscape</name> |
20 |
<tag-class>org.springframework.web.servlet.tags.HtmlEscapeTag</tag-class> |
21 |
<body-content>JSP</body-content> |
22 |
|
23 |
<description> |
24 |
Sets default HTML escape value for the current page. |
25 |
Overrides a "defaultHtmlEscape" context-param in web.xml, if any. |
26 |
</description> |
27 |
|
28 |
<attribute> |
29 |
<name>defaultHtmlEscape</name> |
30 |
<required>true</required> |
31 |
<rtexprvalue>true</rtexprvalue> |
32 |
</attribute> |
33 |
|
34 |
</tag> |
35 |
|
36 |
|
37 |
<tag> |
38 |
|
39 |
<name>escapeBody</name> |
40 |
<tag-class>org.springframework.web.servlet.tags.EscapeBodyTag</tag-class> |
41 |
<body-content>JSP</body-content> |
42 |
|
43 |
<description> |
44 |
Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping. |
45 |
The HTML escaping flag participates in a page-wide or application-wide setting |
46 |
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). |
47 |
</description> |
48 |
|
49 |
<attribute> |
50 |
<name>htmlEscape</name> |
51 |
<required>false</required> |
52 |
<rtexprvalue>true</rtexprvalue> |
53 |
</attribute> |
54 |
|
55 |
<attribute> |
56 |
<name>javaScriptEscape</name> |
57 |
<required>false</required> |
58 |
<rtexprvalue>true</rtexprvalue> |
59 |
</attribute> |
60 |
|
61 |
</tag> |
62 |
|
63 |
|
64 |
<tag> |
65 |
|
66 |
<name>message</name> |
67 |
<tag-class>org.springframework.web.servlet.tags.MessageTag</tag-class> |
68 |
<body-content>JSP</body-content> |
69 |
|
70 |
<description> |
71 |
Retrieves the message with the given code, or text if code isn't resolvable. |
72 |
The HTML escaping flag participates in a page-wide or application-wide setting |
73 |
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). |
74 |
</description> |
75 |
|
76 |
<attribute> |
77 |
<name>code</name> |
78 |
<required>false</required> |
79 |
<rtexprvalue>true</rtexprvalue> |
80 |
</attribute> |
81 |
|
82 |
<attribute> |
83 |
<name>arguments</name> |
84 |
<required>false</required> |
85 |
<rtexprvalue>true</rtexprvalue> |
86 |
</attribute> |
87 |
|
88 |
<attribute> |
89 |
<name>text</name> |
90 |
<required>false</required> |
91 |
<rtexprvalue>true</rtexprvalue> |
92 |
</attribute> |
93 |
|
94 |
<attribute> |
95 |
<name>var</name> |
96 |
<required>false</required> |
97 |
<rtexprvalue>true</rtexprvalue> |
98 |
</attribute> |
99 |
|
100 |
<attribute> |
101 |
<name>scope</name> |
102 |
<required>false</required> |
103 |
<rtexprvalue>true</rtexprvalue> |
104 |
</attribute> |
105 |
|
106 |
<attribute> |
107 |
<name>htmlEscape</name> |
108 |
<required>false</required> |
109 |
<rtexprvalue>true</rtexprvalue> |
110 |
</attribute> |
111 |
|
112 |
<attribute> |
113 |
<name>javaScriptEscape</name> |
114 |
<required>false</required> |
115 |
<rtexprvalue>true</rtexprvalue> |
116 |
</attribute> |
117 |
|
118 |
</tag> |
119 |
|
120 |
|
121 |
<tag> |
122 |
|
123 |
<name>theme</name> |
124 |
<tag-class>org.springframework.web.servlet.tags.ThemeTag</tag-class> |
125 |
<body-content>JSP</body-content> |
126 |
|
127 |
<description> |
128 |
Retrieves the theme message with the given code, or text if code isn't resolvable. |
129 |
The HTML escaping flag participates in a page-wide or application-wide setting |
130 |
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). |
131 |
</description> |
132 |
|
133 |
<attribute> |
134 |
<name>code</name> |
135 |
<required>false</required> |
136 |
<rtexprvalue>true</rtexprvalue> |
137 |
</attribute> |
138 |
|
139 |
<attribute> |
140 |
<name>arguments</name> |
141 |
<required>false</required> |
142 |
<rtexprvalue>true</rtexprvalue> |
143 |
</attribute> |
144 |
|
145 |
<attribute> |
146 |
<name>text</name> |
147 |
<required>false</required> |
148 |
<rtexprvalue>true</rtexprvalue> |
149 |
</attribute> |
150 |
|
151 |
<attribute> |
152 |
<name>var</name> |
153 |
<required>false</required> |
154 |
<rtexprvalue>true</rtexprvalue> |
155 |
</attribute> |
156 |
|
157 |
<attribute> |
158 |
<name>scope</name> |
159 |
<required>false</required> |
160 |
<rtexprvalue>true</rtexprvalue> |
161 |
</attribute> |
162 |
|
163 |
<attribute> |
164 |
<name>htmlEscape</name> |
165 |
<required>false</required> |
166 |
<rtexprvalue>true</rtexprvalue> |
167 |
</attribute> |
168 |
|
169 |
<attribute> |
170 |
<name>javaScriptEscape</name> |
171 |
<required>false</required> |
172 |
<rtexprvalue>true</rtexprvalue> |
173 |
</attribute> |
174 |
|
175 |
</tag> |
176 |
|
177 |
|
178 |
<tag> |
179 |
|
180 |
<name>hasBindErrors</name> |
181 |
<tag-class>org.springframework.web.servlet.tags.BindErrorsTag</tag-class> |
182 |
<body-content>JSP</body-content> |
183 |
|
184 |
<description> |
185 |
Provides Errors instance in case of bind errors. |
186 |
The HTML escaping flag participates in a page-wide or application-wide setting |
187 |
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). |
188 |
</description> |
189 |
|
190 |
<variable> |
191 |
<name-given>errors</name-given> |
192 |
<variable-class>org.springframework.validation.Errors</variable-class> |
193 |
</variable> |
194 |
|
195 |
<attribute> |
196 |
<name>name</name> |
197 |
<required>true</required> |
198 |
<rtexprvalue>true</rtexprvalue> |
199 |
</attribute> |
200 |
|
201 |
<attribute> |
202 |
<name>htmlEscape</name> |
203 |
<required>false</required> |
204 |
<rtexprvalue>true</rtexprvalue> |
205 |
</attribute> |
206 |
|
207 |
</tag> |
208 |
|
209 |
|
210 |
<tag> |
211 |
|
212 |
<name>nestedPath</name> |
213 |
<tag-class>org.springframework.web.servlet.tags.NestedPathTag</tag-class> |
214 |
<body-content>JSP</body-content> |
215 |
|
216 |
<description> |
217 |
Sets a nested path to be used by the bind tag's path. |
218 |
</description> |
219 |
|
220 |
<variable> |
221 |
<name-given>nestedPath</name-given> |
222 |
<variable-class>java.lang.String</variable-class> |
223 |
</variable> |
224 |
|
225 |
<attribute> |
226 |
<name>path</name> |
227 |
<required>true</required> |
228 |
<rtexprvalue>true</rtexprvalue> |
229 |
</attribute> |
230 |
|
231 |
</tag> |
232 |
|
233 |
|
234 |
<tag> |
235 |
|
236 |
<name>bind</name> |
237 |
<tag-class>org.springframework.web.servlet.tags.BindTag</tag-class> |
238 |
<body-content>JSP</body-content> |
239 |
|
240 |
<description> |
241 |
Provides BindStatus object for the given bind path. |
242 |
The HTML escaping flag participates in a page-wide or application-wide setting |
243 |
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). |
244 |
</description> |
245 |
|
246 |
<variable> |
247 |
<name-given>status</name-given> |
248 |
<variable-class>org.springframework.web.servlet.support.BindStatus</variable-class> |
249 |
</variable> |
250 |
|
251 |
<attribute> |
252 |
<name>path</name> |
253 |
<required>true</required> |
254 |
<rtexprvalue>true</rtexprvalue> |
255 |
</attribute> |
256 |
|
257 |
<attribute> |
258 |
<name>ignoreNestedPath</name> |
259 |
<required>false</required> |
260 |
<rtexprvalue>true</rtexprvalue> |
261 |
</attribute> |
262 |
|
263 |
<attribute> |
264 |
<name>htmlEscape</name> |
265 |
<required>false</required> |
266 |
<rtexprvalue>true</rtexprvalue> |
267 |
</attribute> |
268 |
|
269 |
</tag> |
270 |
|
271 |
|
272 |
<tag> |
273 |
|
274 |
<name>transform</name> |
275 |
<tag-class>org.springframework.web.servlet.tags.TransformTag</tag-class> |
276 |
<body-content>JSP</body-content> |
277 |
|
278 |
<description> |
279 |
Provides transformation of variables to Strings, using an appropriate |
280 |
custom PropertyEditor from BindTag (can only be used inside BindTag). |
281 |
The HTML escaping flag participates in a page-wide or application-wide setting |
282 |
(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml). |
283 |
</description> |
284 |
|
285 |
<attribute> |
286 |
<name>value</name> |
287 |
<required>true</required> |
288 |
<rtexprvalue>true</rtexprvalue> |
289 |
</attribute> |
290 |
|
291 |
<attribute> |
292 |
<name>var</name> |
293 |
<required>false</required> |
294 |
<rtexprvalue>true</rtexprvalue> |
295 |
</attribute> |
296 |
|
297 |
<attribute> |
298 |
<name>scope</name> |
299 |
<required>false</required> |
300 |
<rtexprvalue>true</rtexprvalue> |
301 |
</attribute> |
302 |
|
303 |
<attribute> |
304 |
<name>htmlEscape</name> |
305 |
<required>false</required> |
306 |
<rtexprvalue>true</rtexprvalue> |
307 |
</attribute> |
308 |
|
309 |
</tag> |
310 |
|
311 |
</taglib> |