I think that it will use the internal mappings for the machine to try and run
the included page. I've got some docs from Apache on what this should allow and
will add them in soon as I get a second. I also want to test to see a few
things.
1. Does an included page inherit all vars from the calling page?
2. Does an included page act in the context of the calling page or is it called
separately? i.e. does an application.cfm get called for the included page
separately.



> This function peaks my interest once again.
>
> GetPageContext().Include("somefile.cfm") will parse a cfm page, but not htm
> page ("somefile.htm"). So it has some internal parse switch to determine
> whether or not to parse a relative link.
>
> Sooo...is there some sub-function within GetPageContext() that might parse a
> variable (that could be read from a file or created on the fly?
>
> <cfscript>
> // example (quick one)
> Bob="I love ##BobsGirlfriend##, but this is a pound: ##.";
> BobsGirlfriend="Jane";
> GetPageContext().Parse(SomeString);
> </cfscript>
>
> Would output: "I love Jane, but this is a pound: #."
>
> This isn't exactly what I'm talking about, but close. And I've been
> searching high and low for something like this for a very long time...
>
> Tyler
>
> (I know this is a stretch, using GetPageContext() and all, but I can't seem
> to find anything close to doing what I want)
>
> -----Original Message-----
> From: Michael Dinowitz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 11, 2003 7:04 PM
> To: CF-Talk
> Subject: Re: CFLINCLUDE in CFSCRIPT
>
> Perfect, thanks. I'll give you credit and a link in the docs to this (as
> well as Charlie credit for his CFLOCATION portion).
> Are there any solid docs on the GetPageContext() stuff?
>
>
> > > I'm redoing my CFSCRIPT docs and one of the things I'm adding in are
> > > all the 'extra' things you can do with it in CFMX. One such thing is
> > > a CFLOCATION using
> > > GetPageContext().forward("somefile.cfm")
> > > I believe that there was a CFINCLUDE type code as well, but I can't
> > > seem to find it. If anyone remembers it, please let me know.
> > > Thanks
> > >
> > You can do an include with getPageContext().include("somefile.cfm").
> > However, it is not the same as doing a cfinclude. See a blog entry I
> > made on the subject.
> > http://devilm.com/archives/000037.html
> >
> > Matt Liotta
> > President & CEO
> > Montara Software, Inc.
> > http://www.MontaraSoftware.com
> > (888) 408-0900 x901
> >
> >
> >
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to