Created
April 21, 2010 19:34
-
-
Save avernet/374306 to your computer and use it in GitHub Desktop.
Test case: Dialog inside dialog can show below the mask
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
xmlns:xforms="http://www.w3.org/2002/xforms" | |
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:fr="http://orbeon.org/oxf/xml/form-runner"> | |
<xhtml:head> | |
<xhtml:title>Submitting instance with required and non-relevant node</xhtml:title> | |
<xforms:model> | |
<xforms:instance> | |
<first-name xmlns=""/> | |
</xforms:instance> | |
<xforms:bind nodeset="." required="true()" relevant="false()"/> | |
<xforms:submission id="submission" resource="" method="post" replace="instance"/> | |
</xforms:model> | |
</xhtml:head> | |
<xhtml:body> | |
<xforms:trigger> | |
<xforms:label>Open dialog 1</xforms:label> | |
<xxforms:show dialog="dialog-1" ev:event="DOMActivate"/> | |
</xforms:trigger> | |
<xxforms:dialog id="dialog-1"> | |
<xforms:label>Dialog 1</xforms:label> | |
<xhtml:p>First dialog</xhtml:p> | |
<xforms:trigger> | |
<xforms:label>Open dialog 2</xforms:label> | |
<xxforms:show dialog="dialog-2" ev:event="DOMActivate"/> | |
</xforms:trigger> | |
<xxforms:dialog id="dialog-2"> | |
<xforms:label>Dialog 2</xforms:label> | |
<xhtml:p>Second dialog</xhtml:p> | |
</xxforms:dialog> | |
</xxforms:dialog> | |
</xhtml:body> | |
</xhtml:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment