source: trunk/grails-app/views/studyWizard/common/_ajaxflow.gsp @ 1319

Last change on this file since 1319 was 1319, checked in by work@…, 10 years ago
  • updated ajaxflow to 0.1.10
  • added spinner / please wait support to ajaxflow
  • resolves issue #245
File size: 944 bytes
Line 
1<%
2/**
3 * main ajax flow template
4 *
5 * @author Jeroen Wesbeek
6 * @since  20101220
7 *
8 * Revision information:
9 * $Rev:  66849 $
10 * $Author:  duh $
11 * $Date:  2010-12-08 15:12:54 +0100 (Wed, 08 Dec 2010) $
12 */
13%>
14<div id="ajaxflow">
15<af:flow name="studyWizard" class="ajaxFlow" commons="common" partials="pages" controller="[controller: 'studyWizard', action: 'pages']" spinner="ajaxFlowWait">
16        <%      /**
17                 * The initial rendering of this template will result
18                 * in automatically triggering the 'next' event in
19                 * the webflow. This is required to render the initial
20                 * page / partial and done by using af:triggerEvent
21                 */ %>
22        <af:triggerEvent name="next" afterSuccess="onPage();" />
23</af:flow>
24<g:if env="development">
25<af:error class="ajaxFlowError">
26        [ajax errors go in here, normally it's safe to delete the af:error part]
27</af:error>
28</g:if>
29</div>
30<g:render template="common/on_page"/>
31<g:render template="common/please_wait"/>
32
Note: See TracBrowser for help on using the repository browser.