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

The THIS Scope

The THIS scope is a special scope that exists inside an object type component. We've already seen how you can create a component with the <cfobject> tag. When you create a copy of a component with <cfobject>, there's nothing to stop you from doing it again.

Consider Listing 19.7; let's say we have a component that just takes a name, and outputs it back out.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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