source: trunk/grails-app/views/wizard/pages/_one.gsp @ 101

Last change on this file since 101 was 101, checked in by duh, 13 years ago
  • refactored the wizard initial page to dynamically load pageOne, instead of rendering pageOne within the template itself. This was done because otherwise both the mainPage and pageOne had to contain duplicate logic. The ajaxified webflow works better this way.
  • added an <wizard:ajaxFlowRedirect...> tag which renders javascript code executing a jQuery ajax call (it actually wraps around <wizard:button...> tag but lifts the ajax call out of the button and wraps javascript tags around it)
  • improved the help / tooltip workings
  • extended the <wizard:button...> with an afterSuccess argument which executes some javascript after success. This is different from the default submitToRemote 'after' behaviour which is always executed in parallel with the ajax success call (hence, you javascript cannot access ajax result data while the afterSuccess method can)
  • Property svn:keywords set to Rev Author Date
File size: 873 bytes
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: 101 $
13 * $Author: duh $
14 * $Date: 2010-01-20 16:01:26 +0000 (wo, 20 jan 2010) $
15 */
16%>
17<wizard:pageContent>
18        <wizard:textFieldElement name="studyTitle" description="Title">
19                The title of the study you are creating
20        </wizard:textFieldElement>
21        <wizard:textFieldElement name="studyCode" description="Code">
22                A code to reference your study by
23        </wizard:textFieldElement>
24        <wizard:textFieldElement name="studyResearchQuestion" description="Research Question">
25                The research question
26        </wizard:textFieldElement>
27        <wizard:textFieldElement name="studyDescription" description="Description" />
28        <wizard:textFieldElement name="studyEcCode" description="Ethical Committee Code" />
29</wizard:pageContent>
Note: See TracBrowser for help on using the repository browser.