Groovy Documentation

grails-app.taglib
Class JQueryTagLib

java.lang.Object
  grails-app.taglib.JQueryTagLib

class JQueryTagLib

author:
Sergey Nebolsin (nebolsin@prophotos.ru)
author:
Finn Herpich (finn.herpich marfinn-software de)


Property Summary
private groovy.lang.GroovyClassLoader classLoader

groovy.util.ConfigObject config

def fieldValue

Creates a jQuery-function which returns the value of the specified element

def jQueryConfig

def jQuerySources

def jQueryVersion

def jquery

Adds the jQuery().ready function to the code

static def namespace

def plugin

Includes a plugin javascript file

def toggle

Simple tag to make an element toggleable sourceId -> link-element which fires the toggle action targetId -> id of the element to toggle event -> event to fire the toggle action on (OPTIONAL) speed -> effect-speed (OPTIONAL)

def toggleelement

 
Constructor Summary
JQueryTagLib()

 
Method Summary
void setApplicationContext(ApplicationContext applicationContext)

Well, set the application context...

 
Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

classLoader

private groovy.lang.GroovyClassLoader classLoader


config

groovy.util.ConfigObject config


fieldValue

def fieldValue
Creates a jQuery-function which returns the value of the specified element
param:
attrs Must contain either an attribute selector or elementId that specifies the target element


jQueryConfig

def jQueryConfig


jQuerySources

def jQuerySources


jQueryVersion

def jQueryVersion


jquery

def jquery
Adds the jQuery().ready function to the code
param:
attrs No use
param:
body The javascript code to execute


namespace

static def namespace


plugin

def plugin
Includes a plugin javascript file
param:
attrs A plugin to use


toggle

def toggle
Simple tag to make an element toggleable
param:
attrs List with the arguments sourceId -> link-element which fires the toggle action targetId -> id of the element to toggle event -> event to fire the toggle action on (OPTIONAL) speed -> effect-speed (OPTIONAL)


toggleelement

def toggleelement


 
Constructor Detail

JQueryTagLib

JQueryTagLib()


 
Method Detail

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
Well, set the application context...


 

Groovy Documentation