I'm running MG unity with the dynamicXmlBeanFactory and had to have the MG configuration bean definition in both my Coldspring.xml and parent Coldspring xml.
I found that MG loads the bean definitions from the default Coldspring xml first, then from the parent bean factory xml. The values set in the default CS file were overwritten by the parent bean definitions once they were loaded. Justin On Jul 19, 2011 8:24 AM, "Rawlins" <[email protected]> wrote: > > > Hi Chris, > > > Thanks for coming back to me. > > > I see about the default values. But what you're saying is that It's not > likely to filter down into the ModelGlue factory, which probably won't help > me when wanting to set dynamic values in the modelglue.modelGlueConfiguration > bean will it? > > > I did try to trick model glue, by giving it an empty XML file to import, and > including the model glue configuration as an import in my main coldspring > config file. > > > Which meant there wasn't an error thrown on init, but model glue wasn't > properly loading an orm adaptor when I was doing that, which obviously broke > any of the generic orm calls I have. > > > <cfset ModelGlue_LOCAL_COLDSPRING_PATH = expandPath(".") & > "/config/coldspring/empty.xml" /> > > > Thanks, > > > Robert > > -- > 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
