Hi,

 

I've been trying out the event types in MG3.

I got the following code to work: 

                        <event-handler name="page.index"
type="templatedPage">

                                    <broadcasts />

                                    <results />

                                    <views>

                                                <include name="body"
template="pages/index.cfm" />

                                    </views>

                        </event-handler>

 

However, when I tried this: 

                        <scaffold object="test" type="templatedPage" />

 

I got an error message, and I realised that the 'type' attribute is already
used by scaffolds.

 

I can work around this, as I normally copy the generated scaffold xml into
my ModelGlue.xml anyway. I'm not really sure of any solution other than
renaming one of the 'type' attributes.

 

Thanks,

 

Gareth

 


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