JSF by default assign empty string at backing bean properties when a form is
sent. I want to override that with a custom converter. My problem is my
converter is never called. This is the code at faces-config.xml:

       <converter>
                <converter-for-class>java.lang.String</converter-for-class>
                <converter-class>
                        myPackage.NullableStringConverter
                </converter-class>

        </converter>



If I set breakpoints inside getAsObject or getAsString I see it doesn't
stops there. What am I doing wrong?

--
Juan Ignacio Sánchez Lara
Ingeniero Informático + Técnico de Sistemas

Diario: http://juanignaciosl.blogspot.com
Fotos (todas): http://www.flickr.com/photos/juanignaciosl
Fotos (selección): http://jpgmag.com/people/juanignaciosl

Reply via email to