source: trunk/grails-app/views/importer/common/_ajaxflow.gsp @ 1430

Last change on this file since 1430 was 1430, checked in by work@…, 10 years ago
  • set keyword expansion
  • Property svn:keywords set to Rev Author Date
File size: 874 bytes
Line 
1<%
2/**
3 * main ajax flow template
4 *
5 * @author Jeroen Wesbeek
6 * @since  20101206
7 *
8 * Revision information:
9 * $Rev: 1430 $
10 * $Author: work@osx.eu $
11 * $Date: 2011-01-21 20:05:36 +0000 (vr, 21 jan 2011) $
12 */
13%>
14<div id="ajaxflow">
15<af:flow name="importer" class="ajaxFlow" commons="common" partials="pages" controller="[controller: 'importer', 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"/>
Note: See TracBrowser for help on using the repository browser.