<?xml-stylesheet type="text/xsl" href="/xforms-tests/xsltforms/xsltforms.xsl"?>
<html xmlns:my="http://commerce.example.com/payment" xmlns:txs="http://sourceforge.net/projects/txs" xmlns="http://www.w3.org/1999/xhtml" xmlns:req="http://www.agencexml.com/requests" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <head>
    <title>4.4.6.a xforms-readonly event</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
      <xforms:instance>
	    <car xmlns="">
	      <make>Toyota</make>
	    </car>
      </xforms:instance>
	  <xforms:bind nodeset="make" readonly=".='Honda'"/>
	  <xforms:setvalue ref="make" ev:event="xforms-ready">Honda</xforms:setvalue>
    </xforms:model>
  </head>
  <body>
    <xforms:group>
    	<xforms:label class="title">4.4.6.a xforms-readonly event</xforms:label>
    </xforms:group>
    
    <xforms:group>
    	<xforms:label>
	    	You must have seen an xforms-readonly event message.
	    </xforms:label>	
    </xforms:group>
    
    <xforms:input ref="make">
    	<xforms:label>Car make : </xforms:label>
    	<xforms:message ev:event="xforms-readonly" level="modal">xforms-readonly event</xforms:message>
    </xforms:input>
  </body>
</html>
