summary
Widget for easily moving data to/from form
description
gets and sets data to and from js-object. With this it's easy to create forms to application. Just create empty form, then set it's values with this and after user pushes submit, getValues and send them as json-notation to server.
Note: not all Form widgets are supported ATM
usage
<form dojoType="Form" id="myForm"> Name: <input type="text" name="name" /> </form>
myObj={name: "John Doe"}; dojo.widget.byId('myForm').setValues(myObj); myObj=dojo.widget.byId('myForm').getValues();