Mar 5, 2010, 3:21:52 PM (12 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/_eventDescriptions.gsp

    r217 r238  
    3030        </span>
    32         <wizard:termElement name="classification" description="Classification" error="classification" value="${values?.classification}">
    33                 The ontology reference for this particular type of event
    34         </wizard:termElement>
    3532        <wizard:textFieldElement name="name" description="Name" error="name" value="${values?.name}">
    3633                The name of the event description you are creating
    5047                        <div class="column">name</div>
    5148                        <div class="column">description</div>
    52                         <div class="column">classification</div>
    5349                        <div class="column">sampling event</div>
    5450                        <div class="column">protocol</div>
    6258                        <div class="column"><g:textField name="eventDescription_${i}_name" value="${eventDescription.name}" size="12" maxlength="12" /></div>
    6359                        <div class="column"><g:textField name="eventDescription_${i}_description" value="${eventDescription.description}" size="12" maxlength="12" /></div>
    64                         <div class="column"><wizard:termSelect name="eventDescription_${i}_classification" value="${eventDescription.classification}" /></div>
    6560                        <div class="column"><g:checkBox name="eventDescription_${i}_isSamplingEvent" value="${eventDescription.isSamplingEvent}" /></div>
    6661                        <div class="column"><g:if test="${eventDescription.protocol}">${eventDescription.protocol}</g:if><g:else>-</g:else></div>
Note: See TracChangeset for help on using the changeset viewer.