Duh! Of-course it won't work if I have output="false". Nice catch. So, only correction [for anyone who sees this post] is, the method name is onMissingTemplate (you had onMissingMethod by mistake).
Thanks Peter! Sumit On Tue, Jan 12, 2010 at 5:21 PM, Peter J. Farrell <[email protected]> wrote: > Sumit Verma said the following on 12/01/10 16:01: > > Correct. It will either need to be public or if it is private it can >> be handled with EventHandlerNotAccessible type (not perfect, but at- >> least will display friendly page). >> >> The only reason I say yours may not work is because, I remember >> reading, that to display content in onMissingTemplate you need to use >> cfinclude. I could be wrong though... >> >> > Have you tried not using cfinclude? Actually, the docs from Adobe says to > *not* use a cflocation ironically. Yes, in my experience you can output > direct in the function if you return true and set output="true" (or calling > into Mach-II is essentially the same thing as a cfinclude). > > > http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=AppEvents_07.html > > Best, > .Peter > > -- > You received this message because you are subscribed to Mach-II for CFML > list. > 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/mach-ii-for-coldfusion?hl=en > SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ > Wiki / Documentation / Tickets: > http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ >
-- You received this message because you are subscribed to Mach-II for CFML list. 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/mach-ii-for-coldfusion?hl=en SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/ Wiki / Documentation / Tickets: http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
