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

Part IX:  Appendixes  >  Custom Tag Execution

Custom Tag Execution

When a custom page is executed, all the data related to the custom tag is stored in the thisTag structure. You can access thisTag from within a custom tag to control its processing. thisTag contains variables or properties that determine the exe-cution mode and the structure of the custom tag. Table A.1 lists the important variables in thisTag:

Table A.1. Variables in the thisTag Structure
Variable Used for
ExecutionMode Determines the execution mode of the custom tag. This variable can contain one of these values: start, end, and inactive.
HasEndTag Determines whether the custom tag declaration in the calling page has an end tag or not. If the custom tag has an end tag, this variable returns a TRUE value. Otherwise, it returns a FALSE value.
GeneratedContent Accesses the body text of the custom tag. This includes text, values from ColdFusion variables, and any result of processing in the custom tag.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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