-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
2,174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<html> | ||
<head> | ||
<meta name="layout" content="main"/> | ||
</head> | ||
<body> | ||
Name: ${name}<br/> | ||
State: ${state}<br/> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<html> | ||
<head> | ||
<meta name="layout" content="main"/> | ||
</head> | ||
<body> | ||
simple.gsp from plugin | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<html> | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title><g:layoutTitle default="Grails"/></title> | ||
<g:layoutHead/> | ||
</head> | ||
<body> | ||
<p>from sitemesh layout</p> | ||
<g:layoutBody/> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?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"> | ||
<property name="grailsResourceHolder" ref="grailsResourceHolder" /> | ||
</bean> | ||
|
||
<bean id="grailsResourceHolder" scope="prototype" class="org.codehaus.groovy.grails.commons.spring.GrailsResourceHolder"> | ||
<property name="resources"> | ||
<value>classpath*:**/grails-app/**/*.groovy</value> | ||
</property> | ||
</bean> | ||
|
||
<bean id="characterEncodingFilter" | ||
class="org.springframework.web.filter.CharacterEncodingFilter"> | ||
<property name="encoding"> | ||
<value>utf-8</value> | ||
</property> | ||
</bean> | ||
</beans> |
Oops, something went wrong.