Hi Rechell,

I've personally only ever used this technique with Strings. However, it should work with all object types. The only question I could think to ask would be whether you're using the literal type 'int' or the object type 'java.lang.Integer'. To use the validator you need to use the latter, not the former. Sorry I can't be of more help,

Bart.