Ignore:
Timestamp:
12/09/12 16:49:22 (12 years ago)
Author:
hendrikvanantwerpen
Message:

Put all model dependent code in one place. More separation of general and domain code.

Location:
Dev/branches/rest-dojo-ui/client/rft/pages/templates
Files:
1 added
1 moved

Legend:

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

    r415 r417  
    3939         data-dojo-attach-point="propertiesDialog"
    4040         data-dojo-attach-event="onSubmit:_onPropertiesOk">
    41 
    42         <div data-dojo-type="rft/ui/model/SurveyForm"
    43               data-dojo-attach-point="propertiesForm"></div>
    44            
    45         <div>
    46             <button data-dojo-type="dijit/form/Button"
    47                     type="submit"
    48                     data-dojo-attach-event="onClick:_onPropertiesOk">
    49                 OK</button>
    50             <button data-dojo-type="dijit/form/Button"
    51                     type="button"
    52                     data-dojo-attach-event="onClick:_onPropertiesCancel">
    53                 Cancel</button>
    54         </div>
    55 
     41        <fieldset data-dojo-type="rft/model/widgets/SurveyFieldset"></fieldset>
     42        <button data-dojo-type="dijit/form/Button"
     43                type="submit"
     44                data-dojo-attach-event="onClick:_onPropertiesOk">
     45            OK</button>
     46        <button data-dojo-type="dijit/form/Button"
     47                type="button"
     48                data-dojo-attach-event="onClick:_onPropertiesCancel">
     49            Cancel</button>
    5650    </div>
    5751
Note: See TracChangeset for help on using the changeset viewer.