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

Chapter 4. Handling a Fuseaction > Finishing the Processing

Finishing the Processing

We’re finished! The entire request is nearly done processing; the result of the entire fuseaction, including all the nested layouts, is stored in the API variable fusebox.layout. All that is left is to output the variable:

1 <cfoutput>#trim(fusebox.layout)#</cfoutput> 
2 </cfprocessingdirective><cfsetting enablecfoutputonly="no"> 

Line 1 is the magic line of the core file; it outputs the complete value of the entire contents of the request. Any output in a file that the core file has called is stored in fusebox.layout. The trim() function crops whitespace from the final output, which allows Fusebox to be used to generate SOAP-based web service requests as well as requests from Flash.

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