~Arnold MinreternivuMar 8, 2011, 7:27 AM41 PostsRe: Trap window closing in XPiNC The ViewRoot (the base tag of an XPage) supports three related properties that impact this behavior for XPiNC: enableModifiedFlag - if true, the page will monitor the state of all editable components to identify if any have been modified, similar to how Form elements behave in the Notes clientmodifiedMessage - text of the prompt that will display to the user if they attempt to close a page that is considered to have been modifiedmodifiedControl - Id of the component that contains the action to handle "saving" the page if the user responds affirmatively to the above confirmation
~August ElfooskijipMar 8, 2011, 1:53 PM16 PostsRe: Trap window closing in XPiNCTim, Many thank for the guidanceIf my XPage is not being modified in any way (it is purely a page for searching and viewing results in a view panel control), how can I trap the closing of the document/window? Mike