Vaadin Plugin
  1. Vaadin Plugin
  2. GPVAADIN-2

Add support for multiple Vaadin applications in a project

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major 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/*"
              }
          }
      }
      
      

        Activity

        Hide
        Ondrej Kvasnovsky added a comment -
        Show
        Ondrej Kvasnovsky added a comment - 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

          People

          • Assignee:
            Unassigned
            Reporter:
            Fredrik Nordin
          • Votes:
            12 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: