Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Redeclare even inherited tag attributes in TLD?  RSS feed

 
P Chandrasekaran
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

I am porting a JSP 1.1. app from Weblogic 5.1 to JBoss 4.0.
And I find that the JSP engine throws error complaining
"attribute <such-and-such> invalid according to TLD" for
even attributes defined in the super class of the tag.

Why is it so?
Thanks
Chandra
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Even though a tag handler can be derived from another, the TLD declarations do not reflect any inheritance. Every attribute of a tag must be declared in its TLD entry regardless of where the attribute mutator is defined.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!