Created
August 18, 2010 01:45
-
-
Save ebruchez/533026 to your computer and use it in GitHub Desktop.
[ #315263 ] Regression: RTE doesn't initially appear readonly when needed
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
<html xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xforms="http://www.w3.org/2002/xforms" | |
xmlns:ev="http://www.w3.org/2001/xml-events" | |
xmlns:xxforms="http://orbeon.org/oxf/xml/xforms" | |
xmlns:xhtml="http://www.w3.org/1999/xhtml" | |
xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<xforms:model id="main-model" xxforms:xhtml-layout="nospan"> | |
<xforms:instance id="control"> | |
<instance xmlns=""> | |
<text>Hello, world!</text> | |
<readonly>true</readonly> | |
</instance> | |
</xforms:instance> | |
<xforms:bind nodeset="instance()/text" readonly="../readonly = 'true'"/> | |
<xforms:bind nodeset="instance()/readonly" type="xs:boolean"/> | |
</xforms:model> | |
</head> | |
<body> | |
<xforms:textarea ref="text" mediatype="text/html"/> | |
<xforms:input ref="readonly"/> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment