Skip to content

Commit

Permalink
Changed to jQuery-version 1.4.2
Browse files Browse the repository at this point in the history
Applied GRAILSPLUGINS-2056
Applied GRAILSPLUGINS-1919
  • Loading branch information
Finn Herpich committed May 1, 2010
1 parent 489e6de commit 26658b0
Show file tree
Hide file tree
Showing 97 changed files with 12,086 additions and 43 deletions.
Empty file modified .classpath
100644 → 100755
Empty file.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .project
100644 → 100755
Empty file.
Empty file modified .settings/org.codehaus.groovy.eclipse.preferences.prefs
100644 → 100755
Empty file.
3 changes: 2 additions & 1 deletion JqueryGrailsPlugin.groovy
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.codehaus.groovy.grails.plugins.jquery.JQueryProvider
import org.codehaus.groovy.grails.commons.ConfigurationHolder

class JqueryGrailsPlugin {
def version = "1.4.1.1"
def version = "1.4.2.1"
def dependsOn = [:]
def author = "Sergey Nebolsin, Craig Jones and Finn Herpich"
def authorEmail = "nebolsin@gmail.com, craigjones@maximsc.com and finn.herpich@marfinn-software.de"
Expand All @@ -33,6 +33,7 @@ class JqueryGrailsPlugin {
GroovyClassLoader classLoader = new GroovyClassLoader(getClass().getClassLoader())

ConfigObject config = new ConfigSlurper().parse(classLoader.loadClass('JQueryConfig'))
.merge(new ConfigSlurper().parse(classLoader.loadClass('Config')))

def jQueryVersion = config.jquery.version
def jQuerySources = config.jquery.sources
Expand Down
Empty file modified LICENSE.txt
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions application.properties
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Grails Metadata file
#Sat Jan 16 11:45:45 CET 2010
app.grails.version=1.2.0
#Sat May 01 15:46:37 CEST 2010
app.grails.version=1.2.2
app.name=grails-jquery
plugins.hibernate=1.2.0
plugins.tomcat=1.2.0
plugins.hibernate=1.2.2
plugins.tomcat=1.2.2
4 changes: 2 additions & 2 deletions docs/gapi/DefaultPackage/JqueryGrailsPlugin.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:16 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:53:00 CET 2010 -->
<title>JqueryGrailsPlugin (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
Empty file modified docs/gapi/DefaultPackage/package-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/DefaultPackage/package-summary.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/allclasses-frame.html
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion docs/gapi/deprecated-list.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on -->
<title>Deprecated API (grails-jquery)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/grails-app/conf/JQueryConfig.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:15 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:58 CET 2010 -->
<title>JQueryConfig (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
Empty file modified docs/gapi/grails-app/conf/package-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/grails-app/conf/package-summary.html
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions docs/gapi/grails-app/services/JQueryService.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:16 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:59 CET 2010 -->
<title>JQueryService (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
Empty file modified docs/gapi/grails-app/services/package-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/grails-app/services/package-summary.html
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions docs/gapi/grails-app/taglib/JQueryResourceTagLib.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:16 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:58 CET 2010 -->
<title>JQueryResourceTagLib (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/grails-app/taglib/JQueryTagLib.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:16 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:59 CET 2010 -->
<title>JQueryTagLib (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
Empty file modified docs/gapi/grails-app/taglib/package-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/grails-app/taglib/package-summary.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/groovy.ico
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion docs/gapi/help-doc.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>API Help (grails-jquery)</title>
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">

<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion docs/gapi/index-all.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on -->
<title>Index (grails-jquery)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<link href="groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="groovy.ico" type="image/x-icon" rel="icon">
Expand Down
Empty file modified docs/gapi/index.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/inherit.gif
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified docs/gapi/overview-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/overview-summary.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/package-list
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions docs/gapi/scripts/_Install.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:17 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:53:00 CET 2010 -->
<title>_Install (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/scripts/_Uninstall.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:17 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:53:00 CET 2010 -->
<title>_Uninstall (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/scripts/_Upgrade.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:17 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:53:00 CET 2010 -->
<title>_Upgrade (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
Expand Down
Empty file modified docs/gapi/scripts/package-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/scripts/package-summary.html
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions docs/gapi/src/groovy/org/codehaus/groovy/grails/plugins/jquery/JQueryConfig.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:15 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:58 CET 2010 -->
<title>JQueryConfig (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../../../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../../../../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/src/groovy/org/codehaus/groovy/grails/plugins/jquery/JQueryProvider.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:15 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:58 CET 2010 -->
<title>JQueryProvider (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../../../../../../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../../../../../../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style">
Expand Down
Empty file.
Empty file.
Empty file modified docs/gapi/stylesheet.css
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions docs/gapi/test/unit/JQTagLibTests.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:15 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:58 CET 2010 -->
<title>JQTagLibTests (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/test/unit/JQueryResourceTagLibTests.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:16 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:59 CET 2010 -->
<title>JQueryResourceTagLibTests (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
4 changes: 2 additions & 2 deletions docs/gapi/test/unit/JQueryServiceTests.html
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<html>
<head>
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Tue Jan 26 14:09:16 CET 2010 -->
<!-- Generated by groovydoc (1.6.7-SNAPSHOT) on Sun Jan 31 19:52:59 CET 2010 -->
<title>JQueryServiceTests (Groovy Documentation)</title>
<meta name="date" content="2010-01-26">
<meta name="date" content="2010-01-31">
<link href="../../groovy.ico" type="image/x-icon" rel="shortcut icon">
<link href="../../groovy.ico" type="image/x-icon" rel="icon">
<link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
Expand Down
Empty file modified docs/gapi/test/unit/package-frame.html
100644 → 100755
Empty file.
Empty file modified docs/gapi/test/unit/package-summary.html
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion grails-app/conf/JQueryConfig.groovy
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jquery {
sources = 'jquery' // Holds the value where to store jQuery-js files /web-app/js/
version = '1.4.1' // The jQuery version in use
version = '1.4.2' // The jQuery version in use
}
11 changes: 11 additions & 0 deletions grails-app/conf/UrlMappings.groovy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
class UrlMappings {
static mappings = {
"/$controller/$action?/$id?"{
constraints {
// apply constraints here
}
}
"/"(view:"/index")
"500"(view:'/error')
}
}
Empty file.
Empty file modified grails-app/services/JQueryService.groovy
100644 → 100755
Empty file.
Empty file modified grails-app/taglib/JQueryResourceTagLib.groovy
100644 → 100755
Empty file.
Empty file modified grails-app/taglib/JQueryTagLib.groovy
100644 → 100755
Empty file.
Empty file modified grails-jquery-1.4.0.0.zip
100644 → 100755
Empty file.
Empty file modified grails-jquery-1.4.0.1.zip
100644 → 100755
Empty file.
Binary file added grails-jquery-1.4.1.1.zip
Binary file not shown.
10 changes: 5 additions & 5 deletions grails-jquery-grailsPlugins.iml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/../../../.grails/1.2.0/projects/grails-jquery/plugins/tomcat-1.2.0">
<sourceFolder url="file://$MODULE_DIR$/../../../.grails/1.2.0/projects/grails-jquery/plugins/tomcat-1.2.0/src/groovy" isTestSource="false" />
<content url="file://$USER_HOME_GRAILS$/1.2.2/projects/grails-jquery/plugins/tomcat-1.2.2">
<sourceFolder url="file://$USER_HOME_GRAILS$/1.2.2/projects/grails-jquery/plugins/tomcat-1.2.2/src/groovy" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Grails 1.2" level="application" />
<orderEntry type="library" name="Grails 1.2.2" level="application" />
<orderEntry type="module-library" exported="">
<library name="Grails User Library">
<CLASSES>
<root url="file://$MODULE_DIR$/../../../.grails/1.2.0/projects/grails-jquery/plugins/tomcat-1.2.0/lib" />
<root url="file://$USER_HOME_GRAILS$/1.2.2/projects/grails-jquery/plugins/tomcat-1.2.2/lib" />
</CLASSES>
<JAVADOC />
<SOURCES />
<jarDirectory url="file://$MODULE_DIR$/../../../.grails/1.2.0/projects/grails-jquery/plugins/tomcat-1.2.0/lib" recursive="false" />
<jarDirectory url="file://$USER_HOME_GRAILS$/1.2.2/projects/grails-jquery/plugins/tomcat-1.2.2/lib" recursive="false" />
</library>
</orderEntry>
</component>
Expand Down
10 changes: 9 additions & 1 deletion grails-jquery.iml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@
<sourceRoots />
</configuration>
</facet>
<facet type="Spring" name="Spring">
<configuration>
<fileset id="Grails" name="Grails" removed="false">
<file>file://$MODULE_DIR$/web-app/WEB-INF/applicationContext.xml</file>
</fileset>
</configuration>
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src/java" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/grails-app/utils" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/src/groovy" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/grails-app/controllers" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/grails-app/domain" isTestSource="false" />
Expand All @@ -24,7 +32,7 @@
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Grails 1.2" level="application" />
<orderEntry type="library" name="Grails 1.2.2" level="application" />
<orderEntry type="module-library">
<library name="Grails User Library">
<CLASSES>
Expand Down
Empty file modified plugin.xml
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion scripts/_Install.groovy
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ checkVersion()
configureProxy()

// Hard coded for installation purpose
def jQueryVersion = '1.4.1'
def jQueryVersion = '1.4.2'
def jQuerySources = 'jquery'

Ant.sequential {
Expand Down
Empty file modified scripts/_Uninstall.groovy
100644 → 100755
Empty file.
Empty file modified scripts/_Upgrade.groovy
100644 → 100755
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion src/groovy/org/codehaus/groovy/grails/plugins/jquery/JQueryProvider.groovy
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class JQueryProvider implements JavascriptProvider {

if (attrs.update instanceof Map) {
if (attrs.update?.failure) {
out << "jQuery('#${attrs.update?.failure}').html(textStatus);"
out << "jQuery('#${attrs.update?.failure}').html(XMLHttpRequest.responseText);"
}
}

Expand Down
Empty file modified test/unit/JQTagLibTests.groovy
100644 → 100755
Empty file.
Empty file modified test/unit/JQueryResourceTagLibTests.groovy
100644 → 100755
Empty file.
Empty file modified test/unit/JQueryServiceTests.groovy
100644 → 100755
Empty file.
Loading

0 comments on commit 26658b0

Please sign in to comment.