Hi Len,

The event generation feature has changed a bit since the training materials
were put together -- in order to get it up and running, you'll need to add
a couple of things to your ColdSpring.xml configuration file.

1. Add /modelglueextensions/modelglue to your viewMappings, so this
configuration value should look something like this:

<property
name="viewMappings"><value>/myApp/views,/myApp/views/generated,/modelglueextensions/modelglue</value></property>

2. Add an assetMappings property:

<property
name="assetMappings"><value>/modelglueextensions/jQuery,/modelglueextensions/modelglue</value></property>

(This needs to be somewhere within the modelglue.modelGlueConfiguration
bean, so right after the helperMappings property would work.)

Also, the new version of this functionality is dependent upon some CSS and
JavaScript files that are found in the modelglueextensions directory, so
make sure that it is web-accessible at the /modelglueextensions URL. In
other words, if you are hitting the site at http://localhost/myApp/, then
you need to be able to reach the directory at:

http://localhost/modelglueextensions/

The updated event generation functionality is not documented yet, but
hopefully should be fairly intuitive. Please post back to the list with any
questions you have or problems you encounter.

--
Ezra Parker


On Fri, May 4, 2012 at 9:09 AM, Len Engel <[email protected]> wrote:

> I am new to model-glue so working through the Training Section.  Have
> gotten as far as Section 7 -- I am getting a error
> The template (generateEvent.cfm) was not found in any registered view
> mappings
>
> Any assistance would be greatly appreciated.
>
> --
> 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

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