-------- Original Message --------
Subject: [coldbox:15097] Re: - Singleton question
From: Cristian Pop <cri...@gmail.com>
Date: Tue, June 05, 2012 11:45 am
To: col...@googlegroups.com
Hi,Sorry for the highjacking.Brad, do you know another solution for recursing chaining for mapDirectory ? I assumed that chaining works with mapDirectory but I discovered after reading your post that is only applied to the last cfc found. I'm trying to migrate some old code to wirebox and I have a lot of CFC in a folder that access DB and requires a DSN so i tried something like :mapDirectory(packagePath="app.model.db").initArg(name="datasource", value="test");I don't want to change them all to allow DSN injection and I also noticed that metadata inheritance is not working (they inherit a common db object).Thanks--
On Saturday, June 2, 2012 12:43:46 AM UTC+3, Brad Wood wrote:Most excellent news!
Thanks!
~Brad
On Friday, June 1, 2012 4:16:17 PM UTC-5, brett wrote:Brad,
Just updated the CFC's in my services and repositories directory to
include the singleton attribute and it worked beautifully. Thanks so
much for your help. My pages are loading at least ten times faster.
Brett
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
To unsubscribe from this group, send email to coldbox-unsubscribe@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
To unsubscribe from this group, send email to coldbox-unsubscribe@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
To unsubscribe from this group, send email to coldbox-unsubscribe@googlegroups.com
Bratt? Sorry, but I lol’d :)
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
--
You received this message because you are subscribed to the Google Groups "ColdBox Platform" group.
To post to this group, send email to col...@googlegroups.com
To unsubscribe from this group, send email to coldbox-u...@googlegroups.com
To unsubscribe from this group, send email to coldbox-unsubscribe@googlegroups.com
To unsubscribe from this group, send email to coldbox-unsubscribe@googlegroups.com
To unsubscribe from this group, send email to coldbox-unsubscribe@googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/coldbox
For News, visit http://blog.coldbox.org
For Documentation, visit http://wiki.coldbox.org
-------- Original Message --------
Subject: Re: [coldbox:15106] Re: - Singleton question
From: Cristian Pop <cri...@gmail.com>
Date: Wed, June 06, 2012 8:33 am
To: col...@googlegroups.com
Bratt, don't mind me. I guess I was tired. I can pass the DSN string in the getInstance call in the factory, so no need for chaining to work on mapDirectory, But you improvement can indeed be useful.
Cristian
On Wednesday, June 6, 2012 1:32:49 PM UTC+3, Cristian Pop wrote: