[66] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd"> |
---|
| 9 | <taglib> |
---|
| 10 | <tlibversion>1.0</tlibversion> |
---|
| 11 | <jspversion>1.1</jspversion> |
---|
| 12 | <shortname>i18n</shortname> |
---|
| 13 | <uri>http://jakarta.apache.org/taglibs/i18n-1.0</uri> |
---|
| 14 | <info> |
---|
| 15 | The i18n custom tag library contains tags that help manage the complexity of creating internationalized web applications. These tags provide similar (though not identical) functionality to the internationalization available in the struts framework, but do not require adopting the entire struts framework. |
---|
| 16 | |
---|
| 17 | "i18n" is a common abbreviation for internationalization, because there are 18 |
---|
| 18 | letters between the first "i" and the last "n". |
---|
| 19 | |
---|
| 20 | For more information on internationalization with Java, the java.sun.com site |
---|
| 21 | contains a good |
---|
| 22 | tutorial written by Dale Green. |
---|
| 23 | </info> |
---|
| 24 | <tag> |
---|
| 25 | <name>bundle</name> |
---|
| 26 | <tagclass>org.apache.taglibs.i18n.BundleTag</tagclass> |
---|
| 27 | <teiclass>org.apache.taglibs.i18n.BundleTEI</teiclass> |
---|
| 28 | <bodycontent>JSP</bodycontent> |
---|
| 29 | <attribute> |
---|
| 30 | <name>id</name> |
---|
| 31 | <required>false</required> |
---|
| 32 | <rtexprvalue>true</rtexprvalue> |
---|
| 33 | </attribute> |
---|
| 34 | <attribute> |
---|
| 35 | <name>baseName</name> |
---|
| 36 | <required>true</required> |
---|
| 37 | <rtexprvalue>true</rtexprvalue> |
---|
| 38 | </attribute> |
---|
| 39 | <attribute> |
---|
| 40 | <name>changeResponseLocale</name> |
---|
| 41 | <required>false</required> |
---|
| 42 | <rtexprvalue>false</rtexprvalue> |
---|
| 43 | </attribute> |
---|
| 44 | <attribute> |
---|
| 45 | <name>scope</name> |
---|
| 46 | <required>false</required> |
---|
| 47 | <rtexprvalue>false</rtexprvalue> |
---|
| 48 | </attribute> |
---|
| 49 | <attribute> |
---|
| 50 | <name>locale</name> |
---|
| 51 | <required>false</required> |
---|
| 52 | <rtexprvalue>true</rtexprvalue> |
---|
| 53 | </attribute> |
---|
| 54 | <attribute> |
---|
| 55 | <name>localeAttribute</name> |
---|
| 56 | <required>false</required> |
---|
| 57 | <rtexprvalue>true</rtexprvalue> |
---|
| 58 | </attribute> |
---|
| 59 | <attribute> |
---|
| 60 | <name>localeRef</name> |
---|
| 61 | <required>false</required> |
---|
| 62 | <rtexprvalue>true</rtexprvalue> |
---|
| 63 | </attribute> |
---|
| 64 | <attribute> |
---|
| 65 | <name>debug</name> |
---|
| 66 | <required>false</required> |
---|
| 67 | <rtexprvalue>true</rtexprvalue> |
---|
| 68 | </attribute> |
---|
| 69 | </tag> |
---|
| 70 | <tag> |
---|
| 71 | <name>message</name> |
---|
| 72 | <tagclass>org.apache.taglibs.i18n.MessageTag</tagclass> |
---|
| 73 | <teiclass>org.apache.taglibs.i18n.MessageTEI</teiclass> |
---|
| 74 | <bodycontent>JSP</bodycontent> |
---|
| 75 | <attribute> |
---|
| 76 | <name>id</name> |
---|
| 77 | <required>false</required> |
---|
| 78 | <rtexprvalue>true</rtexprvalue> |
---|
| 79 | </attribute> |
---|
| 80 | <attribute> |
---|
| 81 | <name>key</name> |
---|
| 82 | <required>true</required> |
---|
| 83 | <rtexprvalue>true</rtexprvalue> |
---|
| 84 | </attribute> |
---|
| 85 | <attribute> |
---|
| 86 | <name>args</name> |
---|
| 87 | <required>false</required> |
---|
| 88 | <rtexprvalue>true</rtexprvalue> |
---|
| 89 | </attribute> |
---|
| 90 | <attribute> |
---|
| 91 | <name>bundle</name> |
---|
| 92 | <required>false</required> |
---|
| 93 | <rtexprvalue>true</rtexprvalue> |
---|
| 94 | </attribute> |
---|
| 95 | <attribute> |
---|
| 96 | <name>bundleRef</name> |
---|
| 97 | <required>false</required> |
---|
| 98 | <rtexprvalue>true</rtexprvalue> |
---|
| 99 | </attribute> |
---|
| 100 | <attribute> |
---|
| 101 | <name>debug</name> |
---|
| 102 | <required>false</required> |
---|
| 103 | <rtexprvalue>true</rtexprvalue> |
---|
| 104 | </attribute> |
---|
| 105 | </tag> |
---|
| 106 | <tag> |
---|
| 107 | <name>messageArg</name> |
---|
| 108 | <tagclass>org.apache.taglibs.i18n.MessageArgumentTag</tagclass> |
---|
| 109 | <bodycontent>empty</bodycontent> |
---|
| 110 | <attribute> |
---|
| 111 | <name>value</name> |
---|
| 112 | <required>true</required> |
---|
| 113 | <rtexprvalue>true</rtexprvalue> |
---|
| 114 | </attribute> |
---|
| 115 | </tag> |
---|
| 116 | <tag> |
---|
| 117 | <name>ifdef</name> |
---|
| 118 | <tagclass>org.apache.taglibs.i18n.IfdefTag</tagclass> |
---|
| 119 | <bodycontent>JSP</bodycontent> |
---|
| 120 | <attribute> |
---|
| 121 | <name>key</name> |
---|
| 122 | <required>true</required> |
---|
| 123 | <rtexprvalue>true</rtexprvalue> |
---|
| 124 | </attribute> |
---|
| 125 | <attribute> |
---|
| 126 | <name>bundle</name> |
---|
| 127 | <required>false</required> |
---|
| 128 | <rtexprvalue>true</rtexprvalue> |
---|
| 129 | </attribute> |
---|
| 130 | <attribute> |
---|
| 131 | <name>bundleRef</name> |
---|
| 132 | <required>false</required> |
---|
| 133 | <rtexprvalue>true</rtexprvalue> |
---|
| 134 | </attribute> |
---|
| 135 | </tag> |
---|
| 136 | <tag> |
---|
| 137 | <name>ifndef</name> |
---|
| 138 | <tagclass>org.apache.taglibs.i18n.IfndefTag</tagclass> |
---|
| 139 | <bodycontent>JSP</bodycontent> |
---|
| 140 | <attribute> |
---|
| 141 | <name>key</name> |
---|
| 142 | <required>true</required> |
---|
| 143 | <rtexprvalue>true</rtexprvalue> |
---|
| 144 | </attribute> |
---|
| 145 | <attribute> |
---|
| 146 | <name>bundle</name> |
---|
| 147 | <required>false</required> |
---|
| 148 | <rtexprvalue>true</rtexprvalue> |
---|
| 149 | </attribute> |
---|
| 150 | <attribute> |
---|
| 151 | <name>bundleRef</name> |
---|
| 152 | <required>false</required> |
---|
| 153 | <rtexprvalue>true</rtexprvalue> |
---|
| 154 | </attribute> |
---|
| 155 | </tag> |
---|
| 156 | <tag> |
---|
| 157 | <name>locale</name> |
---|
| 158 | <tagclass>org.apache.taglibs.i18n.LocaleTag</tagclass> |
---|
| 159 | <teiclass>org.apache.taglibs.i18n.LocaleTEI</teiclass> |
---|
| 160 | <bodycontent>JSP</bodycontent> |
---|
| 161 | <attribute> |
---|
| 162 | <name>id</name> |
---|
| 163 | <required>false</required> |
---|
| 164 | <rtexprvalue>true</rtexprvalue> |
---|
| 165 | </attribute> |
---|
| 166 | <attribute> |
---|
| 167 | <name>locale</name> |
---|
| 168 | <required>false</required> |
---|
| 169 | <rtexprvalue>true</rtexprvalue> |
---|
| 170 | </attribute> |
---|
| 171 | <attribute> |
---|
| 172 | <name>localeRef</name> |
---|
| 173 | <required>false</required> |
---|
| 174 | <rtexprvalue>true</rtexprvalue> |
---|
| 175 | </attribute> |
---|
| 176 | <attribute> |
---|
| 177 | <name>language</name> |
---|
| 178 | <required>false</required> |
---|
| 179 | <rtexprvalue>true</rtexprvalue> |
---|
| 180 | </attribute> |
---|
| 181 | <attribute> |
---|
| 182 | <name>country</name> |
---|
| 183 | <required>false</required> |
---|
| 184 | <rtexprvalue>true</rtexprvalue> |
---|
| 185 | </attribute> |
---|
| 186 | <attribute> |
---|
| 187 | <name>variant</name> |
---|
| 188 | <required>false</required> |
---|
| 189 | <rtexprvalue>true</rtexprvalue> |
---|
| 190 | </attribute> |
---|
| 191 | </tag> |
---|
| 192 | <tag> |
---|
| 193 | <name>formatString</name> |
---|
| 194 | <tagclass>org.apache.taglibs.i18n.FormatStringTag</tagclass> |
---|
| 195 | <teiclass>org.apache.taglibs.i18n.FormatStringTEI</teiclass> |
---|
| 196 | <bodycontent>JSP</bodycontent> |
---|
| 197 | <attribute> |
---|
| 198 | <name>id</name> |
---|
| 199 | <required>false</required> |
---|
| 200 | <rtexprvalue>true</rtexprvalue> |
---|
| 201 | </attribute> |
---|
| 202 | <attribute> |
---|
| 203 | <name>value</name> |
---|
| 204 | <required>true</required> |
---|
| 205 | <rtexprvalue>true</rtexprvalue> |
---|
| 206 | </attribute> |
---|
| 207 | <attribute> |
---|
| 208 | <name>defaultText</name> |
---|
| 209 | <required>false</required> |
---|
| 210 | <rtexprvalue>true</rtexprvalue> |
---|
| 211 | </attribute> |
---|
| 212 | </tag> |
---|
| 213 | <tag> |
---|
| 214 | <name>formatNumber</name> |
---|
| 215 | <tagclass>org.apache.taglibs.i18n.FormatNumberTag</tagclass> |
---|
| 216 | <teiclass>org.apache.taglibs.i18n.FormatNumberTEI</teiclass> |
---|
| 217 | <bodycontent>JSP</bodycontent> |
---|
| 218 | <attribute> |
---|
| 219 | <name>id</name> |
---|
| 220 | <required>false</required> |
---|
| 221 | <rtexprvalue>true</rtexprvalue> |
---|
| 222 | </attribute> |
---|
| 223 | <attribute> |
---|
| 224 | <name>value</name> |
---|
| 225 | <required>true</required> |
---|
| 226 | <rtexprvalue>true</rtexprvalue> |
---|
| 227 | </attribute> |
---|
| 228 | <attribute> |
---|
| 229 | <name>pattern</name> |
---|
| 230 | <required>false</required> |
---|
| 231 | <rtexprvalue>true</rtexprvalue> |
---|
| 232 | </attribute> |
---|
| 233 | <attribute> |
---|
| 234 | <name>locale</name> |
---|
| 235 | <required>false</required> |
---|
| 236 | <rtexprvalue>true</rtexprvalue> |
---|
| 237 | </attribute> |
---|
| 238 | <attribute> |
---|
| 239 | <name>defaultText</name> |
---|
| 240 | <required>false</required> |
---|
| 241 | <rtexprvalue>true</rtexprvalue> |
---|
| 242 | </attribute> |
---|
| 243 | </tag> |
---|
| 244 | <tag> |
---|
| 245 | <name>formatCurrency</name> |
---|
| 246 | <tagclass>org.apache.taglibs.i18n.FormatCurrencyTag</tagclass> |
---|
| 247 | <teiclass>org.apache.taglibs.i18n.FormatCurrencyTEI</teiclass> |
---|
| 248 | <bodycontent>JSP</bodycontent> |
---|
| 249 | <attribute> |
---|
| 250 | <name>id</name> |
---|
| 251 | <required>false</required> |
---|
| 252 | <rtexprvalue>true</rtexprvalue> |
---|
| 253 | </attribute> |
---|
| 254 | <attribute> |
---|
| 255 | <name>value</name> |
---|
| 256 | <required>true</required> |
---|
| 257 | <rtexprvalue>true</rtexprvalue> |
---|
| 258 | </attribute> |
---|
| 259 | <attribute> |
---|
| 260 | <name>locale</name> |
---|
| 261 | <required>false</required> |
---|
| 262 | <rtexprvalue>true</rtexprvalue> |
---|
| 263 | </attribute> |
---|
| 264 | <attribute> |
---|
| 265 | <name>defaultText</name> |
---|
| 266 | <required>false</required> |
---|
| 267 | <rtexprvalue>true</rtexprvalue> |
---|
| 268 | </attribute> |
---|
| 269 | </tag> |
---|
| 270 | <tag> |
---|
| 271 | <name>formatPercent</name> |
---|
| 272 | <tagclass>org.apache.taglibs.i18n.FormatPercentTag</tagclass> |
---|
| 273 | <teiclass>org.apache.taglibs.i18n.FormatPercentTEI</teiclass> |
---|
| 274 | <bodycontent>JSP</bodycontent> |
---|
| 275 | <attribute> |
---|
| 276 | <name>id</name> |
---|
| 277 | <required>false</required> |
---|
| 278 | <rtexprvalue>true</rtexprvalue> |
---|
| 279 | </attribute> |
---|
| 280 | <attribute> |
---|
| 281 | <name>value</name> |
---|
| 282 | <required>true</required> |
---|
| 283 | <rtexprvalue>true</rtexprvalue> |
---|
| 284 | </attribute> |
---|
| 285 | <attribute> |
---|
| 286 | <name>locale</name> |
---|
| 287 | <required>false</required> |
---|
| 288 | <rtexprvalue>true</rtexprvalue> |
---|
| 289 | </attribute> |
---|
| 290 | <attribute> |
---|
| 291 | <name>defaultText</name> |
---|
| 292 | <required>false</required> |
---|
| 293 | <rtexprvalue>true</rtexprvalue> |
---|
| 294 | </attribute> |
---|
| 295 | </tag> |
---|
| 296 | <tag> |
---|
| 297 | <name>formatDateTime</name> |
---|
| 298 | <tagclass>org.apache.taglibs.i18n.FormatDateTimeTag</tagclass> |
---|
| 299 | <teiclass>org.apache.taglibs.i18n.FormatDateTimeTEI</teiclass> |
---|
| 300 | <bodycontent>JSP</bodycontent> |
---|
| 301 | <attribute> |
---|
| 302 | <name>id</name> |
---|
| 303 | <required>false</required> |
---|
| 304 | <rtexprvalue>true</rtexprvalue> |
---|
| 305 | </attribute> |
---|
| 306 | <attribute> |
---|
| 307 | <name>value</name> |
---|
| 308 | <required>false</required> |
---|
| 309 | <rtexprvalue>true</rtexprvalue> |
---|
| 310 | </attribute> |
---|
| 311 | <attribute> |
---|
| 312 | <name>locale</name> |
---|
| 313 | <required>false</required> |
---|
| 314 | <rtexprvalue>true</rtexprvalue> |
---|
| 315 | </attribute> |
---|
| 316 | <attribute> |
---|
| 317 | <name>dateStyle</name> |
---|
| 318 | <required>false</required> |
---|
| 319 | <rtexprvalue>true</rtexprvalue> |
---|
| 320 | </attribute> |
---|
| 321 | <attribute> |
---|
| 322 | <name>timeStyle</name> |
---|
| 323 | <required>false</required> |
---|
| 324 | <rtexprvalue>true</rtexprvalue> |
---|
| 325 | </attribute> |
---|
| 326 | <attribute> |
---|
| 327 | <name>defaultText</name> |
---|
| 328 | <required>false</required> |
---|
| 329 | <rtexprvalue>true</rtexprvalue> |
---|
| 330 | </attribute> |
---|
| 331 | </tag> |
---|
| 332 | <tag> |
---|
| 333 | <name>formatDate</name> |
---|
| 334 | <tagclass>org.apache.taglibs.i18n.FormatDateTag</tagclass> |
---|
| 335 | <teiclass>org.apache.taglibs.i18n.FormatDateTEI</teiclass> |
---|
| 336 | <bodycontent>JSP</bodycontent> |
---|
| 337 | <attribute> |
---|
| 338 | <name>id</name> |
---|
| 339 | <required>false</required> |
---|
| 340 | <rtexprvalue>true</rtexprvalue> |
---|
| 341 | </attribute> |
---|
| 342 | <attribute> |
---|
| 343 | <name>value</name> |
---|
| 344 | <required>false</required> |
---|
| 345 | <rtexprvalue>true</rtexprvalue> |
---|
| 346 | </attribute> |
---|
| 347 | <attribute> |
---|
| 348 | <name>locale</name> |
---|
| 349 | <required>false</required> |
---|
| 350 | <rtexprvalue>true</rtexprvalue> |
---|
| 351 | </attribute> |
---|
| 352 | <attribute> |
---|
| 353 | <name>pattern</name> |
---|
| 354 | <required>false</required> |
---|
| 355 | <rtexprvalue>true</rtexprvalue> |
---|
| 356 | </attribute> |
---|
| 357 | <attribute> |
---|
| 358 | <name>style</name> |
---|
| 359 | <required>false</required> |
---|
| 360 | <rtexprvalue>true</rtexprvalue> |
---|
| 361 | </attribute> |
---|
| 362 | <attribute> |
---|
| 363 | <name>defaultText</name> |
---|
| 364 | <required>false</required> |
---|
| 365 | <rtexprvalue>true</rtexprvalue> |
---|
| 366 | </attribute> |
---|
| 367 | </tag> |
---|
| 368 | <tag> |
---|
| 369 | <name>formatTime</name> |
---|
| 370 | <tagclass>org.apache.taglibs.i18n.FormatTimeTag</tagclass> |
---|
| 371 | <teiclass>org.apache.taglibs.i18n.FormatTimeTEI</teiclass> |
---|
| 372 | <bodycontent>JSP</bodycontent> |
---|
| 373 | <attribute> |
---|
| 374 | <name>id</name> |
---|
| 375 | <required>false</required> |
---|
| 376 | <rtexprvalue>true</rtexprvalue> |
---|
| 377 | </attribute> |
---|
| 378 | <attribute> |
---|
| 379 | <name>value</name> |
---|
| 380 | <required>false</required> |
---|
| 381 | <rtexprvalue>true</rtexprvalue> |
---|
| 382 | </attribute> |
---|
| 383 | <attribute> |
---|
| 384 | <name>locale</name> |
---|
| 385 | <required>false</required> |
---|
| 386 | <rtexprvalue>true</rtexprvalue> |
---|
| 387 | </attribute> |
---|
| 388 | <attribute> |
---|
| 389 | <name>style</name> |
---|
| 390 | <required>false</required> |
---|
| 391 | <rtexprvalue>true</rtexprvalue> |
---|
| 392 | </attribute> |
---|
| 393 | <attribute> |
---|
| 394 | <name>defaultText</name> |
---|
| 395 | <required>false</required> |
---|
| 396 | <rtexprvalue>true</rtexprvalue> |
---|
| 397 | </attribute> |
---|
| 398 | </tag> |
---|
| 399 | </taglib> |
---|
| 400 | |
---|
| 401 | |
---|
| 402 | |
---|
| 403 | |
---|
| 404 | |
---|
| 405 | |
---|
| 406 | |
---|