Aug 16th, 2010, 10:33 AM
non string properties in a form
I would like to display an instance of entity class in a form. Found out that form accept only properties in string, but I have another properties eg. int, char and so on and there comes the exception No converter registered to convert from sourceClass.
Tried to find some examples on using convertors but there are a lot of classes and I am confused about them.
Could someone give a link or a simple example on converting char properties to string to display them in a form?
Thank you all
Aug 16th, 2010, 12:48 PM
That should work by default, which means you configured something which breaks the defaults.
Aug 16th, 2010, 12:52 PM
For more complicated binding, you might need to set up a DataBinder.
Aug 17th, 2010, 07:48 AM
Thank you all for your answers. Marten, you were right about default working, works without problems with long, int, short. But when I have a Character property the same exception appears.
Is this matter of spring rcp?