I have a question about how to access config settings inside the
model.
I am using cfproperty for all dp injections. How would I access these
settings inside the model?
I prefer not to pass them in from the handler but to be able to access
tem directly in the model.
// custom settings
settings = {
jsmin_cacheLocation = "includes/cache",
rss1 = "http://pipes.yahoo.com/pipes/pipe.run?
_id=DiFb6TGZ3RGLT5RVrbQIDg&_render=rss",
rss2 = "http://pipes.yahoo.com/pipes/pipe.run?
_id=vmi9vYCZ3RGJxfQt_w6H4A&_render=rss",
rss3 = "http://pipes.yahoo.com/pipes/pipe.run?
_id=ujjVCj4A3hGl73s__w6H4A&_render=rss"
};
I have been trying this but it does not recognize controller variable
<cfargument name="rss1" type="string" required="no"
default="#cbcontroller.getSetting('setting').rss1#" />
Thanks for your help in advance.