Take a look in the Mach-II ColdSpring property config and you will find the following setting:
<parameter name="placeFactoryInApplicationScope" value="true" /> This allows it to be directly accessible from the application scope. ~Dave Shuck /************************************** blog: daveshuck.com tweets: www.twitter.com/dshuck cf peeps: www.dfwcfug.org **************************************/ On Thu, Jan 20, 2011 at 10:59 AM, Rachel Lehman <[email protected]> wrote: > We have an app that has a legacy section (admin console, of course!) > most of which is written in CF5-era style, not MVC/framework based; > but the primary (user-facing) side of our app is written with Mach II > and uses ColdSpring beans. They share a lot of the same model and are > under the same Application.cfc. > Right now we basically load the ColdSpring factory twice, once just in > the Application scope for the legacy code, and once through MachII for > the framework-ed part of the app. We recently upgraded MachII from 1.6 > (yay!) and everything is going great but while we were working on this > we thought it would be nice to resolve this duplicate factory/beans > issue. > I'm wondering if it's possible to load the service factory that MachII > uses outside MachII somehow so we could access it from the legacy > code? Or can anyone suggest a better way to go about doing this? > Thanks so much for suggestions. > > -- > You received this message because you are subscribed to Mach-II for CFML > list. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > SVN: http://svn.mach-ii.com/machii/ > Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/ > -- You received this message because you are subscribed to Mach-II for CFML list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
