AAAH!
Thanks Chris, I was looking for the app name in the ModelGlue.xml file
in the config folder. It never occurred to me that I would have to
modify the index.cfm. DOH!

It now works as intended.

I did not need to use the proxy since I do not have separate
Application.cfc files for the  store or conference modules.

On Dec 14, 12:51 pm, Chris Blackwell <[email protected]> wrote:
> in /store/index.cfm and /confernece/index.cfm uncomment the line
> <cfset ModelGlue_APP_KEY = "mySubapplication" />
> and set it to something unique for each.
>
> then create mysite.com/ApplicatiionProxy.cfc which looks like
>
> <cfcomponent extends="Application">
> <!--- i'm just a proxy to the root application --->
> </cfcomponent>
>
> finally modify /store/Application.cfc and /conference/Application.cfc to
> extend ApplicationProxy
>
> <cfcomponent extends="ApplicationProxy">
> <!---
> .. all the usual stuff in here
> --->
> </cfcomponent>
>
> That should get you going..
>
> Chris
>
> 2009/12/14 Rodrigo <[email protected]>
>
>
>
> > I'm using MG as sub applications within a larger legacy app. So all MG
> > apps are sharing a root application.cfc file.
>
> > The issue I'm running into is:
>
> > I have the following structure:
> >www.mysite.com/application.cfc
> > This has an appName of "MainApp"
> > This main site is not running a MG app.
>
> > The main Coldspring installation is onwww.mysite.com/Coldspring/
> > The main MG installation is onwww.mysite.com/ModelGlue/
>
> >www.mysite.com/store/is a MG 3 app, that's using the same application
> > and session scope as "MainApp"
> >www.mysite.com/conference/is another MG 3 app using the same
> > application and session scope as "MainApp"
>
> > The problem is that when I initialize one of theMG apps, the other one
> > takes on its attributes.
>
> > E.g., I initializewww.mysite.com/store/The store loads, everything
> > looks good, so I navigate overwww.mysite.com/conference/and what do
> > I see? the store app!
>
> > So now I initialize the conference app, and it looks good so I
> > navigate over to the store app, and the conference app is there
> > instead.
>
> > How do I separate the two apps within the same deployment? do I need
> > to have individual application.cfc files on each template deployment?
> > How do I inherit the master application.cfc if that's the case?
>
> > R
>
> > --
> > Model-Glue Sites:
> > Home Page:http://www.model-glue.com
> > Documentation:http://docs.model-glue.com
> > Bug Tracker:http://bugs.model-glue.com
> > Blog:http://www.model-glue.com/blog
>
> > You received this message because you are subscribed to the Google
> > Groups "model-glue" group.
> > To post to this group, send email to [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]<model-glue%2bunsubscr...@googlegrou 
> > ps.com>
> > For more options, visit this group at
> >http://groups.google.com/group/model-glue?hl=en

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
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/model-glue?hl=en

Reply via email to