Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Scripting in Tag file

 
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
Pie
Posts: 20606
60
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