source: trunk/grails-app/views/studyWizard/common/_on_page.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: 741 bytes
Line 
1<%
2/**
3 * wizard refresh flow action
4 *
5 * When a page (/ partial) is rendered, any DOM event handlers need to be
6 * (re-)attached. The af:ajaxButton, af:ajaxSubmitJs and af:redirect tags
7 * supports calling a JavaScript after the page has been rendered by passing
8 * the 'afterSuccess' argument.
9 *
10 * Example:     af:redirect afterSuccess="onPage();"
11 *              af:redirect afterSuccess="console.log('redirecting...');"
12 *
13 * Generally one would expect this code to add jQuery event handlers to
14 * DOM objects in the rendered page (/ partial).
15 *
16 * @author Jeroen Wesbeek
17 * @since  20101220
18 *
19 * Revision information:
20 * $Rev: 1430 $
21 * $Author: work@osx.eu $
22 * $Date: 2011-01-21 20:05:36 +0000 (vr, 21 jan 2011) $
23 */
24%>
25<script type="text/javascript">
26        function onPage() {
27                onStudyWizardPage();
28        }
29</script>
30
Note: See TracBrowser for help on using the repository browser.