Hi,
I have already sent to the cf-talk list but may be this area would be
more useful for this question without any lag. Sorry for repeat post.
Please do not ask why but I am just trying to set a parameter which is
normally defined in Application.cfc this scope, in normal CFM page.
This parameter is new ColdFusion application layer mapping feature.
When we need to define an application layer mapping we can use following
structure in Application.cfc file.
<cfcomponent>
<cfset this.name = "MappingsTestCFC">
<cfset this.mappings["/myincludes"] = "D:\Domains\mydomain\includes">
</cfcomponent>
But in my case I do not want to use Application.cfc file. The question
is now how I can create a parameter which would be the same with this
mappings structure?
Can I use CFCProxy setThisScope() method for this purpose?
<cfset myCFCProxyObj = CreateObject("java", "coldfusion.cfc.CFCProxy")>
<cfdump var="#myCFCProxyObj#">
Or any alternative way to set “this” scope variables which is available
in Application.cfc without having any Application.cfc?
As I said please do not ask why not using direct Application.cfc.
Thanks in advance.
Sincerely,
Oğuz Demirkapı
Sr. Developer | TeraTech
http://www.teratech.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/cfcdev@cfczone.org