primefaces input uppercase code example
Example: primefaces outputtext uppercase
Using JavaScript.
<h:inputText ... onblur="value=value.toUpperCase()" />
Using JSF.
<h:inputText ... converter="toUpperCaseConverter">
<f:ajax event="blur" render="@this" />
</h:inputText>