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

Last change on this file since 359 was 359, checked in by duh, 11 years ago
  • set keyword expansion
  • Property svn:keywords set to Date Author Rev
File size: 1.3 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: 359 $
12 * $Author: duh $
13 * $Date: 2010-04-20 12:42:20 +0000 (di, 20 apr 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">
28function refreshWebFlow() {
29        <wizard:ajaxSubmitJs name="refresh" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" />
30}
31</script>
Note: See TracBrowser for help on using the repository browser.