home *** CD-ROM | disk | FTP | other *** search
/ Australian Personal Computer 1999 April / APC443.iso / features / grpware / coldfus / coldfusi.exe / data1.cab / Documentation / snippets / cfassociate.cfm < prev    next >
Encoding:
Text File  |  1998-10-08  |  768 b   |  33 lines

  1. <!---  This view-only example illustrates
  2.        use of the CFASSOCIATE tag. --->
  3. <HTML>
  4. <HEAD>
  5. <TITLE>CFASSOCIATE</TITLE>
  6. </HEAD>
  7.  
  8. <BODY>
  9. <H3>CFSSOCIATE</H3>
  10. <P>
  11. This example shows the code you might add to
  12. a sub-tag to associate it with the calling
  13. custom tag (displayed in the View Example pane).
  14. <!--- Find the context --->
  15. <!---
  16. <cfif thisTag.executionMode is "start">
  17. --->
  18.   <!--- Associate attributes 
  19.       This code occurs in a custom tagÆs 
  20.       sub tag. --->
  21. <!---
  22.     <CFASSOCIATE BASETAG="CF_TAGBASE">
  23. --->
  24.   <!--- Define defaults for attributes --->
  25. <!---
  26.   <cfparam name="attributes.happy" default="Yes">
  27.   <cfparam name="attributes.sad" default="No">
  28. --->
  29. <!--- Continue sub-tag processing --->
  30.  
  31. </BODY>
  32. </HTML>       
  33.