How is ColdSpring created? Are you creating it in your code or is ModelGlue creating it? On Oct 7, 2011 7:32 AM, "marc" <[email protected]> wrote: > Hi, > > I thought I'd adhere to best practices when setting up my new MG app so > instead of naming Application.cfc this.name property <cfset > THIS.NAME="myApp"> I called it <cfset THIS.NAME=Hash(Expandpath("myApp"))> > > Then my app didn't work anymore. Putting <cfdump var="#Appliciation#"> in > the login page revealed that the Application scope had gone-only the name > key with a hash value was present. > > I found out the Coldspring.xml ApplicationConfiguration bean's > ApplicationName setting wasn't changed - still at it's old value of MyApp.
> As long as this setting one and application.cfcTHIS.NAME property are the > same, ModelGlue gets loaded in the applicationscope. If they are different, > ModelGlue doesn't get loaded. > > <entry key="applicationName"><value>CMS</value></entry> > > What I want is a unique application name on a shared environment, to prevent > another app's application scope overwriting mine. Hash() provides that but > in an xml file I am able to enter static content only. Did anyone come > across this yet and find a workaround ? > > ( > http://www.bennadel.com/blog/1845-Making-Sure-Your-ColdFusion-Applications-Are-Uniquely-Named.htm > ) > > Marc > > -- > 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 -- 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
