{
    '/home': {
        '/worksets': {
            on: ['hideFavoritesStar', 'renderUserInfo', 'unlock', 'renderFavorites', 'renderMessages', 'unlockScenario'],
            once: ['renderWorksets', 'UIBehaviorsWorksets', 'UIBehaviorsHome', 'UIBehaviorsSummary', 'renderSettings', 'renderComments'],
            //once: ['renderWorksets','renderSummary','UIBehaviorsHome', 'UIBehaviorsWorksets', 'UIBehaviorsSummary'],
            after: ['renderWorksets']
        }
    },
    '/workset': {
        '/authorizations': {
            on: ['renderWorksetAuthGrid', 'unlockScenario'],
            once: 'UIBehaviorsWorksetAuth'
        },
        '/costobjectdetails': {
            on: ['renderWorksetCostObjectGrid', 'unlockScenario'],
            once: 'UIBehaviorsWorksetCostObject'
        },
        '/peopledetails': {
            on: ['lockScenario', 'renderWorksetPeopleGrid'],
            once: ['UIBehaviorsPeople', 'UIBehaviorsWorksetPeople']
        },
        '/scenarios': {
            on: ['renderWorksetScenarios', 'unlockScenario'],
            once: ['UIBehaviorsWorksetScenarios']
        },
        '/reports': 'renderReports',
        on: ['renderWorksetContextDetails', 'unlockScenario']
    },
    '/signin': 'UIBehaviorsSignin',
    '/search': {
        on: 'search',
        once: ['UIBehaviorsSearch', 'unlock']
    },
    '/dwsearch': {
        on: 'dwsearch',
        once: ['UIBehaviorsDWSearch', 'unlock']
    },

    '/costobject': {
        '/tracking': {
            on: ['renderTrackingGrid', 'unlockScenario'],
            once: 'UIBehaviorsTracking'
        },
        '/people': {
            on: ['lockScenario', 'renderPeopleGrid'],
            once: 'UIBehaviorsPeople'
        },
        '/forecasting': {
            on: ['lockScenario', 'renderForecastingGrid'],
            once: 'UIBehaviorsForecasting'
        },
        '/overview': {
            on: ['renderCostobjectOverview', 'unlockScenario'],
            once: 'UIBehaviorsWorksetOverview'
        },
        '/reports': {
            on: ['renderReports', 'unlockScenario']
        },
        on: ['renderCostobjectContextDetails', 'renderCostobjectDetails']
    },
    '/person': {
        '/reports': {
            on: 'renderReports'
        },
        '/details': {
            on: 'renderPersonDetails'
        },
        '/overview': {
            on: 'renderPersonOverview'
        },
        on: ['renderPersonContextDetails'],
        once: 'UIBehaviorsPerson'
    },
    before: 'preRoute',
    leave: 'postRoute',
    once: 'UIBehaviorsContext'
}
  • No labels