To enforce a lot of settings in our application, we set them on startup in
the code.  One property I was trying to add to our setup was the
MissingIncludeHandler property of the setRuntimeProperty() method.  Doesn't
seem to work.  Also can't seem to find any reference to it when I Google.
Anyone else run across this problem before and found a way around it?

Try this code in your CFMX app to see what happens.

<cfscript>
admin = createobject("component", "CFIDE.adminapi.administrator");
admin.login("{your CFAdmin password}");

runtime = createobject("component", "CFIDE.adminapi.runtime");
runtime.setRuntimeProperty("MissingIncludeHandler",
"/any/page/in/your/app.cfm");

mihFile = runtime.getRuntimeProperty("MissingIncludeHandler");
</cfscript>

<cfoutput>#mihFile#</cfoutput>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225927
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to