tms.tld 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE taglib
  3. PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
  4. "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
  5. <taglib>
  6. <tlibversion>1.0</tlibversion>
  7. <jspversion>1.1</jspversion>
  8. <shortname>j2ee</shortname>
  9. <uri>http://fzywtx.com/jsp/yw/tms</uri>
  10. <info>
  11. 作者:tangj
  12. 版本号:2012092201
  13. 简介:用于任务状态输出为表单和javascript支持
  14. </info>
  15. <tag>
  16. <name>taskState</name>
  17. <tagclass>com.yw.tms.common.tld.TmsTaskStateTag</tagclass>
  18. <!--
  19. type 包括:jsp、script、form,默认为jsp
  20. 如果是jsp,标签将返回一个颜色值;
  21. 如果是script,标签将返回一个javascript函数,用于支持javascript使用
  22. 如果是form,标签将创建select表单
  23. show 包括:color、text、select、checkbox、json
  24. id 用于表单生成时的id属性
  25. name 用于表单生成时的name属性
  26. -->
  27. <attribute>
  28. <name>value</name>
  29. <rtexprvalue>true</rtexprvalue>
  30. </attribute>
  31. <attribute>
  32. <name>type</name>
  33. </attribute>
  34. <attribute>
  35. <name>show</name>
  36. </attribute>
  37. <attribute>
  38. <name>id</name>
  39. <rtexprvalue>true</rtexprvalue>
  40. </attribute>
  41. <attribute>
  42. <name>name</name>
  43. <rtexprvalue>true</rtexprvalue>
  44. </attribute>
  45. </tag>
  46. </taglib>