Ignore:
Timestamp:
12/04/12 16:29:49 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Support data validation and increase dendency separation.

Added json-schema validation before documents are saved. Acts both as
a safe-guard and as a reference of the data model.

Added directory for server related material. For now it contains scripts
to configure CouchDB and check validity of documents against the schema.

Started separating out parts that depend on the data model from parts
that do not.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/pages/survey.html

    r407 r415  
    4040         data-dojo-attach-event="onSubmit:_onPropertiesOk">
    4141
    42         <form data-dojo-type="dijit/form/Form"
    43               data-dojo-attach-point="propertiesForm">
    44             <label for="title">Title</label>
    45             <input data-dojo-type="dijit/form/TextBox" name="title"/><br/>
    46             <label for="description">Description</label>
    47             <input data-dojo-type="dijit/form/Textarea" name="description"/><br/>
    48         </form>
     42        <div data-dojo-type="rft/ui/model/SurveyForm"
     43              data-dojo-attach-point="propertiesForm"></div>
    4944           
    5045        <div>
Note: See TracChangeset for help on using the changeset viewer.