source: trunk/grails-app/taglib/dbnp/query/QueryTagLib.groovy @ 314

Last change on this file since 314 was 314, checked in by jahn, 12 years ago

Empty shell for Query workflow.

File size: 837 bytes
Line 
1package dbnp.studycapturing
2
3import org.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib
4import dbnp.studycapturing.*
5import dbnp.data.*
6
7/**
8 * Wizard tag library
9 *
10 * @author Jeroen Wesbeek
11 * @since 20100113
12 * @package wizard
13 *
14 * Revision information:
15 * $Rev$
16 * $Author$
17 * $Date$
18 */
19
20class QueryTagLib extends JavascriptTagLib {
21
22        /**
23         * render the content of a particular wizard page
24         * @param Map attrs
25         * @param Closure body  (help text)
26         */
27
28        def pageContent = {attrs, body ->
29                // define AJAX provider
30                setProvider([library: ajaxProvider])
31
32                // render new body content
33                /*
34                out << render(template: "/wizard/common/tabs")
35                out << '<div class="content">'
36                out << body()
37                out << '</div>'
38                out << render(template: "/wizard/common/navigation")
39                out << render(template: "/wizard/common/error")
40                */
41        }
42
43}
Note: See TracBrowser for help on using the repository browser.