The Grails (Groovy on Rails) custom tag library
0.2
grails
http://grails.codehaus.org/tags
Includes a javascript src file, library or inline script
if the tag has no src or library attributes its assumed to be an inline script
javascript
org.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib
JSP
A predefined JavaScript or AJAX library to load
library
false
true
A custom (or unknown to Grails) JavaScript source file
src
false
true
Since 0.6 Specifies the full base url to prepend to the library name
base
false
true
false
Escapes a javasacript string replacing single/double quotes and new lines
escapeJavascript
org.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib
JSP
Creates a form submit button that submits the current form to a remote ajax call
submitToRemote
org.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib
JSP
name
true
true
value
false
true
id
false
true
class
false
true
A field that sends its value to a remote link
remoteField
org.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib
JSP
name
true
true
value
false
true
paramName
false
true
before
false
true
after
false
true
action
false
true
controller
false
true
id
false
true
params
false
true
asynchronous
false
true
method
false
true
update
false
true
onSuccess
false
true
onFailure
false
true
onComplete
false
true
onLoading
false
true
onLoaded
false
true
onUninitialized
false
true
on_ERROR_CODE
false
true
true
Enables the storing of a value into the given ${var}
set
org.codehaus.groovy.grails.web.taglib.GroovySetTag
JSP
The value to store
value
true
true
The name of the variable to store the value in
var
true
true
false
Enables the storing of a value into the given ${var} into the page context
def
org.codehaus.groovy.grails.web.taglib.GroovyDefTag
JSP
The value to store
value
true
true
The name of the variable to store the value in
var
true
true
false
Logical if tag to test whether the given condition is true
if
org.codehaus.groovy.grails.web.taglib.GroovyIfTag
JSP
The condition to test
test
true
true
false
Logical else tag as fallback if the if condition fails
else
org.codehaus.groovy.grails.web.taglib.GroovyElseTag
JSP
false
Logical elseif tag to test whether the given condition is true
elseif
org.codehaus.groovy.grails.web.taglib.GroovyElseIfTag
JSP
The condition to test
test
true
true
false
Tag to loop over a collection while the test expression returns true
while
org.codehaus.groovy.grails.web.taglib.GroovyWhileTag
JSP
The condition to test
test
true
true
false
Iterates over the given collection
each
org.codehaus.groovy.grails.web.taglib.GroovyEachTag
JSP
The collection to iterate over
in
true
true
An optional var-name to reference onto the elements
var
false
true
status
false
true
true
Iterates over the given collection
findAll
org.codehaus.groovy.grails.web.taglib.GroovyFindAllTag
JSP
The collection to iterate over
in
true
true
An optional var-name to reference onto the elements
var
false
true
The expression to filter the elements to iterate over
expr
true
true
status
false
true
true
Iterates over the given collection and collects the elements
you want to work with
collect
org.codehaus.groovy.grails.web.taglib.GroovyCollectTag
JSP
The collection to iterate over
in
true
true
An optional var-name to reference onto the elements
var
false
true
The expression to use to collect the elements. The
expression must retur true to add the element to the
collection
expr
true
true
status
false
true
false
Iterates over the given collection and filters the elements
with a regular expression
grep
org.codehaus.groovy.grails.web.taglib.GroovyGrepTag
JSP
The collection to iterate over
in
true
true
An optional var-name to reference onto the elements
var
false
true
The regular expression to filter the element with. The
filter is a simple Groovy Regex
filter
true
true
status
false
true
false
link
org.codehaus.groovy.grails.web.taglib.jsp.JspLinkTag
JSP
action
false
true
controller
false
true
id
false
true
url
false
true
params
false
true
true
form
org.codehaus.groovy.grails.web.taglib.jsp.JspFormTag
JSP
action
false
true
controller
false
true
id
false
true
url
false
true
method
true
true
true
select
org.codehaus.groovy.grails.web.taglib.jsp.JspSelectTag
JSP
name
true
true
value
false
true
optionKey
false
true
optionValue
false
true
true
datePicker
org.codehaus.groovy.grails.web.taglib.jsp.JspDatePickerTag
empty
name
true
true
value
false
true
precision
false
true
false
currencySelect
org.codehaus.groovy.grails.web.taglib.jsp.JspCurrencySelectTag
empty
name
true
true
value
false
true
true
localeSelect
org.codehaus.groovy.grails.web.taglib.jsp.JspLocaleSelectTag
empty
name
true
true
value
false
true
true
timeZoneSelect
org.codehaus.groovy.grails.web.taglib.jsp.JspTimeZoneSelectTag
empty
name
true
true
value
false
true
true
checkBox
org.codehaus.groovy.grails.web.taglib.jsp.JspCheckboxTag
empty
name
true
true
value
true
true
true
hasErrors
org.codehaus.groovy.grails.web.taglib.jsp.JspHasErrorsTag
JSP
model
false
true
bean
false
true
field
false
true
false
eachError
org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag
JSP
model
false
true
bean
false
true
field
false
true
false
renderErrors
org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag
JSP
model
false
true
bean
false
true
field
false
true
as
true
true
false
message
org.codehaus.groovy.grails.web.taglib.jsp.JspMessageTag
JSP
code
false
true
error
false
true
default
false
true
false
remoteFunction
org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteFunctionTag
empty
before
false
true
after
false
true
action
false
true
controller
false
true
id
false
true
url
false
true
params
false
true
asynchronous
false
true
method
false
true
update
false
true
onSuccess
false
true
onFailure
false
true
onComplete
false
true
onLoading
false
true
onLoaded
false
true
onInteractive
false
true
true
remoteLink
org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteLinkTag
JSP
before
false
true
after
false
true
action
false
true
controller
false
true
id
false
true
url
false
true
params
false
true
asynchronous
false
true
method
false
true
update
false
true
onSuccess
false
true
onFailure
false
true
onComplete
false
true
onLoading
false
true
onLoaded
false
true
onInteractive
false
true
true
formRemote
org.codehaus.groovy.grails.web.taglib.jsp.JspFormRemoteTag
JSP
before
false
true
after
false
true
action
false
true
controller
false
true
id
false
true
url
false
true
params
false
true
asynchronous
false
true
method
false
true
update
false
true
onSuccess
false
true
onFailure
false
true
onComplete
false
true
onLoading
false
true
onLoaded
false
true
onInteractive
false
true
true
invokeTag
org.codehaus.groovy.grails.web.taglib.jsp.JspInvokeGrailsTagLibTag
JSP
it
java.lang.Object
true
NESTED
name
true
true
true