Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8078009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:39:21+00:00 2026-06-05T15:39:21+00:00

Hallo everyone i’m trying to use the initbinder annotations in order to match the

  • 0

Hallo everyone i’m trying to use the initbinder annotations in order to match the values i receive from a multiply list box.The values from the list box are String values.Iinitially i did it with the following way just to match only one choice(i didn’t add the multiply choice yet) and it works perfectly fine. The code is the following:

At the controller i have this:

 @InitBinder 
public void initBinderResearch(WebDataBinder b) {

    b.registerCustomEditor(Research.class, new ResearchEditor());

}

At the debuging i can see that the binding of the research_area values is not successful.But i don’t take any exception or error.Can anyone tell me what i’m doing wrong and this is not working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:39:22+00:00Added an answer on June 5, 2026 at 3:39 pm

    You can’t override PropertyEditor.setAsText(List<String> text) because it not exists in parent class and WebDataBinder will not use this method to make string to object conversions.

    If you register your original ResearchEditor and change the property from type Research to type List<Research> in your backing form model, the WebDataBinder will convert thems.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hallo everyone, i have a list of nodes ListNode and i want to draw
Hello everyone I'm trying to improve my Java skills by solving some problems from
hello everyone im trying to create this tweak that copies a file from one
hello everyone I'm trying to write function which can unfold int in the list
hello everyone I am trying to make a script that steps through a list
Hello everyone I am trying to resize an image of 700kb with imagecreatefromjpeg. This
Hello everyone I'm trying to work with jboss messaging, does anyone knows the default
Hello everyone i am trying to format the input number range with php number_format
Hello everyone this is my first post on stack overflow.com I am trying to
Hello everyone it's been some days that I use sql to make analysis and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.