3 * http://localhost:8080/app/concept
4 * http://localhost:8080/app/distribution
5 * http://localhost:8080/app/account
6 * http://localhost:8080/app/registration
8 ## Architecture of this Vaadin project
10 see [Model-View-Presenter-MVP-Pattern](https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/VaadinNotes#Model-View-Presenter-MVP-Pattern)
16 It is recommended to use the [Spring Tool Suite](https://spring.io/tools).
18 Make sure you have the **Maven2Eclipse** plugin installed.
20 In addition you will need the **Vaadin Eclipse Plugin** which can be installed via the Marketplace:
22 ![](images/Vaadin-Plugin-for-Eclipse.png)
24 For working the the UI designs it is recommendet to install the Vaddin Designer for Vaadin 7.
26 ### Project setup with maven
32 other useful [vaadin plugin commands](https://gwt-maven-plugin.github.io/gwt-maven-plugin/plugin-info.html)
36 mvn vaadin:update-theme
37 mvn vaadin:update-widgetset
39 mvn vaadin:compile-theme
43 ### Configure vaadin UIs for a specific cdm data source
45 On the fist application startup on a cdm data source the `eu.etaxonomy.cdm.addon.config.CdmVaadinConfiguration` will create a `vaadin-apps.properties` file in the cdm source specific configuration folder: `~/.cdmLibrary/remote-webapp/${cdm-source-bean-id}/`
47 The default content of this file defined in `eu.etaxonomy.cdm.addon.config.CdmVaadinConfiguration.APP_FILE_CONTENT` at the time of writing this documentation is :
50 ################################################################
52 # Vaadin application specific configurations
54 ################################################################
56 # Enablement of vaadin uis.
58 # Multiple uis can be defined as comma separated list.
59 # Whitespace before and after the comma will be ignored.
60 # Valid values are the path properties of the @SpringUI
61 # annotation which is used for UI classes.
62 cdm-vaadin.ui.activated=account,concept,distribution,editstatus
65 There are more UIs that can be activated by adding them to the `cdm-vaadin.ui.activated` property.
66 For example to enable the `RegistrationUI` you will need to add the name defined in `eu.etaxonomy.cdm.vaadin.ui.RegistrationUI.NAME`:
69 cdm-vaadin.ui.activated=account,concept,distribution,editstatus,registration
72 ### Auto login into the vaadin application
74 For development it can be convenient to enable the automatic login.
75 To enable this feature you will need to supply the following system properties:
78 -Dcdm-vaadin.login.usr=username
79 -Dcdm-vaadin.login.pwd=password
82 #### Setup Selenium based UI tests
84 **NOTE**: The framework to run Selenium tests on vaadin apps is not yet ready for use.
86 * Run a `clean install` goal to download the Selenium drivers