I am having some difficulty finding documentation and examples on how to control the formatting of numbers in TextField components. I have a page where I use two TextFields to display the latitude and longitude of a GPS location in decimal degrees. The default formatting provided by Tapestry only displays 3 decimal places, but I need 5.
My current thinking is that I would need to create a Translator to use with these TextFields. Using the toClient event doesn't make sense because it's not reusable. Is there a simpler way to do this, i.e. specify formatting for TextField? If custom Translators is the way to go, has anyone built something for numbers that reflects the current locale? Thanks, Benny
