jsf - How to initialize omnifaces manually to avoid omnifaces.GenericEnumConverter not found? -
i changed web.xml metadata-complete="false"
metadata-complete="true"
, got following error:
javax.faces.facesexception: expression error: omnifaces.genericenumconverter not found.
i'm using tomcat 8.0.24, jsf mojarra 2.2.12, primefaces 5.2 , omnifaces 1.11.
is possible initialize omnifaces manually?
explicitly register below in webapp's own faces-config.xml
.
<converter> <converter-id>omnifaces.genericenumconverter</converter-id> <converter-class>org.omnifaces.converter.genericenumconverter</converter-class> </converter>
Comments
Post a Comment