source: trunk/grails-app/views/wizard/common/_navigation.gsp @ 527

Last change on this file since 527 was 527, checked in by roberth, 11 years ago

Adding of contacts is made possible in the study creation wizard.

  • Property svn:keywords set to Date Author Rev
File size: 1.4 KB
Line 
1<%
2/**
3 * Wizard navigational buttons
4 *
5 * @author  Jeroen Wesbeek
6 * @since   20100113
7 * @package wizard
8 * @see     dbnp.studycapturing.WizardController
9 *
10 * Revision information:
11 * $Rev: 527 $
12 * $Author: roberth $
13 * $Date: 2010-06-04 10:15:24 +0000 (vr, 04 jun 2010) $
14 */
15%>
16    <div class="navigation">
17      <g:if test="${page>1 && page<pages.size}"><wizard:ajaxButton name="previous" value="&laquo; prev" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if>
18          <g:if test="${cancel}">
19                [ <wizard:ajaxButton name="cancel" value="cancel" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /> ]
20          </g:if>
21      <g:elseif test="${page>1 && page<pages.size}">
22                  |               
23          </g:elseif>
24          <g:if test="${page<pages.size}"><wizard:ajaxButton name="next" value="next &raquo;" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" /></g:if>
25    </div>
26
27<script type="text/javascript">
28// scriptable webflow action
29function refreshWebFlow() {
30        <wizard:ajaxSubmitJs form="#wizardForm" name="refresh" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" />
31}
32</script>
Note: See TracBrowser for help on using the repository browser.