source: Dev/trunk/src/client/qed-client/pages/templates/response.html @ 461

Last change on this file since 461 was 461, checked in by hendrikvanantwerpen, 12 years ago

Save answers, improved response page and question widgets.

  • Warn if _ComplexValueMixin is not pout on a form element, to prevent 'name' collisions. Changed all depending widgets to <form>'s.
  • Fixed names for question widgets to actually save answers.
  • Fixed and improved response page.
  • Fixed names in MultipleChoice? widget, which behaves different for radio and check.
File size: 1.1 KB
Line 
1<div class="blue">
2
3    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">
4        <h2>
5            <span class="rftIcon rftIconSurvey"></span>
6            <span class="headerText" data-dojo-attach-point="titleNode">Survey</span>
7        </h2>
8        <div data-dojo-attach-point="infoNode"></div>
9    </div>
10   
11    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'center'" data-dojo-attach-point="content">
12        <div name="answers" data-dojo-type="../model/widgets/SurveyRenderWidget" data-dojo-attach-point="surveyWidget"></div>
13    </div>
14   
15
16    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'bottom'">
17        <button data-dojo-type="dijit/form/Button"
18                type="submit"
19                data-dojo-attach-point="submitButton"
20                data-dojo-attach-event="onClick:_onSubmit">
21            Submit</button>
22        <button data-dojo-type="dijit/form/Button"
23                type="button"
24                data-dojo-attach-point="continueButton"
25                data-dojo-attach-event="onClick:_onContinueLater">
26            Continue later</button>
27    </div>
28
29</div>
Note: See TracBrowser for help on using the repository browser.