It's not a secret anymore!
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Scripting in Tag file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Scripting in Tag file" Watch "Scripting in Tag file" New topic
Author

Scripting in Tag file

Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206
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


Thanks, AR
SCWCD 5, SCJP 1.4, OCA (PL/SQL)
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20049
    
  30

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Scripting in Tag file
 
jQuery in Action, 3rd edition