Ignore:
Timestamp:
12/16/12 20:07:35 (12 years ago)
Author:
hendrikvanantwerpen
Message:

We can store answers for surveys now!

Introduces SurveyRun?, which can be edited. Workflow not quite clear yet. A
running survey can be accessed to leave a response. When the response
has an ID, it is loaded (used for closed surveys and continuations). A
researcher cannot create responses yet. He should also be able to add
comments to responses (that he creates).

Introduced caching of store requests.

Factored out path matching and formatting.

Put object creation in separate classes, to localize model/storage
dependency. Not consistent at the moment.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/qed/pages/templates/previewSurvey.html

    r418 r420  
    99   
    1010    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'" data-dojo-attach-point="questionsPane">
    11         <form data-dojo-type="dijit/form/Form" data-dojo-attach-point="questionsForm"
    12               data-dojo-attach-event="onSubmit:_onSubmit"
    13               style="overflow: auto">
    14             <div data-dojo-attach-point="questionsAnchor"></div>
     11        <form data-dojo-type="dijit/form/Form" data-dojo-attach-point="questionsForm" style="overflow: auto">
     12            <div data-dojo-type="qed/model/widgets/SurveyWidget" data-dojo-attach-point="surveyWidget"></div>
    1513        </form>
    1614    </div>
    1715   
    18     <div data-dojo-attach-point="buttonsPane" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">
    19         <button data-dojo-type="dijit/form/Button"
    20                 type="submit"
    21                 data-dojo-attach-event="onClick:_onSubmit">
    22             Submit</button>
    23         <button data-dojo-type="dijit/form/Button"
    24                 type="button"
    25                 data-dojo-attach-event="onClick:_onCancel">
    26             Cancel</button>
    27     </div>
    28 
    2916</div>
Note: See TracChangeset for help on using the changeset viewer.