Spring Roo with Vaadin and the Experimental Visual Editor

Posted by Brian Porter on January 19, 2011

I just read about how to get the experimental Vaadin Visual Editor running, so I had to try it with a Roo project. This is what it looked like with the Roo Vote sample app:

script vote.roo
persistence setup --provider HIBERNATE --database DERBY
vaadin setup --applicationPackage ~.web --useJpaContainer false
vaadin generate all --package ~.web.ui --visuallyComposable true

Basically, I just ran the sample script, changed the persistence to Derby (not necessary), and setup Vaadin.

Then I went to src/main/java/web/ui/VoteForm.java and opened it with Vaadin Editor.

For instructions on installing the necessary stuff in Spring Source Tool or Eclipse check out this page: http://vaadin.com/wiki/-/wiki/Main/Spring%20Roo%20Plugin

If you made it this far, you may as well follow me on LinkedIn: Follow Brian Porter