xpoft / spring-vaadin

Spring and Vaadin integration
Other
55 stars 44 forks source link

VaadinMessageSource should not use UI to get Locale #7

Closed rdavono closed 11 years ago

rdavono commented 11 years ago

The Locale can be retrieved with VaadinSession.getCurrent().getLocale()

This way the message source is available even before the UI ist set.

xpoft commented 11 years ago

Thx. I've updated the add-on.