This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
John,
thanks (again) for your input. I tried it and - of course - it worked. But two questions remain:
1. I'm not too happy with the appearance:
my computed field now displays the multiple values each on its own line. But the list itself is enclosed in square brackets:
[value1
value2]
I take it that those brackets are an indication that an array is being displayed
2. Before I had read your response I had played around with several other solutions, but none really worked. One attempt was to read the source field's value using
.getItemValueArray()
I would have expected that I could save the extra @Explode, as in
But No: the result still appears to come out as a string, displaying the values as
[value1,value2]
(Square brackets again!)
Since I didn't think about rendering the ComputedField as HTML I tried to @Implode the value using @NewLine(), but again no success. Result here is:
[value1 value2]
(no comma between the values, but still the square brackets...)
Next thing I played around with were the converters that also got mentioned by Paul, But I don't really get it how I'm suposed to work with those.
And yes, I also tried to use a list box control reading in the source field's content as-is. And hey, that worked (but I know, that's not really good coding...)! So again: if the source already does contain an array, why would I have to @Explode it then?
Sorry, I don't seem to get it... :-(((
Feedback response number WEBB7NYGWB created by ~Justin Zekamanlen on 02/05/2009