I have an Xpage bound to a NotesDocument (Form). I have a Save button (type button) that does a Simple Action of Save Document and then Change document mode to read mode. If I add fields from the Data source and create a new document with the Xpage the Save button functions properly (document is saved and I am returned to the document in read mode). As soon as I update the field to be a combobox with Server side javascript (doing a lookup to get values) the Save button no longer functions properly.
Again the scenarios:
1) textbox bound to document1 - save button works no problem
2) combo box bound to document1 with serverside javascript - save button simply refreshes the Xpage
Most likely a simple thing I am missing but it is difficult to describe the amount of frustration this is causing me. :)
P.S.
Here is the Serverside Javascript code in the onclick event on the save button
var key = "stationaryassignees"
db = new Array(@DbName()[0], 'Intranet\\staff.nsf');
@Explode(@DbLookup(db, "Keywords", key, "keylist"),"\n")
Thanks for you time in advance.
Elijah