Ignore:
Timestamp:
07/23/12 17:03:47 (13 years ago)
Author:
jkraaijeveld
Message:

Started work on loading questions into the question editor if the already exist.

Location:
Dev/branches/rest-dojo-ui/client/rft/ui
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Dev/branches/rest-dojo-ui/client/rft/ui/AccordionList.js

    r316 r372  
    1111            idProperty: null,
    1212            categoryProperty: null,
    13             titleProperty: null,
     13            titleProperty: "test",
    1414            actions: null,
    1515            _widgets: null,
  • Dev/branches/rest-dojo-ui/client/rft/ui/QuestionEditorToolkit.js

    r366 r372  
    1414
    1515                        templateString: template,
     16                        question: null,
     17
    1618                        postCreate: function(){
    1719                                this.contentSource = new dojo.dnd.Source(this.ToolkitContentSourceNode, {
  • Dev/branches/rest-dojo-ui/client/rft/ui/templates/QuestionEditorToolkit.html

    r366 r372  
    22        <div data-dojo-type="dijit.layout.AccordionContainer" class="orange">
    33                <div data-dojo-type="dijit.layout.ContentPane" title="Properties" data-dojo-props="iconClass:'rftIcon rftIconProperties'">
    4                         <form id="propertiesForm">
     4            <div id="propertiesForm" data-dojo-type="dijit.form.Form" data-dojo-attach-point="propertiesForm" data-rft-attach-event="onSubmit:onSave">
    55                                <fieldset class="align">
    6                                         <label for="propertiesTitle">Title:</label><input data-dojo-type="dijit.form.TextBox" id="propertiesTitle"/>
    7                                         <label for="propertiesCode">Code:</label><input data-dojo-type="dijit.form.TextBox" id="propertiesCode"/>
    8                                         <label for="propertiesCategories">Categories:</label><input data-dojo-type="dijit.form.FilteringSelect" id="propertiesCategories"/>
    9                                         <label for="propertiesTopic">Topic:</label><input data-dojo-type="dijit.form.FilteringSelect" id="propertiesTopic"/>
    10                                         <label for="propertiesDescription">Description:</label><textarea data-dojo-type="dijit.form.Textarea" id="propertiesDescription"></textarea>
     6                                        <label for="propertiesTitle">Title:</label><input data-dojo-type="dijit.form.TextBox" id="propertiesTitle" name="title"/>
     7                                        <label for="propertiesCode">Code:</label><input data-dojo-type="dijit.form.TextBox" id="propertiesCode" name= "code"/>
     8                                        <label for="propertiesCategories">Categories:</label><input data-dojo-type="dijit.form.FilteringSelect" id="propertiesCategories" name="categories"/>
     9                                        <label for="propertiesTopic">Topic:</label><input data-dojo-type="dijit.form.FilteringSelect" id="propertiesTopic" name="topic"/>
     10                                        <label for="propertiesDescription">Description:</label><textarea data-dojo-type="dijit.form.Textarea" id="propertiesDescription" name="description"></textarea>
    1111                                </fieldset>
    12                         </form>
     12                        </div>
    1313                </div>
    1414
Note: See TracChangeset for help on using the changeset viewer.