very useful, should be part of vaadin core

very useful, should be part of vaadin core