1 Reply Latest reply on Jul 25, 2007 10:52 AM by stefan lotties

    Receiving "unable to find Setter Methode" when setting an Ta

    stefan lotties Newbie

      Hi,

      I've encountered a very strange problem in jboss 4.0.5-GA. We have a taglib which has a tag which itself has two attributes:

      <tag>
       <name>content</name>
       <tag-class>com.pironet.pbng.prj.taglib.presentation.PresentationContent</tag-class>
       <body-content>empty</body-content>
      
       <attribute>
       <name>exclude</name>
       <required>false</required>
       <rtexprvalue>true</rtexprvalue>
       </attribute>
       <attribute>
       <name>excludes</name>
       <required>false</required>
       <rtexprvalue>true</rtexprvalue>
       </attribute>
      </tag>
      


      When settings the attribute "excludes" I receive this error:
      excludes => Exception (unable to find Setter Methode)
      


      When I rename the attribute in the tld, the class and the usage to something else (e.g. "excludeObjects") everything works.

      Looks like a bug to me or am I doing something wrong?