Hello everybody,
I want to call ColdFusion objects from a Java class. I found this
docucmentation by Ben Forta on CFCProxy: http://www.forta.com/misc/cfcproxy.htm
I have a my CFC (see below) that has an init function which initialies all the
objects?
<cfcomponent name="javacall">
<cffunction name="init" output="false" returntype="javacall"
hint="initialise">
<cfscript>
//Example object
this.objFont =
createObject("java","java.awt.Font").init("Arial",0,10);
return this;
</cfscript>
</cffunction>
</cfcomponent>
The documentation says that the getThisScope() method can be used to retrieve
the 'This' scope of the CFC. I want to retreive the 'objFont' this variable.
Can someone show me how to do this please?
Thanks,
John
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318268
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4