Monday, November 19, 2012

Vaadin 7 Navigation with Guice

Vaadin 7 Navigation


The new Vaadin 7 architecture has really made "page" control so much easier.  Of course, being an AJAX environment there is really only one page, but the user doesn't know that.

The switching of views to make it appear to the user that they are using multiple pages is really quite neat, and the sample app has been updated to use it with Guice.

No back button problems, no nasty "out of sync" red boxes.  I like it.

Testing Pages

I have also added some JUnit testing of Vaadin "pages" - it won't take you as as far as Vaadin TestBench of course, but it will allow some quite reasonable testing within JUnit before you start on the UI driven tests.

No comments:

Post a Comment