It really isn't that hard to change over to a ColdSpring defined
configuration for modelglue. I believe this is all you'll need to do:

Download Coldspring and put it in the webroot.
Add coldspring.xml to the config directory, alongside modelglue.xml
Add the config bloc to coldspring.xml and remove it from modelglue.xml
(save a backup so you can revert if something doesn't work).

Here's an example from the current project I'm working on:

<beans>
  <!-- This is your Model-Glue configuration -->
        <bean id="modelGlueConfiguration"
class="ModelGlue.unity.framework.ModelGlueConfiguration">
                <!-- Be sure to change reload to false when you go to 
production! -->
                <property name="reload"><value>false</value></property>
                <!-- Rescaffold is overridden by reload - if reload is false,
rescaffold's setting doesn't matter -->
                <property name="rescaffold"><value>false</value></property>
                <!-- Be sure to change debug to false when you go to 
production! -->
                <property name="debug"><value>false</value></property>
                <property name="defaultEvent"><value>login</value></property>
                <property name="reloadPassword"><value>1</value></property>
                <property 
name="viewMappings"><value>/liantcm/views</value></property>
                <property 
name="generatedViewMapping"><value>/liantcm/views/generated</value></property>
                <property 
name="configurationPath"><value>config/ModelGlue.xml</value></property>
                <property 
name="scaffoldPath"><value>config/scaffolds/Scaffolds.xml</value></property>
                <property name="statePrecedence"><value>form</value></property>
                <property name="reloadKey"><value>reset</value></property>
                <property name="eventValue"><value>view</value></property>
                <property 
name="defaultTemplate"><value>index.cfm</value></property>
                <property 
name="defaultExceptionHandler"><value>exception</value></property>
                <property name="defaultCacheTimeout"><value>5</value></property>
                <property 
name="defaultScaffolds"><value>list,edit,view,commit,delete</value></property>
        </bean>
</beans>

You can forget about Reactor.xml or any of the ORM stuff you find in
the example online. The above is all you'll need.

Of course the problem might be somewhere else ...

On Tue, Apr 21, 2009 at 4:25 PM, Dan Wilson <[email protected]> wrote:
> A major focus for MG2 was backwards compatibility. Same with MG3.  So I'm a
>Snip


-- 

Nando M. Breiter
The CarbonZero Project
CP 234
6934 Bioggio
Switzerland
+41 76 303 4477
[email protected]

--~--~---------~--~----~------------~-------~--~----~
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

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to