h:selectOneMenu  

Posted in ,


Exception Details: java.lang.IllegalArgumentException
Cannot convert javax.faces.component.html.HtmlSelectOneMenu@1a2edef of type class javax.faces.component.html.HtmlSelectOneMenu to class java.lang.Integer


For

<h:selectOneMenu id="tagId" required="true"
value="#{pasteController.paste.tagId}"
binding="#{pasteController.paste.tagId}">
<f:selectItems value="#{TagsBean.topTags}" />
</h:selectOneMenu>


Exception happens if i adding this:

binding="#pasteController.paste.tagId}


But I don't need this for my form working.
(JSF 1.2_04-b20-p03)

When i googling about this exception i found some usefull posts.
using Converter and Bug in MyFaces

0 responzez

Post a Comment

metanews


Add to Google