Title: Automatically include views?
Thread: Automatically include views?
Forum: Need Help?
Would it be possible to automatically include views at some point in the page
request? For instance, if the user is going to user.home, if no view is
explicitly rendered in the user.home handler then in some event after that could
parse the event using requestContext.getCurrentevent() and tell it to include
the user/home view? If requestContext.getCurrentView() is not blank it would
skip this step altogether of course.
From the look of things if there is no
view included in the handler then coldbox will throw an error as of now. I
wonder if it would be possible for it not to throw an error at this point, and
then include that view at a later time?