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/response.html

    r419 r420  
    66        <link rel="stylesheet" type="text/css" href="qed/css/main.css" />
    77    </head>
    8     <body class="dijitReset claro">
     8    <body id="rft" class="dijitReset claro">
    99        <script type="text/javascript" src="dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: false, isDebug: true"></script>
    10         <script type="text/javascript" src="qed/view.js"></script>
     10        <script type="text/javascript" src="qed/main-response.js"></script>
    1111        <div id="content" class="page" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center'" style="width: 100%; height: 100%;">
    12             <div class="topbar" data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">
    13                 <h1>Survey</h1>
    14             </div>
    1512        </div>
    1613        <div id="toaster" data-dojo-type="qed/app/Notifications">
Note: See TracChangeset for help on using the changeset viewer.