• Post Reply Bookmark Topic Watch Topic
  • New Topic

tld question  RSS feed

 
Steve Ford
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I wanted to extend one of the Struts tag implementations (ie. org.apache.struts.taglib.html.LinkTag) to make my own custom link tag, and I want my tag to accept all the same attributes plus a few of my own. Is there any way to put an entry in my .tld to point to the struts-html.tld and just add my new attributes, or do I have to redefine all of the attributes for my custom tag? This second approach seems ugly, and I am thinking there has to be a better way. Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, no better way.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!