CVS: TapestryBook/examples/context/WEB-INF ToDo5.page,NONE,1.1 TextField1.page,1.3,NONE

Howard Lewis Ship <[email protected]> Sun, 29 Jun 2003 16:40:27 -0700
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/TapestryBook/examples/context/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv20302/examples/context/WEB-INF

Added Files:
	ToDo5.page 
Removed Files:
	TextField1.page 
Log Message:
Integrate a large number of Marilyn's review comments.

--- NEW FILE: ToDo5.page ---
<?xml version="1.0"?>
<!-- $Id: ToDo5.page,v 1.1 2003/06/29 23:40:25 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC 
	"-//Apache Software Foundation//Tapestry Specification 3.0//EN" 
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_3_0.dtd">
	     	
<page-specification class="examples.todo4.ToDo4">

	<property-specification name="toDoList" type="java.util.List" persistent="yes"/>
	<property-specification name="item" type="examples.todo1.ToDoItem"/>
	<property-specification name="moveUpItem" type="examples.todo1.ToDoItem"/>
	<property-specification name="moveDownItem" type="examples.todo1.ToDoItem"/>
	<property-specification name="listEditMap" type="org.apache.tapestry.form.ListEditMap"/>
	<property-specification name="errorMessage" type="java.lang.String"/>
  
  <component id="listEdit" type="ListEdit">
    <binding name="source" expression="listEditMap.keys"/>
    <binding name="value" expression="listEditMap.key"/>
    <binding name="listener" expression="listeners.synchronizeItem"/>
  </component>  
  
  <component id="up" type="Submit">
  	<listener-binding name="listener">
  	
page.moveUpItem = page.item;
  		
  	</listener-binding>	
  </component>
  
  <component id="down" type="Submit">
		<listener-binding name="listener">
			
page.moveDownItem = page.item;

		</listener-binding>
  </component>
  
  <component id="add" type="Submit">
  <listener-binding name="listener">

from examples.todo4 import ToDo4;

item = ToDo4("New Item (Jython)");

page.toDoList.add(item); 
	
  </listener-binding>	
  </component>
  
</page-specification>

--- TextField1.page DELETED ---



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01