creating a wizard with a view model

May 17, 2013 at 3:09 PM
Hi there.
I played around with the new IViewModel capabilities.
I found, once it is implemented, and loosk and behaves exactly like an persisted entity from the UI perspective. Which is a good thing, I guess. :)

However, in this case I was hoping for something slightly different.
I want to implement a wizard (with a Next action / button).

1 Menu.SomeAction() returns a view model.
2 Make some data selections etc.
3 Click next. (Next() returns a transient entity, pre-populating some properties off the view model.

It is with step 2 I am having a problem. Because it acts like a persisted entity, you have to first click Edit, make the changes, then Save, before Next can be clicked.
This adds 2 extra steps the user has to perform.
Thus, I can only use it in this case if I can some how get it to be in edit mode directly. And the actions should be actionable also.
Is there a way of achieving this?
Editor
May 17, 2013 at 3:12 PM
A custom page would do this, I presume? I'm guessing you don't want to do that, though?



May 17, 2013 at 4:15 PM
Yes. That might work. Tnx.