Teddy Payne said the following on 9/11/2006 8:56 PM:
OnRequest stops processing of the current displayed page. In that method you can, you can either instantiate an output component or include a cfm page that will load your components that you need. The only other way would be to isntatiate your output components in the OnRequestStart and then reference them on the loading page or the onRequest interupt.I agree with Teddy here. onRequest() doesn't process any page unless you use an cfinclude or as in my ex. wrap a savecontent around it. Quote: "If you implement this method, it must explicitly call the target page, normally by using a cfinclude tag."Otherwise you then have to use the pageContext and modify the output buffer as David suggests. -- Peter J. Farrell - Maestro Publishing http://blog.maestropublishing.com -- Co-Host of the ColdFusion Weekly Podcast http://www.coldfusionweekly.com You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- Re: [CFCDEV] get page content Peter J. Farrell
- RE: [CFCDEV] get page content Andrew Scott
- Re: [CFCDEV] get page content Teddy Payne
- Re: [CFCDEV] get page content Peter J. Farrell
- RE: [CFCDEV] get page content Andrew Scott
- Re: [CFCDEV] get page content Andrew Scott
- Re: [CFCDEV] get page content Peter J. Farrell
- RE: [CFCDEV] get page content David Harris
- RE: [CFCDEV] get page content David Harris
- RE: [CFCDEV] get page content David Harris
