Hi,
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. J
Thanks in advance.
Sincerely,
OÄuz Demirkapı
Sr. Developer | TeraTech
http://www.teratech.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:285362
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4