Uppercase or Numeric-only TextBox

is there any simple method to force text in a TextBox to be UPPERCASE or numeric only?

Actually I’m using CSS + formatting onblur but I don’t like this method

Look for the masked input field add-on.

It’s a great add-on but I’m working in Vaadin 7 and it’s not compatible

Anybody has any suggestion about Converters? Tried using them but no success

You should probably post this to the Vaadin 7 forum…