• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tag file body should not contain scripting?

 
Chrix Wu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As we know, a tag file body must not contain scripting

But i saw this valid code on HFJS edition 1 page 554,


This that body a scripting?
 
Chrix Wu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked some study notes, a comment is also a kind of scripting.

but how come this code is valid?
 
Chinmaya Chowdary
Ranch Hand
Posts: 432
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Chris.

Here 'tag1' is 'Tag1Handler' and extends 'TagSupport', which means it is classic tag. Classic tags allows scripting in their body.
 
Chrix Wu
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chinmaya Chowdary wrote:Hi, Chris.

Here 'tag1' is 'Tag1Handler' and extends 'TagSupport', which means it is classic tag. Classic tags allows scripting in their body.


ook , thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic