Home  |  Contact         

Zrinity is the leader in enterprise-class email marketing management solutions and content management solutions for marketing professionals and developers worldwide.
Home What We Offer Solutions Services Resources Company
The ColdFusion MX Un-Documentation

ColdFusion's Move to java has opened up a host of new possibilities, several of these possibilities are not documented.

Because all variables in ColdFusion are now Java Objects, we can use Java Reflection to find out hidden methods or functions.

Zrinity provides email marketing appliances and software to large businesses and advertising agencies. Zrinity's email delivery systems are very reliable and high-speed.



Should I use these un-documentated features?
Not without careful consideration, and testing. Because these features are not documented by Macromedia, they may not be there in a future release. Also these features will only work on ColdFusion MX.

How Did we find these features?

We wrote a Java Class that will basically turn a java.lang.Class into a string representation of the class interface with Java Reflection, click to get source code.

Just compile the class and put the .class file in CFusionMX/wwwroot/WEB-INF/classes
Restart CFMX

Then you can get class info in CFMX code...
<cfset viewer = CreateObject("java", "ClassViewer")>
<cfset struct = StructNew()>
<cfoutput><pre>#viewer.viewObject(struct)#</pre></cfoutput>

Or view by class name


<cfoutput>
<pre>
#viewer.viewClassByName("coldfusion.sql.QueryTable")#
</pre>
</cfoutput>

Did you find an undocumented feature?
Let us know, and we will post it along with your name.



  
home products services partners company support contact
Copyright 2006 © Zrinity Inc. All rights reserved.     View our privacy policy         May 17, 2012