hcl-bot
December 10, 2009, 2:17am
1
When you have a field (string) with multipleSeparator set, the saved field switches between being split into an array of strings/a flat string.
Code for simple multi value field: <xp:inputText
value="#{document1.test_multi_string}"
id="test_multi_string1"
multipleSeparator=";">
</xp:inputText>
mulptipleSeparator doesn’t work at all for date and number fields. When you save a number or date field, only the first values is saved.
Demoapp that shows the bug: http://files.dontpanic82.com/multivaluebug.zip
hcl-bot
December 10, 2009, 1:39pm
2
Subject: Re: Bg with Multi-Value Fields
I’ve been able to reproduce this also - coincidentally I was working with a multi-value field today. However,I have a workaround.
See my blog for code, screenshots, explanation. It’s only a coupleof lines of code and seems to work quite well.
http://hermes.intec.co.uk/Intec/Blog.nsf/dx/10122009181407HERPDV.htm
hcl-bot
December 10, 2009, 2:35pm
3
Subject: Ouch, ugly. Hope this gets fixed soon.
I haven’t run into this yet, but I’m sure I will. Hopefully it’s on the 8.5.1FP1 list.
hcl-bot
December 30, 2009, 4:33am
4
Subject: Re: Further investigation
Just to update this, I suddenly thought about the Discussion template and wondered why it was fine there. Multi-value field works as we would expect if the separator is a comma (both for xp:inputText and xp:inputTextarea). It fails with any other kind of separator.
hcl-bot
December 11, 2009, 11:19am
5
Subject: This issue has been SPR’d - EGLN7YMLYD. Kind Regards, Edel