Luis Majano Forums Notification: Post to Automatically include views?

Title: RE: Automatically include views?
Thread: Automatically include views?
Forum: Need Help?
Conference: ColdBox
User: AdamFortuna

So, would it be possible the handler method called by the current page to not
set the view, and not have any code in it, but default to some view using this?
Or would some view need to be set before the postHandler() is called?

In other
words I'm not too sure on the order of events.

seems like..

prehandler
handler.method()
parse view
parse layout
postHandler
onRequestEnd Handler?

Or
does the postHandler fire before the view and layout are parsed, meaning that it
could set the view?

Also, are posthandlers global or are they set per handler
cfc (like prefuseactions in a circuit.xml file or something). I wasn't too sure
on that. :slight_smile:

Thanks for the quick responses!

http://www.luismajano.com/forums/index.cfm?event=ehMessages.dspMessages&threadid=272B932C-123F-6116-42827CF2D6C2A6E7