I am currently trying to apply a custom converter to the h:selectOneRadio tag using MyFaces and Facelets. The converter class is compiling and is available on the classpath, however I am seeing the following message:
javax.faces.FacesException: Could not instantiate converter: null
at org.apache.myfaces.application.ApplicationImpl.createConverter(ApplicationImpl.java:480)I've specified the converter in my faces-config.xml file like so:
<converter>
<converter-id>EnumTypeConverter</converter-id>
<converter-class>com.vegas.commmon.util.converter.EnumTypeConverter</converter-class>
</converter>
And am calling it in my xhtml file like this:
<h:selectOneRadio id="gender" value="#{users$edit.user.gender}" layout="pageDirection">
<f:converter converterId="EnumTypeConverter" />
<f:selectItem itemLabel="Female" itemValue="Female" />
<f:selectItem itemLabel="Male" itemValue="Male" />
</h:selectOneRadio>
Did I miss a step when configuring the converter? What else could be wrong?
Thanks in advance.
Carl
--
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.
- Dr. Seuss

