[cfaussie] Re: How to extend application.cfc in a subfolder
Mmmm...Interesting. Might have to try this. We have many CFC's which extend many other CFC's But our biggest issue as well (appart from the mapping) was the different environments. We had to do massive find and replaces for each environment. Way bad. I'm gonna try it nevertheless. Jeremy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Mike, I might be totally wrong here, but I would say extends=application.cfc because it would try to extend from the root of the website anyway. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear Sent: Thursday, 24 August 2006 2:10 PM To: cfaussie@googlegroups.com Subject: [cfaussie] How to extend application.cfc in a subfolder What is the notation I need to use to extend Application.cfc in a subfolder, where I have no mapping?I can't have a mapping becuase it'll interfere with model-glue and reactor setups. Now i have an Application.cfc in the root of the site, and now i want to add to the functionality in a subdirectory under the root. IN the old days we'd just use an Application.cfm and and CFINCLUDE the one in the upper level. With a mapping to the root, I would ..extends=myapp.Application but with no mapping, how does this work? extends=../Application doesnt work. -- Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Hi Mike, Yes. I hear you man! I brought this issue up with Macromedia LONG LONG ago. IN fact i brought this up with the man whom programs coldfusion when he was here visiting Brisbane. The short answer is that it can't be done. I put an enhancement into Macromedia/Adobe about a year ago to make the extends portion to allow dynamics i.e. #path_location#, but I'm sure that got sucked into the abyss. Anyway, turns out the only way too do that is via mappings. We are using the extends functionality heavily for business rules and its a pain in the ass. I WOULD BE most willing to hear a better solution but until they fix it CF8 (if they do) it can't be done. Macromedia's response was it has to be the absolute path of the CFC. Jeremy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Thanks for your suggestion, Andrew, but then it thinks it's trying to extend itself, and complains. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 8/24/06, Andrew Scott [EMAIL PROTECTED] wrote: Mike, I might be totally wrong here, but I would say extends=application.cfc because it would try to extend from the root of the website anyway. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Cfgroupie, All though you are right in what your saying, the key is in your last statement and as I stated before. cfcomponent extends=application Is going to look at the root of the website, and that is where Mike as the application.cfc I thought that would be simple to work out? Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cfgroupie Sent: Thursday, 24 August 2006 3:12 PM To: cfaussie Subject: [cfaussie] Re: How to extend application.cfc in a subfolder Hi Mike, Yes. I hear you man! I brought this issue up with Macromedia LONG LONG ago. IN fact i brought this up with the man whom programs coldfusion when he was here visiting Brisbane. The short answer is that it can't be done. I put an enhancement into Macromedia/Adobe about a year ago to make the extends portion to allow dynamics i.e. #path_location#, but I'm sure that got sucked into the abyss. Anyway, turns out the only way too do that is via mappings. We are using the extends functionality heavily for business rules and its a pain in the ass. I WOULD BE most willing to hear a better solution but until they fix it CF8 (if they do) it can't be done. Macromedia's response was it has to be the absolute path of the CFC. Jeremy --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Hmmm, I know this has been discussed before, Mike do you subscribe to cfcdev at all I am sure it was asked in there once before? Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear Sent: Thursday, 24 August 2006 3:14 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: How to extend application.cfc in a subfolder Thanks for your suggestion, Andrew, but then it thinks it's trying to extend itself, and complains. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 8/24/06, Andrew Scott [EMAIL PROTECTED] wrote: Mike, I might be totally wrong here, but I would say extends=application.cfc because it would try to extend from the root of the website anyway. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Actually mike I was right in the sub folder that is what you do as described by this article http://corfield.org/blog/index.cfm/do/blog.entry/entry/Extending_Application cfc Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear Sent: Thursday, 24 August 2006 3:14 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: How to extend application.cfc in a subfolder Thanks for your suggestion, Andrew, but then it thinks it's trying to extend itself, and complains. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 8/24/06, Andrew Scott [EMAIL PROTECTED] wrote: Mike, I might be totally wrong here, but I would say extends=application.cfc because it would try to extend from the root of the website anyway. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---
[cfaussie] Re: How to extend application.cfc in a subfolder
Have you tried the ugly full path C:\Blah\Blah\application.cfc Regards Dale Fraser http://dale.fraser.id.au -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Kear Sent: Thursday, 24 August 2006 15:14 PM To: cfaussie@googlegroups.com Subject: [cfaussie] Re: How to extend application.cfc in a subfolder Thanks for your suggestion, Andrew, but then it thinks it's trying to extend itself, and complains. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 8/24/06, Andrew Scott [EMAIL PROTECTED] wrote: Mike, I might be totally wrong here, but I would say extends=application.cfc because it would try to extend from the root of the website anyway. Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 8676 4223 Mobile: 0404 998 273 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie -~--~~~~--~~--~--~---