Skip to content

Commit

Permalink
fixed spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
chanwit committed Jun 5, 2009
1 parent b2a5cc4 commit 3e3beeb
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions ZkGrailsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ class ZkGrailsPlugin {
]

def watchedResources = ["file:./grails-app/composers/**/*Composer.groovy",
"file:./plugins/*/grails-app/composers/**/*Composer.groovy",
"file:./plugins/*/grails-app/composers/**/*Composer.groovy",
"file:./grails-app/facade/**/*Facade.groovy",
"file:./plugins/*/grails-app/facade/**/*Facade.groovy"]
"file:./plugins/*/grails-app/facade/**/*Facade.groovy"]

// resources that are excluded from plugin packaging
def pluginExcludes = [
Expand Down Expand Up @@ -55,20 +55,20 @@ support to Grails applications.
// suffix = ".zul"
// order = 1
//}
application.composerClasses.each { composerClass ->

application.composerClasses.each { composerClass ->
"${composerClass.propertyName}"(composerClass.clazz) { bean ->
bean.scope = "prototype"
bean.autowire = "byName"
}
}
}

application.facadeClasses.each { facadeClass ->
application.facadeClasses.each { facadeClass ->
"${facadeClass.propertyName}"(facadeClass.clazz) { bean ->
bean.scope = "session"
bean.autowire = "byName"
}
}
}
}

def doWithApplicationContext = { applicationContext ->
Expand All @@ -77,8 +77,8 @@ support to Grails applications.

def doWithWebDescriptor = { xml ->
def urls = ["*.zul", "*.zhtml", "*.svg", "*.xml2html"]
def welcomeFileLists = xml.'welcome-file-list'[0]

def welcomeFileLists = xml.'welcome-file-list'[0]
def wf = welcomeFileLists.'welcome-file'[0]
wf + {
'welcome-file'('index.zul')
Expand Down Expand Up @@ -175,7 +175,7 @@ support to Grails applications.
}
}

org.zkoss.zul.Listbox.metaClass.setModel = { list ->
org.zkoss.zul.Listbox.metaClass.setModel = { list ->
ListboxModelDynamicMethods.setModel(delegate, list)
}

Expand Down

0 comments on commit 3e3beeb

Please sign in to comment.