Hello, I have questions about custom tags, I don't know for sure they are
bugs but they seem like it.

BUG #1

I have a custom tag with a required attribute called "class". When I use it
in a page the compiler displays an error like:

 500 Internal Server Error

Error parsing JSP page /webdev/advtags/forTag.jsp line 13

Property 'class' of bean/tag 'com.taglib.wdjsp.mut.ForPropertyTag' is read
only


The tag has a "setClass" method. Why is this happening? If I change the
attribute name to anything else it works!


BUG #2

The method "isValid" from the TagExtraInfo class is getting called as many
times as there are attributes in the tag...Each time the TagData object has
one more attribute value?  Is this correct?




Reply via email to