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

  • non string properties in a form

    Hello,
    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.

    Comment


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

      Comment


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

        Comment

        Working...
        X