<tag>
<name>input</name>
<tag-class>gao.an.yuan.SimpleTag.MaxTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>type</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>

解决方案 »

  1.   

    在标签里是不可以的,在标签类里的相关属性的set方法中可以控制。
    估计你的问题完全可以换个思路解决,就是在标签类里处理。
      

  2.   

    我希望的是在eclipse里面,直接将几种可能的值,在alt+/的时候,提示出来,可以吗 = =
      

  3.   

    意思就是像<input type="button">一样,type提供固定的值供选择怎样才能做到啊,大神们,俺也想知道