tags:

views:

146

answers:

1

I have a combobox that is connected via the suggestionValues attribute to a list of Strings and some of these Strings have spaces in the middle of the text and sometimes at the end, for example:

" This starts with a space" "This ends with a space " "This has two spaces after the word two"

In these cases, the start and end spaces are removed and the two spaces in the middle of the last String are reduced to one space when they are selected from the suggestion list. I need to have the spaces preserved but this is currently impossible.

Please help me out in this issue, my email id is [email protected]

A: 
  • try using   (an  ) instead of space?
  • put style="white-space: pre;"
Bozho