Skip to content

Instantly share code, notes, and snippets.

@markleusink
Created January 23, 2019 08:06
Show Gist options
  • Save markleusink/096048c08722a2cad339be5956294ab4 to your computer and use it in GitHub Desktop.
Save markleusink/096048c08722a2cad339be5956294ab4 to your computer and use it in GitHub Desktop.
Modal causing (partial) refresh issue in Domino 10.0.1
<?xml version="1.0" encoding="UTF-8"?>
<xp:view
xmlns:xp="http://www.ibm.com/xsp/core"
xmlns:xe="http://www.ibm.com/xsp/coreex">
<xe:dialog
id="dialog1"
title="refresh issue">
<xp:panel id="dlgContentWrapper">
<xe:dialogContent id="dialogContent1">
Content in the dialog
</xe:dialogContent>
<xe:dialogButtonBar id="dialogButtonBar1">
<xp:button
value="close 2"
id="button3">
<xp:eventHandler
event="onclick"
submit="true"
refreshMode="partial"
refreshId="dlgContentWrapper">
<xp:this.action><![CDATA[#{javascript:getComponent("dialog1").hide()}]]></xp:this.action>
</xp:eventHandler>
</xp:button>
</xe:dialogButtonBar>
</xp:panel>
</xe:dialog>
<xp:button
value="show dialog"
id="button1">
<xp:eventHandler
event="onclick"
submit="false">
<xp:this.script><![CDATA[XSP.openDialog("#{id:dialog1}");]]></xp:this.script>
</xp:eventHandler>
</xp:button>
</xp:view>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment