I have a site that has a main menu that is tabbed, and a sub-menu that always displays actions for the current selected tab.
For more areas on the site, this works perfectly, but one of the tabs is very complex. For example, the main tab is "Templates", and it's actions are "Create Template". The main "Templates" page lists all the templates for that user and offers links to deeper into it.
Now, each template has a list of tasks... and each task has its own actions. Each task also has a list of questions... and even each question has a bunch of actions and lists of other components.
How does one manage the menus for something like this? What tab should remain selected? How do you visually communicate this nested nature when using a main menu and a sub-menu?