Vaadin 8 on Grails 3
  • Introduction
  • Project setup
    • Environment setup
      • Unix based systems
      • Windows
    • Creating Project
      • Command line
      • IntelliJ IDEA
    • Plugin Configuration
      • UI class
      • URL mapping
      • Production mode
      • Async support
      • Themes
      • SASS compilation
      • Widgetset compilation
      • Servlet class
      • Spring component scan
      • UI provider
      • Open session in view
    • Clean up
    • Best Practices
  • Database
    • GORM
      • Create Domain Model
      • Transactions
      • LazyInitializationException
      • Open Session In View I.
      • Open Session In View II.
      • Table Container
    • Groovy SQL
      • Create Sql Bean
      • Execute SQLs
    • MyBatis
      • MyBatis Configuration
      • Reading Data with MyBatis
    • JdbcTemplate
      • Create JdbcTemplate Beans
      • Using JdbcTemplate
    • Clean Up When Using Alternatives
  • UI
Powered by GitBook
On this page

Was this helpful?

  1. Project setup
  2. Plugin Configuration

UI class

Sample UI class src/groovy/app/MyUI.groovy which contains code that just shows a label in the web browser.

We can immediatelly start coding Vaadin application using that file, or maybe rather do a refactoring. For example, rename the file to AppUI.groovy and move it to different package (folder) src/groovy/com/company/app. Then you need to change mapping property inside VaadinConfig.groovy.

PreviousPlugin ConfigurationNextURL mapping

Last updated 5 years ago

Was this helpful?