Thanks for getting back to me on this one Tom, The edition of ColdSpring and
Reactor are those that some bundled with Model Glue Unity.

Here is my XML code for coldspring and reactor.

<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>true</value></property>
                <!-- Rescaffold is overridden by reload - if reload is
false, rescaffold's setting doesn't matter -->
                <property name="rescaffold"><value>true</value></property>
                <!-- Be sure to change debug to false when you go to
production! -->
                <property name="debug"><value>true</value></property>
                <property
name="defaultEvent"><value>page.index</value></property>
                <property
name="reloadPassword"><value>true</value></property>
                <property
name="viewMappings"><value>/views</value></property>
                <property
name="generatedViewMapping"><value>/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>init</value></property>
                <property name="eventValue"><value>event</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></propert
y>
        </bean>
 
        <!-- This is your Reactor configuration -->
        <bean id="reactorConfiguration" class="reactor.config.config">
                <constructor-arg
name="pathToConfigXml"><value>/config/Reactor.xml</value></constructor-arg>
                <property name="project"><value>myDSN</value></property>
                <property name="dsn"><value>myDSN</value></property>
                <property name="type"><value>mssql</value></property>
                <property
name="mapping"><value>/model/data</value></property>
                <property name="mode"><value>development</value></property>
        </bean>
</beans>

And now reactor

<reactor>
        <objects>
                <object name="Article">
                        <hasOne name="Author">
                                <relate from="AuthorID" to="AuthorID" />
                        </hasOne> 
                        <HasMany name="ArticleKeyword">
                                <relate from="ArticleID" to="ArticleID" />
                        </hasMany>
                        <HasMany name="ArticleComment">
                                <relate from="ArticleID" to="ArticleID" />
                        </hasMany>
                        <HasMany name="ArticleCatagory">
                                <relate from="ArticleID" to="ArticleID" />
                        </hasMany>
                </object>
                
                <object name="Author">
                        <HasMany name="Article">
                                <relate from="AuthorID" to="AuthorID" />
                        </hasMany>
                </object>       
                
                <object name="ArticleKeyword">
                        <HasMany name="Article">
                                <relate from="ArticleID" to="AritcleID" />
                        </hasMany>
                        <HasMany name="Keyword">
                                <relate from="KeywordID" to="KetwordID" />
                        </hasMany>
                </object>
                
                <object name="Keyword">
                        <HasMany name="ArticleKeyword">
                                <relate from="KeywordID" to="KetwordID" />
                        </hasMany>
                </object>
                
                <object name="ArticleComment">
                        <HasMany name="Comment">
                                <relate from="CommentID" to="CommentID" />
                        </hasMany>
                        <HasMany name="Article">
                                <relate from="ArticleID" to="ArticleID" />
                        </hasMany>
                </object>
                
                <object name="Comment">
                        <HasMany name="ArticleComment">
                                <relate from="CommentID" to="CommentID" />
                        </hasMany>
                </object>
                
                <object name="ArticleCatagory">
                        <HasMany name="Catagory">
                                <relate from="CatagoryID" to="CatagoryID" />
                        </hasMany>
                        <HasMany name="Article">
                                <relate from="ArticleID" to="ArticleID" />
                        </hasMany>
                </object>
                
                <object name="Catagory">
                        <HasMany name="ArticleCatagory">
                                <relate from="CatagoryID" to="CatagoryID" />
                        </hasMany>
                </object>
        </objects>
</reactor>

I've tried removing that code too but still get a very similar error about
the DESCRIPTION element missing from the cfcatch.

Let me know if you have any other thoughts.

Rob
        

-----Original Message-----
From: Tom Chiverton [mailto:[EMAIL PROTECTED] 
Sent: 05 March 2007 14:48
To: CF-Talk
Subject: Re: Reactor XML - Throwing Error's

On Monday 05 Mar 2007, Robert Rawlins wrote:
> Anyone got any suggestions as to why this might be happening? I'm more
than
> happy to post my XML if you want to take a look, i just didnt want to over

An old version of the ColdSpring code ?
You should get a sensible error, rather than an exception from the
framework.

Try commenting out the try/catch indicated and see what the real error is.

And yes, post your ColdSpring and/or Reactor XML configs.
-- 
Tom Chiverton
Helping to seamlessly implement intuitive bandwidth
On: http://thefalken.livejournal.com

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and
Wales under registered number OC307980 whose registered office address is at
St James's Court Brown Street Manchester M2 2JF.  A list of members is
available for inspection at the registered office. Any reference to a
partner in relation to Halliwells LLP means a member of Halliwells LLP.
Regulated by the Law Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may
be confidential or legally privileged.  If you are not the addressee you
must not read it and must not use any information contained in nor copy it
nor inform any person other than Halliwells LLP or the addressee of its
existence or contents.  If you have received this email in error please
delete it and notify Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271541
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to