Announcement Announcement Module
Collapse
No announcement yet.
bind Class property by form submission Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • avp12
    started a topic bind Class property by form submission

    bind Class property by form submission

    From the jsp, I submit the form which is binding a Class property (a bean) already available on the jsp. In my controller, when I do getClass() for this property, it says it is string and not the Class of the bean. How can I bind this to the proper Class. Can I use ClassEditor somehow?

  • olivier
    replied
    yes you should use classEditor, and set it up in the initBinder method of your form

    Leave a comment:

Working...
X