Mar 5, 2010, 3:21:52 PM (14 years ago)

Refectored version of the wizard

  • initial template page has been removed, now is a generic 'start' page where one (in the future) may create a new study, or load and modify an already stored study
  • study page incorporates study template select element, but does not yet incorporate the study template fields
  • subjects page now allows creation of subjects based on a template. This change also implied the study page altogether had to change into a seperate table entity. Now the the page lists as many tables as unique templates have been selected. These tables contain all subjects that were added using that particular template. NOTE: data is not stored yet, due to the fact that templateEntity does not work properly yey (key/value pairs need to be set correctly when calling the setTemplate method)
  • the JavaScript? now handles multiple tables in a page as well, and automatically initializes any underlying slider div if that is required
1 edited


  • trunk/grails-app/views/wizard/pages/_study.gsp

    r213 r238  
    2121        </span>
     23        <wizard:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}">
     24                The template to use for this study
     25        </wizard:templateElement>
    2326        <wizard:textFieldElement name="title" description="Title" error="title" value="${study?.title}">
    2427                The title of the study you are creating
    3942                The start date of the study     
    4043        </wizard:dateElement>
     45        <span class="info">
     46                <span class="title">TODO</span>
     47                This page should also contain the template fields of the study template selected above (if available). This is
     48                scheduled for implementation in a later version
     49        </span>
Note: See TracChangeset for help on using the changeset viewer.