I'm sure you're right! :)  

I want to override gesture/eventrequest/EventContext.cfc with my own 
version.  Can I do so by redefining this block in my mg.xml?

<bean id="modelglue.eventContextFactory" 
class="ModelGlue.gesture.eventrequest.EventContextFactory">
    <property name="modelGlue"><ref bean="modelglue.ModelGlue"/></property>
    <property name="statePersister"><ref 
bean="modelglue.statePersister"/></property>
    <property name="viewRenderer"><ref 
bean="modelglue.viewRenderer"/></property>
    <property name="beanPopulator"><ref 
bean="modelglue.beanPopulator"/></property>
    <property name="logWriter"><ref bean="modelglue.logWriter"/></property>
    <property 
name="objectPath"><value>ModelGlue.gesture.eventrequest.EventContext</value></property>
</bean>    

I will try your version of MG too later.


Brian



On Wednesday, November 7, 2012 8:18:18 PM UTC-8, Dan Wilson - 
[email protected] wrote:
>
> I'm pretty sure there is another way to add your change to the framework, 
> without monkey patching. 
>
> Nearly every cfc used by model Glue is defined in ColdSpring. You can 
> override the definition in your application specific ColdSpring 
> configuration. 
>
> I don't know what to tell you about the files I sent. These were exported 
> directly from SVN and not run through our build process. So there shouldn't 
> be version info in there. 
>
> I think you should figure out how to get your change out of the MG core 
> files. It's just going to complicate our troubleshooting. 
>
>

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

Reply via email to