You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "David M. Karr" <dm...@earthlink.net> on 2003/03/03 02:40:22 UTC
Re: Taglib: Unable to find setter method for attribute: required
>>>>> "Thorsten" == Thorsten Giesecke <th...@sourcepark.de> writes:
Thorsten> After changing from Tomcat 3.2.3 to Tomcat 4.1.18 the following
Thorsten> exception occurs:
Thorsten> Unable to find setter method for attribute: required
Thorsten> The TLD defines the required attribute as optional,
Thorsten> the setter method (setRequired(String ...)) is available
Thorsten> and with Tomcat 3.2.3 there are no problems.
Thorsten> Are there any changes in the JSP/Taglib definition, which
Thorsten> permits the use of required as an attribute name?
Thorsten> Is it required, that every taglib class has it's own setter
Thorsten> method or can i use an abstract parent class which implements
Thorsten> this setter method once? can this result in problems with
Thorsten> introspection?
If you haven't solved this yet, it could be useful to see your actual tag class
and the TLD.
There should be no problem with implementing a setter method in the base class,
as opposed to the derived class.
--
===================================================================
David M. Karr ; Java/J2EE/XML/Unix/C++
dmkarr@earthlink.net ; SCJP; SCWCD
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org