• Dialog Control Problem

    By Steve Smillie 1 decade ago

    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.

    • RE: Dialog Control Problem - found solution

      By Steve Smillie 1 decade ago

      I found a working solution here: http://blog.hughesconnect.com/?p=62
      Basically changing the scope of the datasource on the panel in the dialog to "request"
      and changing the Ignore request parameter to true.
      If some has insight on why these help I would love to understand this better. Thanks!