I have a form and a data model. I would like the form to be bound to the data model in a way that the data model could prepopulate the form as well as get the values entered by the user. Is it possible to use a data model in this way (two way use)?
I know I could use a static xml object for this, but I would like to avoid using 2 separate objects for accomplishing this.
Is there a framework or a best practice to do this?