home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
How is the WorkflowManager Navigation Stack supposed to work?
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="offbyone" data-source="post: 830330" data-attributes="member: 73415"><p>In Onlinevideos I have 3 basic WorkflowStates: Sites -> Categories -> Videos. </p><p></p><p>Currently everytime a new state is entered, I push that WorkflowState on the NavigationStack using IWorkflowManager.NavigatePushAsync. </p><p></p><p>Sometimes there are Categories below Categories (recursive), so there are multiple Category - WorkflowStates on the Stack. It is then impossible to go back by pressing any previous state in the NavigationBar (going back one State by pressing ESC works fine).</p><p>I looked at WorkflowManager.NavigatePopToStateInternal, which is called in that case. It cannot handle multiple states with the same Id (Guid) on the stack:</p><p>[code]while (CurrentNavigationContext.WorkflowState.StateId != stateId)[/code]</p><p></p><p>What shall we do? I guess this scenario does not happen in the default Media Screens, but I think it is a valid one? If not, how should I re-code my Navigation?</p></blockquote><p></p>
[QUOTE="offbyone, post: 830330, member: 73415"] In Onlinevideos I have 3 basic WorkflowStates: Sites -> Categories -> Videos. Currently everytime a new state is entered, I push that WorkflowState on the NavigationStack using IWorkflowManager.NavigatePushAsync. Sometimes there are Categories below Categories (recursive), so there are multiple Category - WorkflowStates on the Stack. It is then impossible to go back by pressing any previous state in the NavigationBar (going back one State by pressing ESC works fine). I looked at WorkflowManager.NavigatePopToStateInternal, which is called in that case. It cannot handle multiple states with the same Id (Guid) on the stack: [code]while (CurrentNavigationContext.WorkflowState.StateId != stateId)[/code] What shall we do? I guess this scenario does not happen in the default Media Screens, but I think it is a valid one? If not, how should I re-code my Navigation? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
How is the WorkflowManager Navigation Stack supposed to work?
Contact us
RSS
Top
Bottom