I’ve been playing with Modules for the first time this afternoon. I’ve hit a stumbling block where it appears that the framework is looking in the parent application for the views, and not in the module, thus throwing an exception as they don’t exist:
Error Messages: Page //views/accounts/list.cfm [/Users/claudinelove/workspace/myapp/views/accounts/list.cfm] not found
The actualy path to the view for this event should be:
Thanks for clarifying that. It helped me spot the problem.
Basically I had a typo in my directory name in /modules/saas/acounts/list.cfm which I hadn't spotted.
So the framework didn't find the view within the module, skipped up a level to look in the app and couldn't find one there either, so through the exception.
I wonder if it's possible for the framework to throw a more descriptive error which says it was unable to find the view in either of the places it looked, rather than just stating the last place it looked.