Application Resource Groovy file usages

In ApplicationResource.groovy file
I code the following stuffs
modules = {
application {
resource url:'js/application.js'
}
forms{
dependsOn 'jquery'
resource url:'js/jquery.min.js',disposition: 'head'
resource url:'js/jquery.ui.datepicker.js', disposition: 'head'
resource url:'js/jquery.ui.core.min.js', disposition: 'head'
resource url:'js/jquery.ui.widget.min.js', disposition: 'head'
resource url:'js/main.js', disposition: 'head'
resource url:'css/jquery/jquery.ui.all.css', disposition: 'head'


}
}

then while the calling the needed module in required gsp means that gsp not displaying correctly.I displaying with any css and JS.

<r:require modules="forms"/>
while I calling module name means it will not get the js and css file. How can I get css and js
 
Top