I have an xPage which I am using on the Notes client, version 8.5.1. The xPage contains a button that uses a dijit.byId expression to show a custom control with a viewPanel on it. This is using the view picker type code developed by Mark Hughes.
The strange thing is, while it works perfectly before the xPage has been saved, displaying the view for document selection, after the xPage has been saved, the dialog box displays, but the view is empty. There are no messages in any of the logs. This happens in the Notes client, as well as on the web using either Mozilla Firefox or IE. There is nothing in the code preventing the view from displaying.
The view is fine, and if I change the view that is displayed in the viewPanel, the new view behaves exactly the same. There are no permissions involved. It isn't anything to do with the dijit dialog I don't think, because the rest of the dialog box is fine. I have tried using Firebug to see what is happening, and everything looks just fine, with the exception that the view information isn't listed in the source whatsoever. I have also tried comparing the source code from both before and after the dialog is invoked, and nothing looks amiss there either. The button is on a tab within another tabbed panel, in case that gives any clues.
Does anybody have any idea what could be causing this?