Last change
on this file since 504 was
504,
checked in by vinlud, 12 years ago
|
Typo
|
-
Property svn:keywords set to
Date Author Rev
|
File size:
605 bytes
|
Line | |
---|
1 | /** |
---|
2 | * SimpleQueryController Controler |
---|
3 | * |
---|
4 | * Description of my controller |
---|
5 | * |
---|
6 | * @author vincent@ludden.nl |
---|
7 | * @since 20100526 |
---|
8 | * @package dbnp.query |
---|
9 | * |
---|
10 | * Revision information: |
---|
11 | * $Rev: 504 $ |
---|
12 | * $Author: vinlud $ |
---|
13 | * $Date: 2010-06-01 08:49:01 +0000 (di, 01 jun 2010) $ |
---|
14 | */ |
---|
15 | package dbnp.query |
---|
16 | |
---|
17 | class SimpleQueryController { |
---|
18 | /** |
---|
19 | * index closure |
---|
20 | */ |
---|
21 | def index = { |
---|
22 | redirect( action:'pages') |
---|
23 | } |
---|
24 | |
---|
25 | def pagesFlow = { |
---|
26 | |
---|
27 | onStart { |
---|
28 | println "Starting webflow simpleQuery" |
---|
29 | flow.page = 0 |
---|
30 | flow.pages = [ |
---|
31 | [title: 'Query'], |
---|
32 | [title: 'Results'] |
---|
33 | ] |
---|
34 | } |
---|
35 | |
---|
36 | query { |
---|
37 | render(view: "simplequery") |
---|
38 | } |
---|
39 | } |
---|
40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.