I have an application developed in ND6. Part of the functionality of this application requires the user to select from existing documents, however as more explanation was required than you could fit in the Prompt text for a Picklist, I did this using an embedded view in a Dialogbox. It worked by setting an environment variable in the QueryClose of the view to the unid of the selected document.
Having just tested this application in 8.5.1, it appears that the QueryClose event of the view no longer fires under these circumstances. I tested it by putting a messagebox in. 7.0.3 displays the messagebox when the Dialogbox is closed - 8.5.1 does not.
Thankfully it appears that I can put the same code in the new OnSelect event of a view and earlier clients won’t be affected by this.
Does anyone know whether this was an intentional change in functionality, or whether this is another of the many focus issues which seem to exist in ND8?
Subject: View events do not work consistently across different Notes versions
I have fiddled with this in a similar context as desribed in your post. Bottom line was: Don’t rely on view events when a view is embedded on a dialog. They work to a certain extent with some versions of Notes but not with others. I found no version of Notes where they work flawlessly. Either IBM/Lotus have never really intended this to be usable, or they have never tested it properly.
What a bummer! The ability to embed a view on a dialog for selecting documents would make many dialogs look a lot more appealing and user-friendly.