The creation of these multi-value fields were fairly straight-forward, and creating news articles worked like a dream. However, trying to edit these fields on an XPage was to be a more painful experience. Changing the values and hitting the save button on the site would not have the desired effects on the saved Notes document, the multi-value fields would remain unchanged. The whole thing was getting very frustrating, but fortunately there are some explaining and helpful articles out there on the web:
- Sean Cull has created a page that demonstrates the the differences between a field's value and submitted value. Take a look here.
- IBM have written something themselves about the topic, have a look here.
- YouAtNotes.de writing about getting and setting field values and value bindings here.
I hope these links will prove to be as helpful to some of you as they were to me!
Here is something that will help as well : http://www.recondite2.com/ReconditeBlog.nsf/dx/xpages-multi-line-edit-box
ReplyDeleteHmm, can't get your link to work...getting a timeout error.
ReplyDeleteIf you use a custom converter, it's quite easy to work with multi value fields.
ReplyDeleteMaybe this code snippet can be of use for you:
http://dontpanic82.blogspot.com/2010/06/xpages-code-snippet-for-multi-value.html
@Tommy: Thanks for the link, looks interesting. I will try to implement something similar, hopefully it will suit my needs! :-)
ReplyDeleteVery useful and meaning post,Help me think of a lot of useful thing.Alway visit your blog and support you.
ReplyDelete