Locating Workspaces

Topics: CAB & Smart Client Software Factory
May 18, 2006 at 4:14 AM
originally posted by: markgmarkg


I developed 2 modules (based on ideas in BankTellerWorkbench):
module A - simple shell layout (implemented as a smartpart) with 2 deck workspaces: right and left
module B - contains simple list view

I set dependencies between modules and they are loaded correctly.

The problem occurs when I try to show the list in named workspace (the "left" one).
This workspace cannot be located.

Actually, the root workitem is the one that passed during module B loading (via injectionconstructor), and root workitem has no idea about new workspaces that module A contains.
Should it be this way?

The BankTellerWorkbench has Shell.Layout module that contains a smart part, which has few workspaces. This module loaded as standard module and it's worspaces are available from other modules.

I tried to find something special that was done in BankTellerWorkbench sample, but everything looks the simple - workspaces from "Shell.Layout" are available from other workitems.
How this is achieved?

What am I missing?