This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JSF and the fly likes Double Space in dropdown causing Validation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Double Space in dropdown causing Validation error" Watch "Double Space in dropdown causing Validation error" New topic
Author

Double Space in dropdown causing Validation error

Db Riekhof
Greenhorn

Joined: May 21, 2009
Posts: 10
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Double Space in dropdown causing Validation error