<?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>8.1.9.a submit element</title>
    <link rel="stylesheet" href="../../../driverPages/forms/TestSuite11.css" type="text/css"/>
    <xforms:model>
    	<xforms:instance xmlns="">
    		<employee>
    			<name>Janel</name>
    		</employee>
    	</xforms:instance>
    	<xforms:submission id="timecard" ref="/employee/name" action="http://www.agencexml.com/xforms-tests/xsltforms/echo.php" method="post" replace="none">
    	   	<xforms:action ev:event="xforms-submit-done">
    	  		<xforms:message level="modal">xforms-submit-done</xforms:message>
	      	</xforms:action>
        	<xforms:action ev:event="xforms-submit">
        		<xforms:message level="modal">xforms-submit</xforms:message>
        	</xforms:action>
      	</xforms:submission>
    </xforms:model>
  </head>
  <body>
    <xforms:group>
    	<xforms:label class="title">8.1.9.a submit element</xforms:label>
    </xforms:group>
    <xforms:group>
    	<xforms:label>
    	  When you activate the Submit Name submit control you must see a DOMActivate message, an xforms-submit 
    	  message, and an xforms-submit-done message. 
    	</xforms:label>
	</xforms:group>
    <xforms:group>
		<xforms:submit submission="timecard">
			<xforms:label>Submit Name</xforms:label>
        	<xforms:action ev:event="DOMActivate">
          		<xforms:message level="modal">DOMActivate</xforms:message>
        	</xforms:action>
		</xforms:submit>
    </xforms:group>
	
  </body>
</html>
