Announcement Announcement Module
No announcement yet.
non string properties in a form Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    That should work by default, which means you configured something which breaks the defaults.


    • #3
      For more complicated binding, you might need to set up a DataBinder.


      • #4
        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?