Skip to main content
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:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

some questions on your solution

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

@Implode(dataSource.getItemValueArray("fieldName"), "<br/>");

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

XPages - the most basic of help (~Sigmund Zenkro... 4.Feb.09)
. . try multipleSeparator property (~Justin Zekaman... 4.Feb.09)
. . . . nope, that wasn't it (~Justin Zekaman... 4.Feb.09)
. . Have you tried exploding the array?... (~Joan Zektoomar... 4.Feb.09)
. . . . If I can expand On Paul's response (~Ethan Umresaak... 4.Feb.09)
. . . . . . some questions on your solution (~Justin Zekaman... 5.Feb.09)
. . . . . . . . Ok, got the solution (~Ethan Umresaak... 5.Feb.09)
. . . . . . . . . . baby steps (~Sigmund Zenkro... 5.Feb.09)
. . . . . . . . . . . . don't have all the answers... (~Ethan Umresaak... 5.Feb.09)
. . . . . . . . . . OK field is working now, but what a... (~Justin Zekaman... 6.Feb.09)
. . . . . . . . . . . . Have you found a solution? (~Ned Zenfanache... 28.Apr.09)
. . . . . . . . . . . . . . a possible solution (~Ben Quettumige... 17.Jul.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS