Expression Error: Named Object: javax.faces.convert.IntegerConverter not found

后端 未结 1 340
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-25 09:46

Following is my code



        
相关标签:
1条回答
  • 2021-01-25 10:19

    The converter attribute must point to either a concrete instance like #{bean.converter} or contain a string literal with the converter ID and not the fully qualified converter class name. If you click through CONVERTER_ID field constant in the standard converter's javadoc, then you'll find out that it's javax.faces.Integer for the IntegerConverter.

    So, this should do:

    <rich:select ... converter="javax.faces.Integer" />
    
    0 讨论(0)
提交回复
热议问题