How do you work with Combo Box and computed list

Hello,

Since my first post didn’t receive any answers, I take a second chance, because for me that’s a real common thing.

So how do you use computed list (label-value) with combo box. In Edit mode it’s working fine (the associated label is diplaying) but in read mode the value is displaying (instead of the label)

And with a hard coded list it works fine…

Example :

My computed list :

1|first

2|second

3|third

If I select “second” in edit mode, then in read mode I’ll see “2”, but in edit mode I’ll see “second”. I would like to see “second” in both case.

If I hard code the same list, I’ll see “second” in both case.

In my back end document the value (not the label) is stored as intended.

Thank for your help, and if I am not clear enough tell me! I’m not really a nativ english speaker!

Subject: I think you have things swapped around…

In your examples - ‘1’, ‘2’, and ‘3’ are the values - ‘first’, ‘second’ and ‘third’ are the alias’s.

Take a look at the topic ‘Creating aliases for choices in a list’ in designer Help.

Subject: No

No actually my list has the right format :

blalblal | 1

I made a mistake when writing my post.

I’m using XPages, and here is the generated html :

My problem occurs just in read mode !!!