Quantcast
Channel: patterns & practices: Prism
Viewing all articles
Browse latest Browse all 1878

New Post: OMG - Where is the Journal Back Stack?

$
0
0
I'm coming down the home stretch of converting my substantial WPF application into Prism and I've just hit a major wall. Where is the access to the navigation stack? WPF and Silverlight have a concept of RemoveBackEntry which is critical in any real-life application. Let's say I've just navigated to:

pack://application:,,,;/Customers?path=\Customer\JohnSmith

Which is a maintenance page for customers. Now I change the name to 'JohnSmythe'. The URI that I used to navigate to this page is no longer useful and will actually corrupt the navigation because we can't find this resource any more (because the name has changed). Unfortunately, it's still on the navigation stack.

So where is the 'RemoveBackEntry' function and/or access to the journal stack? You can't possibly build a real-life application without being able to remove entries that have been made obsolete.

Viewing all articles
Browse latest Browse all 1878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>