当我使用 buildAndBind 时,Vaadin 向我发送此消息:
Caused by ConversionException: Unable to convert value of type com.gldos.GCOOP.cliente.Cliente to presentation type class java.lang.String. No converter is set and the types are not compatible.
->> 98 | convertFromModel in com.vaadin.data.util.converter.ConverterUtil
我认为我需要 CustomConverter,但我不知道如何实现它。
最佳答案
您可以按照本教程创建转换器:
关于types - 如何创建转换器?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21255877/