I changed things to reflect a reply on another thread, but still it
doesn't work. Here's the revised code. It includes the footer
commented out like you suggested.
<event-handler name="page.index" type="MainTemplate">
<broadcasts />
<results />
<views>
<include name="body" template="pages/index.cfm" />
</views>
</event-handler>
<event-handler access="private" name="template.main" type="">
<broadcasts />
<views>
<include name="main" template="templates/main.cfm" />
</views>
</event-handler>
<event-type name="MainTemplate">
<after>
<broadcasts>
<message name="templates.header" />
<message name="templates.footer" />
</broadcasts>
<results>
<result do="template.main" />
</results>
<views>
<include name="header" template="templates/header.cfm"
/>
<!-- <include name="footer"
template="templates/footer.cfm" /> -->
</views>
</after>
</event-type>
The order of results is unchaged, and still no output. The main.cfm
code remains the same as in the first message of this thread.
3703ms Message Broadcast Broadcasting "onQueueComplete"
<message name="onQueueComplete">
3703ms Views Rendering view "body" (pages/index.cfm)
<include name="body" template="pages/index.cfm" />
3844ms Views Rendering view "header" (templates/header.cfm)
<include name="header" template="templates/header.cfm" />
3875ms Views Rendering view "main" (templates/main.cfm)
<include name="main" template="templates/main.cfm" />
3922ms Event Queue Queueing event handler: modelglue.onRequestEnd
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---