you have several approach to solve this problem :
1- use tomahawk taglib converter to solve your problem.
2- use MyFaces or RI converter to do this.
3- develop custom converter to solve your problem.
But don't forget this, easiest of all is bind your value to string field in your Bean and
when you wanna use it, convert it to long.