Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: Backlog
-
Fix Version/s: None
-
Labels:None
Description
Currently the plugin assumes that the user would like only one Vaadin application in the project, mapped to URL "/*". Vaadin itself supports having multiple Vaadin applications in one project.
It would be desired to be able to configure the plugin to set up multiple Vaadin application in the VaadinConfig.groovy file.
Example config:
vaadin {
productionMode = false
googleAppEngineMode = false
applications {
application {
name = "Hello World"
class = "com.mycompany.HelloWorldApplication"
urlMapping = "/helloworld/*"
}
application {
name = "Calculator"
class = "com.mycompany.CalculatorApplication"
urlMapping = "/calc/*"
}
}
}
I have added possible of adding more UIs for Vaadin 7. See the mapping attribute: https://github.com/ondrej-kvasnovsky/grails-vaadin-plugin/blob/master/grails-vaadin7-plugin/src/samples/_VaadinConfig.template