I am making a web application using JBoss Seam 2.2.0, and I want to trim my inputs before receiving them, even before the Hibernate Bean Validation phase. Is this possible?
I saw someone using a PhaseListener to do the same functionality. Is this the best way to do it?
I use a Converter for this. Works very well.
Page:
Code: