CVS: Tapestry/junit/context7/WEB-INF Two.page,NONE,1.1.2.1

Howard Lewis Ship <[email protected]>
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/Tapestry/junit/context7/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv3134/junit/context7/WEB-INF

Added Files:
      Tag: hship-2-3
	Two.page 
Log Message:
Add tests for <listener-binding>

--- NEW FILE: Two.page ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: Two.page,v 1.1.2.1 2003/01/04 02:49:06 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC 
	"-//Howard Lewis Ship//Tapestry Specification 1.4//EN" 
	"http://tapestry.sf.net/dtd/Tapestry_1_4.dtd">
	
<page-specification class="net.sf.tapestry.junit.mock.c7.Two">

	<component id="link" type="DirectLink">
		<listener-binding name="listener" language="jython">

page.message = "Component was clicked."
		
		</listener-binding>
	</component>

	<component id="invalidScriptLink" type="DirectLink">
		<listener-binding name="listener" language="jython">

# Note the missing trailing quote!

page.message = "invalidScriptLink component was clicked.
		
		</listener-binding>
	</component>
	
	<component id="unknownLanguageLink" type="DirectLink">
		<listener-binding name="listener" language="DoesNotExist">

page.message = "unknownLanguageLink component was clicked."
		
		</listener-binding>
	</component>	
	
</page-specification>




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.