hottowel

Durandal Subrouting (Hottowel)

那年仲夏 提交于 2019-11-28 17:40:00
Basically, I am trying to create a menu inside a menu. So, within a main menu route, there will be a vertical menu with another set of routes. When clicking on the submenu routes, only a part of the page gets updated, and the vertical menu does not reload. I am guessing it would be similar to this KO fiddle http://jsfiddle.net/dPCjM/ , but there would need to another set of "ghost" KO directives in a main route view: <!--ko compose: {model: router.activeItem, afterCompose: router.afterCompose, transition: 'entrance'} --> <!--/ko--> and some other configs on the durandal router... EDIT: And to

HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory

谁说胖子不能爱 提交于 2019-11-28 09:18:42
After finishing the John Papa course on Pluralsight- which is AWESOME by the way!!! ) I'm now creating my first SPA. I come from Desktop Application Developer background so excuse me if this question is newbie! When I load the SPA instead of seeing the splash screen and then the main screen I'm getting this error message: HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.Most likely causes: A default document is not configured for the requested URL, and directory browsing is not enabled on the server. Can anyone help fix this? r pattanaik 1

How to use dropdowns for Durandal navigation?

拈花ヽ惹草 提交于 2019-11-28 03:38:29
问题 I've just started working with Durandal and all the pieces are falling into place, and am using the Hot Towel template to speed things up. One thing that stumps me is how to create a more complex hierarchical navigation system than a buttongroup. Here's what I want to end up with: A B C A1 B1 C1 A2 B2 C2 A, B, and C are the top-level menus that have no routes attached to them - they are simply placeholders. I will have views and viewmodels for A1, A2, B1, B2, C1, and C2 and need those hash

Durandal Subrouting (Hottowel)

偶尔善良 提交于 2019-11-27 10:39:56
问题 Basically, I am trying to create a menu inside a menu. So, within a main menu route, there will be a vertical menu with another set of routes. When clicking on the submenu routes, only a part of the page gets updated, and the vertical menu does not reload. I am guessing it would be similar to this KO fiddle http://jsfiddle.net/dPCjM/, but there would need to another set of "ghost" KO directives in a main route view: <!--ko compose: {model: router.activeItem, afterCompose: router.afterCompose,