To use the same data view for both creating new tasks and editing existing ones, you’ll want to use a helper object pattern. You’ll use a helper object to “wrap” the list view, and that will give you control over what is selected in the list view, and what happens when you click the “save” button.
This is rather hard to describe in pure text, so I put together a simple demo model using Mendix 8.1. You can download and open this file in Studio Pro 8.1:
https://www.dropbox.com/s/yuxcstyh5ix36vy/SimpleToDo.mpk?dl=0
Awesome, thanks. That helps a lot.
Is this the best practice? Are there other (more easy ways) to do it?
What is the reason my proposal is not working? You can glue it together that way and it works half.