• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. Custom Tags > CALLER Scope

CALLER Scope

The relationship between a regular template file and a Custom Tag can often be one-sided, meaning that the template passes information to the Custom Tag but not vice versa. There are instances, however, when the Custom Tag should pass data back to the calling template.

A login script for security can be wrapped into a Custom Tag. This script will take the user name and password passed into it, along with attributes that declare which data source and table to authenticate against, and pass back a flag that declares whether the user has logged in successfully.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint