Last change
on this file since 499 was
499,
checked in by duh, 12 years ago
|
- fixed Vincent's commit (498) which broke the repository, you need to get cake boy!
|
-
Property svn:keywords set to
Date Author Rev
|
File size:
604 bytes
|
Rev | Line | |
---|
[478] | 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: 499 $ |
---|
| 12 | * $Author: duh $ |
---|
| 13 | * $Date: 2010-05-31 07:56:03 +0000 (ma, 31 mei 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 | |
---|
[499] | 36 | query { |
---|
| 37 | render(view: "simpleuery") |
---|
| 38 | } |
---|
[498] | 39 | } |
---|
[478] | 40 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.