Last change
on this file since 1648 was
1648,
checked in by work@…, 11 years ago
|
- advanced query page only shows previous query links if there are any
- changed topnav
- added base setup wizard
|
File size:
966 bytes
|
Line | |
---|
1 | <% |
---|
2 | /** |
---|
3 | * wizard refresh flow action |
---|
4 | * |
---|
5 | * An example of a way to trigger a refresh in your ajax flow |
---|
6 | * to refresh the rendered page. It will trigger the 'refresh' |
---|
7 | * event in your webflow definition. |
---|
8 | * |
---|
9 | * I use this together with a select element, where the last |
---|
10 | * option is 'add more'. When you select the last element a |
---|
11 | * jquery-ui dialog opens where you will be able to add more |
---|
12 | * elements to the select element. However, when the dialog |
---|
13 | * is cloded, the select needs to be updated with the newly |
---|
14 | * added options. So I call the refreshFlow(); JavaScript |
---|
15 | * function to refresh the page and the select element will |
---|
16 | * show the newly added options. |
---|
17 | * |
---|
18 | * @author Jeroen Wesbeek |
---|
19 | * @since 20110318 |
---|
20 | * |
---|
21 | * Revision information: |
---|
22 | * $Rev: 67320 $ |
---|
23 | * $Author: duh $ |
---|
24 | * $Date: 2010-12-22 17:49:27 +0100 (Wed, 22 Dec 2010) $ |
---|
25 | */ |
---|
26 | %> |
---|
27 | <script type="text/javascript"> |
---|
28 | function refreshFlow() { |
---|
29 | <af:ajaxSubmitJs name="refresh" afterSuccess="onPage()" /> |
---|
30 | } |
---|
31 | </script> |
---|
Note: See
TracBrowser
for help on using the repository browser.