Created
January 10, 2011 19:59
-
-
Save binnyg/773349 to your computer and use it in GitHub Desktop.
Traversing from rte to rte doesn't make the field valid.
This file contains 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> | |
<xforms:model id="main" | |
xxforms:session-heartbeat="true" | |
xxforms:show-error-dialog="false" | |
xxforms:external-events="submit-save submit-preview submit-cancel"> | |
<xforms:instance id="instance"> | |
<root> | |
<title/> | |
<rtetitle1/> | |
<rtetitle2/> | |
</root> | |
</xforms:instance> | |
<xforms:bind nodeset="instance('instance')"> | |
<xforms:bind nodeset="title"/> | |
<xforms:bind nodeset="rtetitle1" required="true()"/> | |
<xforms:bind nodeset="rtetitle2" required="true()"/> | |
</xforms:bind> | |
</xforms:model> | |
</xhtml:head> | |
<xhtml:body class="body"> | |
<div> | |
<xforms:input ref="relevant1"> | |
<xforms:label>Make input relevant</xforms:label> | |
</xforms:input> | |
</div> | |
<div> | |
<xforms:input ref="title"> | |
<xforms:label>Node Selector</xforms:label> | |
</xforms:input> | |
</div> | |
<div> | |
<xforms:textarea mediatype="text/html" ref="rtetitle1" height="100px"> | |
<xforms:label>RTE1</xforms:label> | |
<xforms:alert>req</xforms:alert> | |
</xforms:textarea> | |
</div> | |
<div> | |
<xforms:textarea mediatype="text/html" ref="rtetitle2" max="100"> | |
<xforms:label>RTE2</xforms:label> | |
<xforms:alert>req</xforms:alert> | |
</xforms:textarea> | |
</div> | |
</xhtml:body> | |
</xhtml:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment