I'm using a Name Picker on an XPage which in itself works well and adds a value correctly to a field with the XPage in edit mode. Immediately after the new value has been placed in the field, I would like to take that value and add it to a label elsewhere on the XPage. I've tried using Dojo together with the onchange event of the field but it doesn't work (I presume because the new value is not yet present in the document's HTML). Is there any other way of doing this?
In The Notes Client, I do this using @SetField and then refreshing the document.