Table of Contents |
---|
maxlevel | 3 |
---|
minlevel | 2 |
---|
type | flat |
---|
separator | pipe |
---|
|
Table of Contents |
---|
maxlevel | 3 |
---|
minlevel | 2 |
---|
type | flat |
---|
separator | pipe |
---|
|
Description
Excerpt |
---|
Java scripting using Groovy |
Documentation
- Help available in the notation guide.
Parameters
- classpath - classpath used for Groovy compiles and runtime. Defaults to the script directory in the Confluence home directory. Normal classpath syntax should be used.
Common parameters
Pre-defined variables
- See Script Plugin for common variables
- html - MarkupBuilder for easily building html outputSee Pre-defined variables
Usage
No Format |
---|
{groovy}
println("Hello world");
{groovy}
|
...
No Format |
---|
|
{groovy:classpath=/sde/tools/gint-1.5.0.jar}
...
{groovy}
|
Using the
...
HTML markup builder
No Format |
---|
{groovy}
def list = [['a', 'b', 'c'], ['d', 'e', 'f'], ['g', 'h', 'i']]
html.table(class: 'confluenceTable') {
tbody {
list.each { row ->
tr {
row.each { column ->
td(class: 'confluenceTd', column)
}
}
}
}
}
{groovy}
|
Security
This macro supports Macro Security Plugin CMSP.