Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag file example

 
Leandro Oliveira
Ranch Hand
Posts: 298
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! could someone give me an example of how to use variables in tag files?? thanks in advance!
 
Greg T Robertson
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Define variable in a taglib directive (TLD) file like this:

The attribute is where you define your "variable" at. name should match the name for the property defined in the tag class itself. required is whether or not the attribute has to be present, and rtexprvalue is whether or not the attribute can use a run time expression value (<%= %> or not. There's also a type attribute (but it's not supported in the version this TLD was pulled from)
Is this what you were looking for?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic