J
jts-law
Guest
Rado, The getMenus() doesn't manipulate the DOM/html, it makes a REST call to get the users valid menu options and returns ttMenus. The navigation module is what updates the html template based on the records returned in ttMenus. My issue is that the navigation module runs immediately, before the lib service starts. How do you recommend running the navigation module so that it doesn't run until after the lib service initializes, and before the view is rendered so that the side navigation html template can be set? Also, if I start from the landing page, everything appears to work just fine. When I try refreshing the browser while on any view, I get errors when the side navigation template is set. If I hard code something into the side navigation template, or let the default "side-navigation\index.html" file load, I don't get any errors. Building my custom template takes a little longer because of the extra REST call to get the ttMenus table. Louis
Continue reading...
Continue reading...