Skip to content
Browse files

Integrated Burt's changes.

  • Loading branch information...
2 parents 36fc84b + b567316 commit 3644b5df6d881a090965133cd5def08548aa67ed @bwolff committed Nov 16, 2012
View
25 .classpath
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/groovy"/>
+ <classpathentry kind="src" path="src/docs"/>
+ <classpathentry kind="src" path="grails-app/conf"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="src" path=".link_to_grails_plugins/release-2.0.4/src/groovy">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/release-2.0.4/src/java">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="src" path=".link_to_grails_plugins/rest-client-builder-1.0.2/src/groovy">
+ <attributes>
+ <attribute name="org.grails.ide.eclipse.core.SOURCE_FOLDER" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.grails.ide.eclipse.core.CLASSPATH_CONTAINER"/>
+ <classpathentry exported="true" kind="con" path="GROOVY_DSL_SUPPORT"/>
+ <classpathentry kind="output" path="target/eclipseclasses"/>
+</classpath>
View
13 .gitignore
@@ -1,14 +1,9 @@
target
target-eclipse
-*.class
rwt-resources
-/plugins
-/web-app/plugins
-/web-app/WEB-INF/classes
-/tmp
-stacktrace.log
+*.log
eclipse
.settings
-.classpath
-.project
-plugin.xml
+plugin.xml
+*.zip
+web-app
View
32 .project
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>grails-rwt</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.grails.ide.eclipse.core.nature</nature>
+ <nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ </natures>
+ <linkedResources>
+ <link>
+ <name>.link_to_grails_plugins</name>
+ <type>2</type>
+ <location>D:/dev/git/grails-rwt.git/target/plugins</location>
+ </link>
+ </linkedResources>
+</projectDescription>
View
69 RwtGrailsPlugin.groovy
@@ -1,22 +1,10 @@
-import org.eclipse.rap.rwt.application.Application.OperationMode;
+import grails.plugins.rwt.EntryPointConfiguration
-import grails.plugins.rwt.EntryPointConfiguration;
+import org.eclipse.rap.rwt.application.Application.OperationMode
class RwtGrailsPlugin {
- // the plugin version
def version = "0.1"
- // the version or versions of Grails the plugin is designed for
def grailsVersion = "2.0 > *"
- // the other plugins this plugin depends on
- def dependsOn = [:]
- // resources that are excluded from plugin packaging
- def pluginExcludes = [
- "grails-app/views/**",
- "web-app/css/**",
- "web-app/images/**",
- "web-app/js/**"
- ]
-
def title = "The RAP Widget Toolkit (RWT) for Grails"
def author = "Benjamin Wolff"
def authorEmail = "benjamin.wolff@cern.ch"
@@ -26,24 +14,10 @@ application. It enables you to build your RWT and JFace powered user interfaces
complete Grails framework stack with all its powerful features and syntactic DSL sugar.
'''
- // URL to the plugin's documentation
def documentation = "http://bwolff.github.com/grails-rwt/"
- // Extra (optional) plugin metadata
-
- // License: one of 'APACHE', 'GPL2', 'GPL3'
def license = "APACHE"
-
- // Details of company behind the plugin (if there is one)
-// def organization = [ name: "My Company", url: "http://www.my-company.com/" ]
-
- // Any additional developers beyond the author specified above.
-// def developers = [ [ name: "Joe Bloggs", email: "joe@bloggs.net" ]]
-
- // Location of the plugin's issue tracker.
def issueManagement = [ system: "github", url: "https://github.com/bwolff/grails-rwt/issues" ]
-
- // Online location of the plugin's browseable source code.
def scm = [ url: "https://github.com/bwolff/grails-rwt/" ]
def doWithWebDescriptor = { xml ->
@@ -53,7 +27,7 @@ complete Grails framework stack with all its powerful features and syntactic DSL
log.warn "No RWT entry point configured. Skipping RWT servlet registration ..."
return
}
-
+
// Register the RWT servlet as the last servlet.
def servletElement = xml.'servlet'
def lastMapping = servletElement[servletElement.size() - 1]
@@ -63,7 +37,7 @@ complete Grails framework stack with all its powerful features and syntactic DSL
'servlet-class'("org.eclipse.rap.rwt.engine.RWTServlet")
}
}
-
+
// Add an RWT servlet mapping for each configured entry point path.
paths.each { path ->
def mappingElement = xml.'servlet-mapping'
@@ -74,7 +48,7 @@ complete Grails framework stack with all its powerful features and syntactic DSL
'url-pattern'(path)
}
}
-
+
log.info "Registered RWT servlet mapping for entry point path: ${path}"
}
}
@@ -92,7 +66,7 @@ complete Grails framework stack with all its powerful features and syntactic DSL
// is the recommended mode for new standalone RWT applications.
// See: http://eclipse.org/rap/developers-guide/devguide.php?topic=advanced/application-setup.html#compat
def opMode = application.config.rwt.operationmode ?: OperationMode.JEE_COMPATIBILITY
-
+
// Create the RWT ApplicationConfiguration bean.
rwtApplicationConfiguration(grails.plugins.rwt.ApplicationConfigurationBean) {
grailsApplication = ref('grailsApplication')
@@ -101,38 +75,15 @@ complete Grails framework stack with all its powerful features and syntactic DSL
}
}
- def doWithDynamicMethods = { ctx ->
- // TODO Implement registering dynamic methods to classes (optional)
- }
-
- def doWithApplicationContext = { applicationContext ->
- // TODO Implement post initialization spring config (optional)
- }
-
- def onChange = { event ->
- // TODO Implement code that is executed when any artefact that this plugin is
- // watching is modified and reloaded. The event contains: event.source,
- // event.application, event.manager, event.ctx, and event.plugin.
- }
-
- def onConfigChange = { event ->
- // TODO Implement code that is executed when the project configuration changes.
- // The event is the same as for 'onChange'.
- }
-
- def onShutdown = { event ->
- // TODO Implement code that is executed when the application shuts down (optional)
- }
-
- private getEntryPointPaths(def application) {
+ private getEntryPointPaths(application) {
return application.config.rwt.entrypoints.collect { name, values -> '/' + name }
}
-
- private getEntryPointConfigurations(def application) {
+
+ private getEntryPointConfigurations(application) {
application.config.rwt.entrypoints.collect { name, values ->
def path = '/' + name
def entryPointBeanName = values.bean ?: null // TODO This would be an error!
- def entryPointConfiguration = new EntryPointConfiguration()
+ def entryPointConfiguration = new EntryPointConfiguration()
entryPointConfiguration.path = path
entryPointConfiguration.entryPointBeanName = entryPointBeanName
entryPointConfiguration.pageTitle = values.pageTitle ?: null
View
3 application.properties
@@ -1,4 +1 @@
-#Grails Metadata file
-#Wed Oct 17 22:59:45 CEST 2012
app.grails.version=2.1.1
-app.name=rwt
View
44 grails-app/conf/BuildConfig.groovy
@@ -1,37 +1,19 @@
-grails.project.class.dir = "target/classes"
-grails.project.test.class.dir = "target/test-classes"
-grails.project.test.reports.dir = "target/test-reports"
+grails.project.work.dir = 'target'
+grails.project.source.level = 1.6
grails.project.dependency.resolution = {
- // inherit Grails' default dependencies
- inherits("global") {
- // uncomment to disable ehcache
- // excludes 'ehcache'
- }
- log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose'
+ inherits 'global'
+ log 'warn'
- repositories {
- grailsCentral()
- // uncomment the below to enable remote dependency resolution
- // from public Maven repositories
- //mavenLocal()
- //mavenCentral()
- //mavenRepo "http://snapshots.repository.codehaus.org"
- //mavenRepo "http://repository.codehaus.org"
- //mavenRepo "http://download.java.net/maven/2/"
- //mavenRepo "http://repository.jboss.com/maven2/"
- }
+ repositories {
+ grailsCentral()
+ }
- dependencies {
-
- }
-
- plugins {
- build(":tomcat:$grailsVersion",
- ":release:2.0.4",
- ":rest-client-builder:1.0.2") {
- export = false
- }
- }
+ plugins {
+ build(':release:2.0.4', ':rest-client-builder:1.0.2') {
+ export = false
+ }
+ }
}
+
View
26 grails-app/conf/Config.groovy
@@ -1,26 +1,8 @@
-// configuration for plugin testing - will not be included in the plugin zip
-
log4j = {
- // Example of changing the log pattern for the default console
- // appender:
- //
- //appenders {
- // console name:'stdout', layout:pattern(conversionPattern: '%c{2} %m%n')
- //}
-
- error 'org.codehaus.groovy.grails.web.servlet', // controllers
- 'org.codehaus.groovy.grails.web.pages', // GSP
- 'org.codehaus.groovy.grails.web.sitemesh', // layouts
- 'org.codehaus.groovy.grails.web.mapping.filter', // URL mapping
- 'org.codehaus.groovy.grails.web.mapping', // URL mapping
- 'org.codehaus.groovy.grails.commons', // core / classloading
- 'org.codehaus.groovy.grails.plugins', // plugins
- 'org.codehaus.groovy.grails.orm.hibernate', // hibernate integration
- 'org.springframework',
- 'org.hibernate',
- 'net.sf.ehcache.hibernate'
-
- warn 'org.mortbay.log'
+ error 'org.codehaus.groovy.grails',
+ 'org.springframework',
+ 'org.hibernate',
+ 'net.sf.ehcache.hibernate'
}
grails.doc.authors = "Benjamin Wolff"
View
49 grails-app/conf/DataSource.groovy
@@ -1,43 +1,14 @@
dataSource {
- pooled = true
- driverClassName = "org.h2.Driver"
- username = "sa"
- password = ""
+ pooled = true
+ driverClassName = 'org.h2.Driver'
+ username = 'sa'
+ password = ''
+ dbCreate = 'update'
+ url = 'jdbc:h2:mem:testDb'
}
+
hibernate {
- cache.use_second_level_cache = true
- cache.use_query_cache = false
- cache.region.factory_class = 'net.sf.ehcache.hibernate.EhCacheRegionFactory'
-}
-// environment specific settings
-environments {
- development {
- dataSource {
- dbCreate = "create-drop" // one of 'create', 'create-drop', 'update', 'validate', ''
- url = "jdbc:h2:mem:devDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
- }
- }
- test {
- dataSource {
- dbCreate = "update"
- url = "jdbc:h2:mem:testDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
- }
- }
- production {
- dataSource {
- dbCreate = "update"
- url = "jdbc:h2:prodDb;MVCC=TRUE;LOCK_TIMEOUT=10000"
- pooled = true
- properties {
- maxActive = -1
- minEvictableIdleTimeMillis=1800000
- timeBetweenEvictionRunsMillis=1800000
- numTestsPerEvictionRun=3
- testOnBorrow=true
- testWhileIdle=true
- testOnReturn=true
- validationQuery="SELECT 1"
- }
- }
- }
+ cache.use_second_level_cache = false
+ cache.use_query_cache = false
+ cache.provider_class = 'org.hibernate.cache.EhCacheProvider'
}
View
8 grails-app/conf/RwtPluginBootStrap.groovy
@@ -19,17 +19,17 @@ class RwtPluginBootStrap {
def init = { servletContext ->
if (rwtApplicationConfiguration) {
log.info "Starting RWT application ..."
- applicationRunner = new ApplicationRunner(rwtApplicationConfiguration, servletContext);
- applicationRunner.start();
+ applicationRunner = new ApplicationRunner(rwtApplicationConfiguration, servletContext)
+ applicationRunner.start()
log.info "... RWT application started."
}
}
def destroy = {
if (applicationRunner) {
log.info "Stopping RWT application ..."
- applicationRunner.stop();
- applicationRunner = null;
+ applicationRunner.stop()
+ applicationRunner = null
log.info "... RWT application stopped."
}
}
View
13 grails-app/conf/UrlMappings.groovy
@@ -1,13 +0,0 @@
-class UrlMappings {
-
- static mappings = {
-// "/$controller/$action?/$id?"{
-// constraints {
-// // apply constraints here
-// }
-// }
-
-// "/"(view:"/index")
-// "500"(view:'/error')
- }
-}
View
10 scripts/_Install.groovy
@@ -1,10 +0,0 @@
-//
-// This script is executed by Grails after plugin was installed to project.
-// This script is a Gant script so you can use all special variables provided
-// by Gant (such as 'baseDir' which points on project base dir). You can
-// use 'ant' to access a global instance of AntBuilder
-//
-// For example you can create directory under project tree:
-//
-// ant.mkdir(dir:"${basedir}/grails-app/jobs")
-//
View
5 scripts/_Uninstall.groovy
@@ -1,5 +0,0 @@
-//
-// This script is executed by Grails when the plugin is uninstalled from project.
-// Use this script if you intend to do any additional clean-up on uninstall, but
-// beware of messing up SVN directories!
-//
View
10 scripts/_Upgrade.groovy
@@ -1,10 +0,0 @@
-//
-// This script is executed by Grails during application upgrade ('grails upgrade'
-// command). This script is a Gant script so you can use all special variables
-// provided by Gant (such as 'baseDir' which points on project base dir). You can
-// use 'ant' to access a global instance of AntBuilder
-//
-// For example you can create directory under project tree:
-//
-// ant.mkdir(dir:"${basedir}/grails-app/jobs")
-//
View
13 src/groovy/grails/plugins/rwt/ApplicationConfigurationBean.groovy
@@ -1,15 +1,11 @@
package grails.plugins.rwt
-import groovy.util.logging.Commons;
+import groovy.util.logging.Commons
-import java.util.List;
-
-import javax.security.auth.login.ConfigurationSpi;
-
-import org.codehaus.groovy.grails.commons.GrailsApplication;
+import org.codehaus.groovy.grails.commons.GrailsApplication
import org.eclipse.rap.rwt.application.Application
-import org.eclipse.rap.rwt.application.Application.OperationMode;
import org.eclipse.rap.rwt.application.ApplicationConfiguration
+import org.eclipse.rap.rwt.application.Application.OperationMode
import org.eclipse.rap.rwt.lifecycle.IEntryPoint
import org.eclipse.rap.rwt.lifecycle.IEntryPointFactory
@@ -26,8 +22,7 @@ class ApplicationConfigurationBean implements ApplicationConfiguration {
OperationMode operationMode
List<EntryPointConfiguration> entryPointConfigurations
- @Override
- public void configure(Application application) {
+ void configure(Application application) {
application.setOperationMode(operationMode)
log.debug "RWT operation mode set to: ${operationMode}"
View
5 src/groovy/grails/plugins/rwt/EntryPointConfiguration.groovy
@@ -1,9 +1,6 @@
package grails.plugins.rwt
-import java.util.Map;
-
-import org.eclipse.rap.rwt.client.WebClient;
-import org.eclipse.rap.rwt.lifecycle.IEntryPointFactory;
+import org.eclipse.rap.rwt.client.WebClient
/**
* Simple POGO that encapsulates the configuration for an RWT entry point. A list of these object is
View
5 src/groovy/grails/plugins/rwt/EntryPointFactory.groovy
@@ -1,7 +1,7 @@
package grails.plugins.rwt
import org.eclipse.rap.rwt.lifecycle.IEntryPoint
-import org.eclipse.rap.rwt.lifecycle.IEntryPointFactory;
+import org.eclipse.rap.rwt.lifecycle.IEntryPointFactory
/**
* Simple implementation of an {@link IEntryPointFactory}. A concrete {@link IEntryPoint}
@@ -16,8 +16,7 @@ class EntryPointFactory implements IEntryPointFactory {
IEntryPoint entryPoint
- @Override
- public IEntryPoint create() {
+ IEntryPoint create() {
return entryPoint
}
}
View
33 web-app/WEB-INF/applicationContext.xml
@@ -1,33 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="
-http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
-
- <bean id="grailsApplication" class="org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean">
- <description>Grails application factory bean</description>
- <property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
- <property name="grailsResourceLoader" ref="grailsResourceLoader" />
- </bean>
-
- <bean id="pluginManager" class="org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean">
- <description>A bean that manages Grails plugins</description>
- <property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
- <property name="application" ref="grailsApplication" />
- </bean>
-
- <bean id="grailsConfigurator" class="org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator">
- <constructor-arg>
- <ref bean="grailsApplication" />
- </constructor-arg>
- <property name="pluginManager" ref="pluginManager" />
- </bean>
-
- <bean id="grailsResourceLoader" class="org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean" />
-
- <bean id="characterEncodingFilter" class="org.springframework.web.filter.CharacterEncodingFilter">
- <property name="encoding">
- <value>utf-8</value>
- </property>
- </bean>
-</beans>
View
14 web-app/WEB-INF/sitemesh.xml
@@ -1,14 +0,0 @@
-<sitemesh>
- <page-parsers>
- <parser content-type="text/html"
- class="org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser" />
- <parser content-type="text/html;charset=ISO-8859-1"
- class="org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser" />
- <parser content-type="text/html;charset=UTF-8"
- class="org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser" />
- </page-parsers>
-
- <decorator-mappers>
- <mapper class="org.codehaus.groovy.grails.web.sitemesh.GrailsLayoutDecoratorMapper" />
- </decorator-mappers>
-</sitemesh>
View
550 web-app/WEB-INF/tld/grails.tld
@@ -1,550 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
- http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
- version="2.0">
- <description>The Grails custom tag library</description>
- <tlib-version>0.2</tlib-version>
- <short-name>grails</short-name>
- <uri>http://grails.codehaus.org/tags</uri>
-
- <tag>
- <name>link</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspLinkTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>controller</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>params</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>form</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspFormTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>controller</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>method</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>select</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspSelectTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>optionKey</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>optionValue</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>datePicker</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspDatePickerTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>precision</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>false</dynamic-attributes>
- </tag>
- <tag>
- <name>currencySelect</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspCurrencySelectTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>localeSelect</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspLocaleSelectTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>timeZoneSelect</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspTimeZoneSelectTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>checkBox</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspCheckboxTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>hasErrors</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspHasErrorsTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>model</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>bean</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>field</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>false</dynamic-attributes>
- </tag>
- <tag>
- <name>eachError</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>model</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>bean</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>field</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>false</dynamic-attributes>
- </tag>
- <tag>
- <name>renderErrors</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>model</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>bean</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>field</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>as</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>false</dynamic-attributes>
- </tag>
- <tag>
- <name>message</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspMessageTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>code</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>error</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>default</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>false</dynamic-attributes>
- </tag>
- <tag>
- <name>remoteFunction</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteFunctionTag</tag-class>
- <body-content>empty</body-content>
- <attribute>
- <name>before</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>after</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>controller</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>params</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>asynchronous</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>method</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>update</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onSuccess</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onFailure</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onComplete</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onLoading</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onLoaded</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onInteractive</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>remoteLink</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteLinkTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>before</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>after</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>controller</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>params</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>asynchronous</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>method</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>update</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onSuccess</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onFailure</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onComplete</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onLoading</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onLoaded</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onInteractive</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>formRemote</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspFormRemoteTag</tag-class>
- <body-content>JSP</body-content>
- <attribute>
- <name>before</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>after</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>action</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>controller</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>id</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>url</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>params</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>asynchronous</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>method</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>update</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onSuccess</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onFailure</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onComplete</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onLoading</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onLoaded</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <attribute>
- <name>onInteractive</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
- <tag>
- <name>invokeTag</name>
- <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspInvokeGrailsTagLibTag</tag-class>
- <body-content>JSP</body-content>
- <variable>
- <name-given>it</name-given>
- <variable-class>java.lang.Object</variable-class>
- <declare>true</declare>
- <scope>NESTED</scope>
- </variable>
- <attribute>
- <name>tagName</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
- <dynamic-attributes>true</dynamic-attributes>
- </tag>
-</taglib>
-
View
311 web-app/WEB-INF/tld/spring.tld
@@ -1,311 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
-
-<taglib>
-
- <tlib-version>1.1.1</tlib-version>
-
- <jsp-version>1.2</jsp-version>
-
- <short-name>Spring</short-name>
-
- <uri>http://www.springframework.org/tags</uri>
-
- <description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description>
-
-
- <tag>
-
- <name>htmlEscape</name>
- <tag-class>org.springframework.web.servlet.tags.HtmlEscapeTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Sets default HTML escape value for the current page.
- Overrides a "defaultHtmlEscape" context-param in web.xml, if any.
- </description>
-
- <attribute>
- <name>defaultHtmlEscape</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>escapeBody</name>
- <tag-class>org.springframework.web.servlet.tags.EscapeBodyTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping.
- The HTML escaping flag participates in a page-wide or application-wide setting
- (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
- </description>
-
- <attribute>
- <name>htmlEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>javaScriptEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>message</name>
- <tag-class>org.springframework.web.servlet.tags.MessageTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Retrieves the message with the given code, or text if code isn't resolvable.
- The HTML escaping flag participates in a page-wide or application-wide setting
- (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
- </description>
-
- <attribute>
- <name>code</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>arguments</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>text</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>htmlEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>javaScriptEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>theme</name>
- <tag-class>org.springframework.web.servlet.tags.ThemeTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Retrieves the theme message with the given code, or text if code isn't resolvable.
- The HTML escaping flag participates in a page-wide or application-wide setting
- (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
- </description>
-
- <attribute>
- <name>code</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>arguments</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>text</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>htmlEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>javaScriptEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>hasBindErrors</name>
- <tag-class>org.springframework.web.servlet.tags.BindErrorsTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Provides Errors instance in case of bind errors.
- The HTML escaping flag participates in a page-wide or application-wide setting
- (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
- </description>
-
- <variable>
- <name-given>errors</name-given>
- <variable-class>org.springframework.validation.Errors</variable-class>
- </variable>
-
- <attribute>
- <name>name</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>htmlEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>nestedPath</name>
- <tag-class>org.springframework.web.servlet.tags.NestedPathTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Sets a nested path to be used by the bind tag's path.
- </description>
-
- <variable>
- <name-given>nestedPath</name-given>
- <variable-class>java.lang.String</variable-class>
- </variable>
-
- <attribute>
- <name>path</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>bind</name>
- <tag-class>org.springframework.web.servlet.tags.BindTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Provides BindStatus object for the given bind path.
- The HTML escaping flag participates in a page-wide or application-wide setting
- (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
- </description>
-
- <variable>
- <name-given>status</name-given>
- <variable-class>org.springframework.web.servlet.support.BindStatus</variable-class>
- </variable>
-
- <attribute>
- <name>path</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>ignoreNestedPath</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>htmlEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-
- <tag>
-
- <name>transform</name>
- <tag-class>org.springframework.web.servlet.tags.TransformTag</tag-class>
- <body-content>JSP</body-content>
-
- <description>
- Provides transformation of variables to Strings, using an appropriate
- custom PropertyEditor from BindTag (can only be used inside BindTag).
- The HTML escaping flag participates in a page-wide or application-wide setting
- (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
- </description>
-
- <attribute>
- <name>value</name>
- <required>true</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>var</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>scope</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- <attribute>
- <name>htmlEscape</name>
- <required>false</required>
- <rtexprvalue>true</rtexprvalue>
- </attribute>
-
- </tag>
-
-</taglib>

0 comments on commit 3644b5d

Please sign in to comment.
Something went wrong with that request. Please try again.