Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Double Space in dropdown causing Validation error

 
Db Riekhof
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have a dropdown:



Sometimes the values in these dropdowns have consecutive spaces between words. Cleaning the data of these double spaces really isn't an option. When we select one of these double space values in the dropdown, we get a validation error:



I'm no JSF expert and I didn't write this code, so I'm having a little trouble understanding why this validation error is happening, or even finding the validator that fails. I think this is some kind of default JSF validation, because I've searched through our code and can't find anything that matches this validation error. Has anyone else experienced this and found a solution, or can anyone give me some advice on how to get started finding the problem?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic