yr.tld 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?xml version="1.0" encoding="GBK" ?>
  2. <taglib xmlns="http://java.sun.com/xml/ns/j2ee"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
  5. version="2.0">
  6. <description>yr</description>
  7. <display-name>yr core</display-name>
  8. <tlib-version>1.1</tlib-version>
  9. <short-name>yr</short-name>
  10. <uri>http://java.sun.com/jsp/jstl/core</uri>
  11. <tag>
  12. <description>
  13. 下拉框
  14. </description>
  15. <name>select</name>
  16. <tag-class>com.yw.core.common.tld.SelectTag</tag-class>
  17. <body-content>JSP</body-content>
  18. <attribute>
  19. <name>table</name>
  20. <required>true</required>
  21. </attribute>
  22. <attribute>
  23. <name>value</name>
  24. <required>true</required>
  25. </attribute>
  26. <attribute>
  27. <name>field</name>
  28. <required>true</required>
  29. </attribute>
  30. <attribute>
  31. <name>name</name>
  32. <required>true</required>
  33. </attribute>
  34. <attribute>
  35. <name>filter</name>
  36. <required>false</required>
  37. <rtexprvalue>true</rtexprvalue>
  38. </attribute>
  39. <attribute>
  40. <name>require</name>
  41. <required>false</required>
  42. </attribute>
  43. <attribute>
  44. <name>current</name>
  45. <required>false</required>
  46. <rtexprvalue>true</rtexprvalue>
  47. </attribute>
  48. </tag>
  49. <tag>
  50. <description>
  51. 权限判断
  52. </description>
  53. <name>isAuthor</name>
  54. <tag-class>com.yw.core.common.tld.AuthorTag</tag-class>
  55. <body-content>JSP</body-content>
  56. <attribute>
  57. <name>key</name>
  58. <required>true</required>
  59. <rtexprvalue>true</rtexprvalue>
  60. </attribute>
  61. </tag>
  62. <tag>
  63. <description>
  64. 资源文件
  65. </description>
  66. <name>pr</name>
  67. <tag-class>com.yw.core.common.tld.ResourceTag</tag-class>
  68. <body-content>JSP</body-content>
  69. <attribute>
  70. <name>text</name>
  71. <required>true</required>
  72. <rtexprvalue>true</rtexprvalue>
  73. </attribute>
  74. <attribute>
  75. <name>level</name>
  76. <required>false</required>
  77. </attribute>
  78. </tag>
  79. </taglib>