This project is read-only.

View's navigation

Dec 4, 2008 at 12:22 AM
Edited Dec 4, 2008 at 4:02 PM

I don't know if this is a bug or not. I know that the framework isn't all done yet, and i maybe am missing some point along the code, but here it is to check:

Starting with the solution you provided, i added a new view, let's call it InsertForm. On the SearchForm i changed right menu option too a popup menu with 2 choices, Insert and Select.

The Select does the job as the DetailController, the Insert calls the InsertController which doesn't do anything besides showing the view (InsertForm) with a button to GoBack() action.

The problem happens in NavigationService, since it uses a List<string> and moves forward and back on the List based on a int mapping the index.

So if we navigate like this: LoginForm -> SearchForm -> InsertForm - back to -> SearchForm -> SelectForm: at this point when i hit back, the InsertForm shows up instead of the correct one SearchForm.

Shouldn't you try an aproach like a using a Stack of strings instead a List of strings?

Gonçalo Seabra Ferreira
Dec 4, 2008 at 3:59 PM
Could you please send your sample code that reproduces the problem?


Thanks... Alex