I think the reason it does not work is because the underlying [url=https://vaadin.com/api/7.6.6/com/vaadin/data/validator/RegexpValidator.html]RegexpValidator[/url] class expects a String. So if you want to use the validator as-is then you need to leave it String. Just convert it from String to Long when you need to.
-- Context is everything: http://forum.magnolia-cms.com/forum/thread.html?threadId=54e52a84-7744-4e34-9d9d-88c6e876c00d ---------------------------------------------------------------- For list details, see http://www.magnolia-cms.com/community/mailing-lists.html Alternatively, use our forums: http://forum.magnolia-cms.com/ To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------