source: trunk/grails-app/views/wizard/pages/_study.gsp @ 396

Last change on this file since 396 was 396, checked in by duh, 11 years ago
  • fixed incomplete implementation of domain fields (getters, setters and constrains logic were all not implemented correctly)
  • refactored wizards pages
  • TODO: constraints on (templated) domain fields are not working anymore, this needs to be implemented properly in TemplateEntity?
  • Property svn:keywords set to Date Author Rev
File size: 1.0 KB
Line 
1<%
2/**
3 * Study page
4 *
5 * @author  Jeroen Wesbeek
6 * @since   20100113
7 * @package wizard
8 * @see     dbnp.studycapturing.WizardTagLib::previousNext
9 * @see     dbnp.studycapturing.WizardController
10 *
11 * Revision information:
12 * $Rev: 396 $
13 * $Author: duh $
14 * $Date: 2010-05-07 12:24:27 +0000 (vr, 07 mei 2010) $
15 */
16%>
17<wizard:pageContent>
18        <span class="info">
19                <span class="title">Define the basic properties of your study</span>
20                Pick the study template of choice (currently a fixed set) and define your study values. In this prototype the
21                templated fields (below the 'note' box) are not yet handled so you can leave them empty for now.
22        </span>
23       
24        <wizard:templateElement name="template" description="Template" value="${study?.template}" entity="${dbnp.studycapturing.Study}" addDummy="true" ajaxOnChange="switchTemplate" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" >
25                The template to use for this study
26        </wizard:templateElement>
27        <g:if test="${study}"><wizard:templateElements entity="${study}" /></g:if>
28</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.