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

Clean up TLD for custom components  RSS feed

Garann Means
Ranch Hand
Posts: 214
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have tips on how to tighten up a TLD for custom components? My components all inherit from a series of superclasses, so in my TLD I need to define the same attributes over and over. Is there a way to do an include in a TLD, or point to the definition of another tag and grab its attributes? Id' like to centralize these common attributes in one place, rather than copy and pasting them to each tag.

Any help would be appreciated tremendously.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!