Is 3.2 a drop-in upgrade? I downloaded it and changed my mapping to point
to it, and am now getting this error:
There is no bean registered with the factory with the id
modelGlue.ModelGlueConfiguration
I am guessing the error has to do with this section of my ColdSpring.xml
file:
<bean id="modelGlueConfiguration"
class="ModelGlue.unity.framework.ModelGlueConfiguration"> <property
name="reload"><value>false</value></property>
<property name="rescaffold"><value>false</value></property>
<property name="debug"><value>false</value></property>
<property name="defaultEvent"><value>home</value></property>
...etc..
</bean>
I tried changing "unity" in the opening tag to "gesture" but
that didn't help.
-Ryan
On Monday, October 1, 2012 6:44:48 PM UTC-5, Dan Wilson -
[email protected] wrote:
>
> There are a lot of objects Model Glue uses internally that are also wired
> through ColdSpring.
>
> If you can use the latest version, version 3.2, we've lazy loaded the
> framework and instantiation times are much shorter.
>
>
> DW
>
> On Mon, Oct 1, 2012 at 6:54 PM, Ryan Stille <[email protected]<javascript:>
> > wrote:
>
>> Hi, this might be a question better suited for the ColdSpring group, but
>> I am guessing someone here can help me. I am trying to figure out why my
>> application takes so long to reinit. When I hit the homepage of the site,
>> it takes around 1-2 seconds to load. But if I pass in the init parameter,
>> the page takes around 7-12 seconds. I've added some code to MG/ColdSpring
>> to log how long it takes to instantiate each of my components. I have
>> something like 75-100 components defined in ColdSpring.xml.
>>
>> The log shows each one takes 0-1ms. The controllers too. How can I track
>> down whats taking so long? I am on version 2.0 beta 1. Yes, that's old.
>> I've tried a current version before, sometime last year I think, and init
>> times were the same if not a little longer.
>>
>> When I turn on debugging and track execution times, it crashes CF and/or
>> my browser. My next step is to try the debugger and step through it, but
>> last time I tried that everything I was stepping through was taking 100x as
>> long as it should have, so not sure how well that's going to work.
>>
>> Thanks,
>> -Ryan
>>
>> --
>> 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]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> 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