Depending on user choices, I need to instantiate and attach one of several chunks of UI and related functionality (basically glorified ViewStacks) in my Cairngorm based app. I know that Commands and the model are supposed to be completely separated from the view, but I am having a hard time thinking up a way to accomplish this.
Basically, when the user selects a certain task, I need to attach a set of screens to the stage and allow them to begin working. If they later choose a different option, I need to remove the existing stack and attach the new one. I am not using Modules due to the lack of a mature approach in Cairngorm based apps, and an accelerated timeline. My thinking is that I need at least a single Command with a reference to the parent component I will attach my screens to. Thoughts? Thanks, Ben

