Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

extending existing tag libraries  RSS feed

 
aleah de guzman
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, im new in creating custom tags. are existing custom tags can be extended? like the ones in struts (bean, html and logic)?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tag handlers are classes like any other Java class, so the answer is the same: maybe.

If the tag handlers aren't declared final, and their design is such that they are suitable for extending, then yes.
 
aleah de guzman
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how about their tlds? is there a proper way of extending the tlds or i need to get the existing tlds and update them accordingly?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66203
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tlds cannot be extended. You'll need to copy and ajust them yourself.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!