I have an Xpage consisting of a few custom controls - application layout, content (dojo_data grid), and a custom control that shows some user data, which the user can change.
Everything works fine in the 9 client, but on the web I get the following error message:
The log shows this:
CLFAD0134E: Exception processing XPage request
I have a save button in the custom control with the user data, which has SSJS:
var usrNme = session.getCommonUserName();
var v:NotesView = database.getView("(employeesByFullName)");
var doc:NotesDocument = v.getDocumentByKey(usrNme);
var tmpOfficePhone = employee.getItemValueString("HR_OfficePhone")
doc.replaceItemValue("HR_OfficePhone",tmpOfficePhone);
var tmpCellPhone = employee.getItemValueString("HR_CellPhone")
doc.replaceItemValue("HR_CellPhone",tmpCellPhone);
var tmpExtension = employee.getItemValueString("HR_Extension")
doc.replaceItemValue("HR_Extension",tmpExtension);
var tmpDirectDial = employee.getItemValueString("HR_DirectDial")
doc.replaceItemValue("HR_DirectDial",tmpDirectDial);
var tmpPersonalEmail = employee.getItemValueString("HR_PersonalEmail")
doc.replaceItemValue("HR_PersonalEmail",tmpPersonalEmail);
doc.save();
var x= "alert('Your changes have been saved.')";
view.postScript(x);
I have partial update selected, and whatever I pick to update I still get the error, just with slightly different verbiage. Example: I put everything in a panel and do a partial update on the panel, and I get the error for the panel.
It ALWAYS works in the client, but never works in a web browser.
Can anyone tell me what is going on?