please i want to move my move application on modelglue 1.1 and reactorBer without coldspring
 
to modelglue 2.0 (unity) that uses reactor and coldspring
 
am having problems with my configuration files thats my modelglue.xml,reactor.xml,coldspring.xml they are
pasted below
 
 
 
modelglue.xml
 
 
<modelglue>
 
  <controllers>
    <controller name="myController" type="dilivSms.controller.Controller">
      <message-listener message="OnRequestStart" function="OnRequestStart" />
      <message-listener message="OnRequestEnd" function="OnRequestEnd" />       
  <!--
       Message-Listener Template
      <message-listener message="BroadcastMessageName" function="ControllerFunctionToFire">
        <argument name="AnEventArgument" value="aValue" />
      </message-listener>
      -->
    </controller> 
  </controllers>
 
  <event-handlers>
    <!-- Event-Handler Template
      <broadcasts>
        <message name="DoSomething">
          <argument name="SampleArg" value="iAmASampleArgument" />
        </message>
      </broadcasts>
      <views>
        <include name="body" template="page.cfm" append="false">
     <value name="SomeValue" value="I am a value available in Viewstate" overwrite="false" />
        </include>
      </views>
      <results>
       <result name="resultValue" do="EventHandlerName" />
       <result name="redirectingResultValue" do="EventHandlerName" redirect="true" />
       <result do="resultThatWillAlwaysRun" />
      </results>
  -->
   
    <event-handler name="Home">
      <broadcasts />
      <views>
       <include name="body" template="dspBody.cfm" />
  <include name="main" template="dspTemplate.cfm" />
      </views>
      <results />
    </event-handler>
   
    <event-handler name="Exception">
      <broadcasts />
   <views>
      <include name="body" template="dspException.cfm" />
         </views>
      <results />
  </event-handler>
 
  </event-handlers>
</modelglue>
 
 
 
Reactor.xml
 
 
<reactor>
  <objects>  
  
<object name="usercontactGroup">
 <hasOne name="ContactGroup">
  <relate from="idgroup" to="idgroup" />
 </hasOne>
 <hasOne name="Contacts">
  <relate from="idcontact" to="idcontact" />
 </hasOne>
</object>
    
    </objects>
  
</reactor>
 
 
coldspring.xml
 
 
<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>Home</value></property>
  <property name="reloadPassword"><value>true</value></property>
  <property name="viewMappings"><value>/dilivSms/views</value></property>
  <property name="generatedViewMapping"><value>/dilivSms/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></property>
 </bean>
 
  <!-- This is your Reactor configuration -->
 <bean id="reactorConfiguration" class="reactor.config.config">
  <constructor-arg name="pathToConfigXml"><value>/dilivSms/config/Reactor.xml</value></constructor-arg>
  <property name="project"><value>dilivSms</value></property>
  <property name="dsn"><value>diliv</value></property>
  <property name="type"><value>mssql</value></property>
  <property name="mapping"><value>/dilivSms/model/data</value></property>
  <property name="mode"><value>development</value></property>
 </bean>
  <!-- Put definitions for your own beans and services here -->
 
</beans>
 
and is throwing this error

Bean creation exception during init() of ModelGlue.unity.eventhandler.EventHandlerFactory


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to