<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  	<head>
    	<title>10.e refresh in action element</title>
    	<link rel="stylesheet" href="../driverPages/forms/TestSuite11.css" type="text/css"/>
    	<xforms:model id="thismodel">
       		<xforms:instance xmlns="">
				<car>
					<model>Pacifica</model>
				</car>
       		</xforms:instance>
       		<xforms:message level="modal" ev:event="xforms-refresh">xforms-refresh</xforms:message>
    	</xforms:model>
  	</head>
  	<body>
  		<xforms:group>
	  		<xforms:label class="title">10.e refresh in action element</xforms:label>
	  	</xforms:group>
  		<xforms:group>
  			<xforms:label>
  			  When you activate the Update Car trigger you must see an xforms:action message and an xforms-refresh 
  			  message. 
  			</xforms:label>
  		</xforms:group>
  		
	    <xforms:repeat nodeset="/car/model">
	        <xforms:input ref=".">
	            <xforms:label>Car model : </xforms:label>
	        </xforms:input>
	    </xforms:repeat>
 		
		<xforms:trigger>
	        <xforms:label>Update Car</xforms:label>
	        <xforms:action ev:event="DOMActivate">
	            <xforms:setvalue ref="/car/model">Pilot</xforms:setvalue>
	            <xforms:message level="modal">xforms:action</xforms:message>
	        </xforms:action>
		</xforms:trigger>
		
  </body>
</html>
