Percentages with JSF NumberConverter
Hooray for buggy javadocs. The JSF taglib describes the type attribute of an f:numberConverter as:
Specifies how the number string will be formatted and parsed. Valid values are "number", "currency", and "percentage".
Nice, but wrong. For percentages, the correct value is percent, as defined in the JSF spec.
Where do I apply for my refund on that hour of my life?Percentages with JSF NumberConverter
I guess I'd call myself a problem solver. Either that, or I'm some sort of organic machine designed to convert oxygen into carbon dioxide. You could go either way on that. I'm into languages and stuff. I wrote a book. It's okay, I guess. What else? I like reading, swimming, eating, and playing music. Satisfied? Sheesh.