|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codehaus.groovy.grails.plugins.web.taglib.JavascriptTagLib
@Artefact("TagLibrary")
class JavascriptTagLib
extends java.lang.Object
Tags for developing javascript and ajax applications.
| Field Summary | |
|---|---|
static java.lang.String |
INCLUDED_LIBRARIES
Mappings to the relevant files to be included for each library. |
| Property Summary | |
|---|---|
static java.lang.String |
CONTROLLER
|
static java.lang.String |
INCLUDED_JS
|
static java.lang.Object |
LIBRARY_MAPPINGS
|
static java.lang.Object |
PROVIDER_MAPPINGS
|
org.springframework.context.ApplicationContext |
applicationContext
|
CodecLookup |
codecLookup
|
java.lang.Class |
defaultProvider
|
static java.lang.Object |
encodeAsForTags
|
groovy.lang.Closure |
escapeJavascript
Escapes a javascript string replacing single/double quotes and new lines. |
groovy.lang.Closure |
formRemote
A form which uses the javascript provider to serialize its parameters and submit via an asynchronous ajax call. |
boolean |
hasResourceProcessor
|
groovy.lang.Closure |
javascript
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: |
GrailsPluginManager |
pluginManager
|
groovy.lang.Closure |
remoteField
A field that sends its value to a remote link. |
groovy.lang.Closure |
remoteFunction
Creates a remote function call. |
groovy.lang.Closure |
remoteLink
Creates a link to a remote uri that can be invoked via ajax. |
groovy.lang.Closure |
setProvider
|
groovy.lang.Closure |
submitToRemote
Creates a form submit button that submits the current form to a remote ajax call. |
| Constructor Summary | |
JavascriptTagLib()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object | |
|---|---|
| java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
| Field Detail |
|---|
public static final java.lang.String INCLUDED_LIBRARIES
| Property Detail |
|---|
static final java.lang.String CONTROLLER
static final java.lang.String INCLUDED_JS
static final java.lang.Object LIBRARY_MAPPINGS
static final java.lang.Object PROVIDER_MAPPINGS
org.springframework.context.ApplicationContext applicationContext
CodecLookup codecLookup
java.lang.Class defaultProvider
static java.lang.Object encodeAsForTags
groovy.lang.Closure escapeJavascript
groovy.lang.Closure formRemote
boolean hasResourceProcessor
groovy.lang.Closure javascript
GrailsPluginManager pluginManager
groovy.lang.Closure remoteField
groovy.lang.Closure remoteFunction
groovy.lang.Closure remoteLink
groovy.lang.Closure setProvider
groovy.lang.Closure submitToRemote
| Constructor Detail |
|---|
JavascriptTagLib()
Groovy Documentation