Yeah, I figured you were creating ColdSpring on your own. Don't do that.
Else, you'll get behavior you are currently experiencing, namely, you've got
two separate application scopes and not one main scope with everything in
it.
You can set your default properties for ColdSpring in your application
specific* index.cfm* file.
Use this variable name and it'll be picked up by MG and passed along:
ModelGlue_LOCAL_COLDSPRING_DEFAULT_PROPERTIES
Example (pseudocode):
<cfset ModelGlue_LOCAL_COLDSPRING_DEFAULT_PROPERTIES = { something:"Else",
datasource:"bunnies" } />
On Fri, Oct 7, 2011 at 11:28 AM, marc <[email protected]> wrote:
> I use Coldspring to define ModelGlue properties. I guess I should be using
> the option to supply defaultProperties to the
> BeanFactory as in <value>${key.subKey}</value> but I'm not sure where to
> define those...
>
>
> 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
>
--
Plutarch - "The mind is not a vessel to be filled but a fire to be kindled."
--
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