Changeset 535
- Timestamp:
- Jun 4, 2010, 5:06:07 PM (13 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r533 r535 96 96 }.to "study" 97 97 on("modify").to "modify" 98 on("import").to "redirectToImport" 99 } 100 101 // redirect to the import wizard 102 redirectToImport { 103 render(view: "_redirect") 104 onRender { 105 flash.uri = "/importer/index" 106 } 107 on("next").to "start" 98 108 } 99 109 -
trunk/grails-app/views/wizard/pages/_redirect.gsp
r534 r535 1 1 <% 2 2 /** 3 * Protocolspage3 * Redirect page 4 4 * 5 5 * @author Jeroen Wesbeek … … 16 16 %> 17 17 <wizard:pageContent> 18 todo... 18 <script type="text/javascript"> 19 $(document).ready(function() { 20 window.location = "/${meta(name: 'app.name')}${uri}"; 21 }); 22 </script> 23 19 24 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_start.gsp
r526 r535 23 23 <wizard:ajaxButton name="modify" class="bigbutton" value="Edit an existing study" alt="Edit an existing study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" /> 24 24 25 <wizard:ajaxButton name="import" class="bigbutton" value="Import a study" alt="Import a study" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" /> 26 25 27 <span class="info"> 26 28 <span class="title">Create a new study via the step-by-step interface</span> … … 40 42 </span> 41 43 42 <g:if env="development"> 43 <span class="info"> 44 <span class="known">Known issues</span> 45 <ul> 46 <li>navigating away from the wizard will result in loss of work. While you are currently warned when 47 clicking links outside of the wizard, this problem still exists when clicking 'refresh' or the 48 back / forward buttons</li> 49 </ul> 50 </span> 51 <!--g:render template="pages/demo"//--> 52 </g:if> 44 <g:if env="development"><!--g:render template="pages/demo"//--></g:if> 53 45 54 46 </wizard:pageContent>
Note: See TracChangeset
for help on using the changeset viewer.