Guidance Needed on User Interface Process Application Block (UIPAB) - Starting a Open Navigation Task

Does anyone know of a good existing walkthrough-style tutorial on the UIPAB

I've read through the whole reference to the UIP Application Block a couple of times but I'm confused by something stated in the UIPAB reference:

Under the heading "Starting and Resuming Tasks" the reference tell you that to start a task you must call:

UIPManager.StartOpenNavigationTask(name As String, firstViewName As String)

where name is the name of the navigationGraph element in app.config. But elsewhere in the reference it states:

"If you are using the open navigator, you do not need to define any of the optional sections [includes navigationGraph element, I presume] because you call the views directly."

How then do you start an Open Navigator without naming it in the config file

Thanks for the help.
Mark



Answer this question

Guidance Needed on User Interface Process Application Block (UIPAB) - Starting a Open Navigation Task

  • Dennis Pillay

    Thanks. I'd Google'd those two before. I also found "Hello UIPAB" from the same website and "Structure the user experience with User Interface Process Application Block" which may be a bit too sparse for most but I also found "Using Design Patterns in the Presentation Layer" from Microsoft deals with the UIPAB quite well.

    Still wondering about the "starting an open navigator task" I mentioned above though.

    Thanks



  • Ian Fowlds

    Mark,

    I had problems getting this to work, when Calling the OpenNavigator. I found that I had to put the following default="true" atrributes in my web.config for the IviewManager and the State tag.

    <objectTypes>

    <iViewManager default="true" name="WebViewManager"

    type= "Microsoft.ApplicationBlocks.UIProcess.WebFormViewManager,Microsoft.ApplicationBlocks.UIProcess,Version=1.0.1.0,Culture=neutral,PublicKeyToken=null" />

    <state default="true" name="State"

    type="Microsoft.ApplicationBlocks.UIProcess.State,Microsoft.ApplicationBlocks.UIProcess,Version=1.0.1.0,Culture=neutral,PublicKeyToken=null" />

    Also found that upon calling the openNavigator, it did not matter what I passed in for the Nav param, but as soon as My controller called a method that depended on the Actual Navigation Graph, it blew up, so when I start with my open navigator, I pass in the name of the actual navigation Graph

    Hope this helps


  • TohKung

    Try http://www.codeproject.com/dotnet/UIPAB1.asp and http://www.codeproject.com/dotnet/UIPAB2.asp

    Arnon



  • Guidance Needed on User Interface Process Application Block (UIPAB) - Starting a Open Navigation Task