I am using a dialog control to do a Document Edit similar to the Ext Lib Demo database examples.
If I put the code on XPage with juts a view or repeat (like the demo), it works as expected, but if I put it on the same view or repeat that is on XPage that also contains a document (like an old Notes embedded view on a form), the dialog displays the base document rather than the expected document tied to the row of the repeat or view.
I have tried many things including moving the dialog content to a separate custom control. I can't seem to solve this issue.
I assume this has something to do with how Dojo moves the Dialog code.
Any ideas would be appreciated.