Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Scripting in Tag file  RSS feed

 
Aaron Raja
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFSJ say "You can't do Scripting in body of tag file but can in tag file"
Can some body explain me If not in body where we can do scripting?
Thanks
AR
 
Rob Spoor
Sheriff
Posts: 20937
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In tag files you'll need nested tags to do the scripting for you. That's why, if you want to allow scripting inside your tag body, a manually written tag class is required.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!