Friday, 27 September 2013

Durandal nested view composition

Durandal nested view composition

We are trying to build SPA Application using Durandal JS as a concept, we
have layout where there is top navigation panel and main container where
SPA content is loaded. in one of out views, we have left side panel with
navigation which should only change right panel of the same view. I know
that thee is child rout inside Durandal 2.0, but I am not able to achieve
what my goal is. clicking on top panel should change main container (there
are tow tabs on top) but on the second tab, where there is extra sub
navigation on the left side of loaded view I can not figure out how to
make Durandal to only change right panel of same view. I am not asking for
code not for concrete implementation, but for concept or theoretical
guidelines on how to achieve this.
I even tried using Areas inside durandal 2.0 but that seems to be
different from what I want to get as a result.

No comments:

Post a Comment