<?xml version="1.0" encoding="UTF-8"?>
<!--

  $Author: richard $

  $Revision: 1.4 $

  $Log: 1,v $
  Revision 1.4  2002/03/17 11:40:25  richard
  rewrite test

  Revision 1.3  2001/10/30 16:22:28  gb
  Modified all the test files in the wml2 directory such that it puts the <?xml?> declaration back at the top of the file, before the comment.

  Revision 1.2  2001/10/08 21:56:14  gb
  Added the standard header of Author, Revision and Log at the top of each template file.


-->
<test id="wml2/uabehaviour/eventmodel/eventbindings/shadowing/1" 
	class="A" scope="wml2" testtype="application" type="auto" 
	source="wml2#5.6.3.3" device="both">
  <assertion>When a card level binding is set, the binding must appear 
  inside a WML:CARD element and specify event-processing behaviour for 
  that particular card.
  </assertion>
  <specnote>Create a document that contains a card that in turn contains 
  a WML:ONEVENT element with its type attribute set to ENTERFORWARD. The 
  WML:ONEVENT element could contain a WML:GO element sending a variable
  to the server, which will validate the value.
  </specnote>
  <results>
    <result ci="true">
      <name>test</name>
      <value>pass</value>
    </result>
  </results>
  <method>
  	<![CDATA[
  		<wml:card id="main" title="main" newcontext="true">
  			<wml:onevent type="enterforward">
  				<wml:go href="[[resulturl]]">
  					<wml:postfield name="test" value="pass" />
  					[[sessionvars]]
  				</wml:go>
  			</wml:onevent>
  			[[auto_failed]]
  		</wml:card>
  	]]>
  </method>
</test>
