I can't create converter class in jsf for
<p:column>
<h:outputText value="#{t.idmehsul.adi}" />
</p:column>
</p:selectOneMenu>
I can't create converter class in jsf for
<p:column>
<h:outputText value="#{t.idmehsul.adi}" />
</p:column>
</p:selectOneMenu>
Step by step create a converter in jsf:
Create a converter class by implementing javax.faces.convert.Converter
interface.
Implement getAsObject()
and getAsString()
methods of above interface.
Use Annotation @FacesConvertor
to assign a unique id to the custom convertor.
You can refer at here to understand more how to create a converter in JSF.