Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Double Space in dropdown causing Validation error

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?
Everyone is a villain in someone else's story. Especially this devious tiny ad:
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic