CVS: TapestryBook/examples/context Upload.html,1.1,1.2 Login.html,1.1,1.2 RegisterConfirm.html,1.2,1.3 ToDo.html,1.2,1.3 DatesConfirm.html,1.1,1.2 Register2.html,1.1,1.2 ToDo2.html,1.1,1.2 Dates.html,1.1,1.2 UploadResults.html,1.1,1.2 ToppingsResult.html,1.1,1.2 ToDo3.html,1.1,1.2 Toppings.html,1.2,1.3 Register.html,1.2,1.3 Dates2.html,1.1,1.2 TextField1.html,1.2,1.3

Howard Lewis Ship <[email protected]> Fri, 07 Mar 2003 07:15:35 -0800
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/TapestryBook/examples/context
In directory sc8-pr-cvs1:/tmp/cvs-serv3059/examples/context

Modified Files:
	Upload.html Login.html RegisterConfirm.html ToDo.html 
	DatesConfirm.html Register2.html ToDo2.html Dates.html 
	UploadResults.html ToppingsResult.html ToDo3.html 
	Toppings.html Register.html Dates2.html TextField1.html 
Log Message:
Update for Tapestry 2.4-alpha-4, including package rename.

Index: Upload.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Upload.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Upload.html	4 Mar 2003 01:13:11 -0000	1.1
--- Upload.html	7 Mar 2003 15:13:22 -0000	1.2
***************
*** 2,9 ****
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]">
  File to upload:
  <br/>
! <input type="file" jwcid="@Upload" file="[[ file ]]"/>
  <br/>
  <input type="submit" value="Upload"/>
--- 2,9 ----
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit">
  File to upload:
  <br/>
! <input type="file" jwcid="@Upload" file="ognl:file"/>
  <br/>
  <input type="submit" value="Upload"/>

Index: Login.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Login.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Login.html	20 Feb 2003 15:13:52 -0000	1.1
--- Login.html	7 Mar 2003 15:13:22 -0000	1.2
***************
*** 2,8 ****
  <body jwcid="@Body">
  
! <span jwcid="@Conditional" condition="[[ message ]]">
  <font color="red">
! <span jwcid="@Insert" value="[[ message ]]">
  Error Message
  </span>
--- 2,8 ----
  <body jwcid="@Body">
  
! <span jwcid="@Conditional" condition="ognl:message">
  <font color="red">
! <span jwcid="@Insert" value="ognl:message">
  Error Message
  </span>
***************
*** 12,16 ****
  <p/>
  
! <form jwcid="@Form" listener="[[ listeners.login ]]">
  
  <table>
--- 12,16 ----
  <p/>
  
! <form jwcid="@Form" listener="ognl:listeners.login">
  
  <table>
***************
*** 19,23 ****
    <td>
      <input type="text" jwcid="@TextField"
!        value="[[ userName ]]"
         size="30"/></td>
  </tr>
--- 19,23 ----
    <td>
      <input type="text" jwcid="@TextField"
!        value="ognl:userName"
         size="30"/></td>
  </tr>
***************
*** 26,31 ****
    <td>
      <input type="password" jwcid="@TextField"
!        value="[[ password ]]"
!        hidden="[[ true ]]"
         size="30"/>
    </td>
--- 26,31 ----
    <td>
      <input type="password" jwcid="@TextField"
!        value="ognl:password"
!        hidden="ognl:true"
         size="30"/>
    </td>

Index: RegisterConfirm.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/RegisterConfirm.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** RegisterConfirm.html	2 Mar 2003 22:56:19 -0000	1.2
--- RegisterConfirm.html	7 Mar 2003 15:13:22 -0000	1.3
***************
*** 1,3 ****
! <html jwcid="@Shell" title="Registration Confirmation" stylesheet="[[ assets.stylesheet ]]">
  <body jwcid="@Body">
  
--- 1,3 ----
! <html jwcid="@Shell" title="Registration Confirmation" stylesheet="ognl:assets.stylesheet">
  <body jwcid="@Body">
  
***************
*** 6,23 ****
  <br/>
  
! <span jwcid="@Insert" value="[[ address.lastName ]]">Kent</span>,
! <span jwcid="@Insert" value="[[ address.firstName ]]">Clark</span>
  <br/>
! <span jwcid="@Insert" value="[[ address.address1 ]]">One Gotham Way</span>
  
! <span jwcid="@Conditional" condition="[[ address.address2 ]]">
  <br/>
! <span jwcid="@Insert" value="[[ address.address2 ]]">4th Floor</span>	
  </span>
  
  <br/>
! <span jwcid="@Insert" value="[[ address.city ]]">Metropolis</span>,
! <span jwcid="@Insert" value="[[ address.state ]]">DC</span>
! <span jwcid="@Insert" value="[[ address.zip ]]">01234</span>
  
  <hr/>
--- 6,23 ----
  <br/>
  
! <span jwcid="@Insert" value="ognl:address.lastName">Kent</span>,
! <span jwcid="@Insert" value="ognl:address.firstName">Clark</span>
  <br/>
! <span jwcid="@Insert" value="ognl:address.address1">One Gotham Way</span>
  
! <span jwcid="@Conditional" condition="ognl:address.address2">
  <br/>
! <span jwcid="@Insert" value="ognl:address.address2">4th Floor</span>	
  </span>
  
  <br/>
! <span jwcid="@Insert" value="ognl:address.city">Metropolis</span>,
! <span jwcid="@Insert" value="ognl:address.state">DC</span>
! <span jwcid="@Insert" value="ognl:address.zip">01234</span>
  
  <hr/>

Index: ToDo.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ToDo.html	28 Feb 2003 00:25:43 -0000	1.2
--- ToDo.html	7 Mar 2003 15:13:22 -0000	1.3
***************
*** 2,6 ****
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]">
  	
  <table>
--- 2,6 ----
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit">
  	
  <table>
***************
*** 10,24 ****
  		<th colspan="2">Reorder</th>
  	</tr>
! <tr jwcid="@Foreach" element="tr" source="[[ toDoList ]]" value="[[ item ]]">
!   <td><input type="checkbox" jwcid="@Checkbox" selected="[[ item.completed ]]"/></td>
!   <td><input type="text" jwcid="@TextField" size="50" value="[[ item.title ]]"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="[[ listeners.moveUp ]]" label="Move Up"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="[[ listeners.moveDown ]]" label="Move Down"/></td>
  </tr>	
  </table>
  
  <input type="submit" value="Update"/>
! <input type="submit" jwcid="@Submit" listener="[[ listeners.addTodoItem ]]" label="Add Item"/>
! <input type="submit" jwcid="@Submit" listener="[[ listeners.deleteCompleted ]]" label="Delete Completed"/>
  
  </form>
--- 10,24 ----
  		<th colspan="2">Reorder</th>
  	</tr>
! <tr jwcid="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item">
!   <td><input type="checkbox" jwcid="@Checkbox" selected="ognl:item.completed"/></td>
!   <td><input type="text" jwcid="@TextField" size="50" value="ognl:item.title"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
  </tr>	
  </table>
  
  <input type="submit" value="Update"/>
! <input type="submit" jwcid="@Submit" listener="ognl:listeners.addTodoItem" label="Add Item"/>
! <input type="submit" jwcid="@Submit" listener="ognl:listeners.deleteCompleted" label="Delete Completed"/>
  
  </form>

Index: DatesConfirm.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/DatesConfirm.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DatesConfirm.html	2 Mar 2003 22:56:19 -0000	1.1
--- DatesConfirm.html	7 Mar 2003 15:13:23 -0000	1.2
***************
*** 1,3 ****
! <html jwcid="@Shell" title="Date Confirmation" stylesheet="[[ assets.stylesheet ]]">
  <body jwcid="@Body">
  
--- 1,3 ----
! <html jwcid="@Shell" title="Date Confirmation" stylesheet="ognl:assets.stylesheet">
  <body jwcid="@Body">
  
***************
*** 6,12 ****
  <br/>
  
! Start date: <span jwcid="@Insert" value="[[ startDate ]]" format="[[ dateFormat ]]">1/1/2003</span>
  <br/>
! End date: <span jwcid="@Insert" value="[[ endDate ]]" format="[[ dateFormat ]]">2/30/2004</span>
  
  <hr/>
--- 6,12 ----
  <br/>
  
! Start date: <span jwcid="@Insert" value="ognl:startDate" format="ognl:dateFormat">1/1/2003</span>
  <br/>
! End date: <span jwcid="@Insert" value="ognl:endDate" format="ognl:dateFormat">2/30/2004</span>
  
  <hr/>

Index: Register2.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Register2.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Register2.html	28 Feb 2003 00:25:43 -0000	1.1
--- Register2.html	7 Mar 2003 15:13:23 -0000	1.2
***************
*** 1,3 ****
! <html jwcid="@Shell" title="Registration (Client Validation Enabled)" stylesheet="[[ assets.stylesheet ]]">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
--- 1,3 ----
! <html jwcid="@Shell" title="Registration (Client Validation Enabled)" stylesheet="ognl:assets.stylesheet">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
***************
*** 11,15 ****
  </p>
  	
! <span jwcid="@Conditional" condition="[[ beans.delegate.hasErrors ]]">
  
  <table class="error">
--- 11,15 ----
  </p>
  	
! <span jwcid="@Conditional" condition="ognl:beans.delegate.hasErrors">
  
  <table class="error">
***************
*** 19,23 ****
  </td>
  <td>
! <span jwcid="@Delegator" delegate="[[ beans.delegate.firstError ]]">Error Message</span>	
  </td>
  </tr>
--- 19,23 ----
  </td>
  <td>
! <span jwcid="@Delegator" delegate="ognl:beans.delegate.firstError">Error Message</span>	
  </td>
  </tr>
***************
*** 27,46 ****
  </span>
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]" delegate="[[ beans.delegate ]]">
  	
  <table class="form">
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputFirstName ]]">First Name</span></th>
  <td><input type="text" jwcid="inputFirstName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputLastName ]]">Last Name</span></th>
  <td><input type="text" jwcid="inputLastName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputAddress1 ]]">Address</span></th>
  <td><input type="text" jwcid="inputAddress1" size="50"/></td>
  </tr>
--- 27,46 ----
  </span>
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
  	
  <table class="form">
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputFirstName">First Name</span></th>
  <td><input type="text" jwcid="inputFirstName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputLastName">Last Name</span></th>
  <td><input type="text" jwcid="inputLastName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputAddress1">Address</span></th>
  <td><input type="text" jwcid="inputAddress1" size="50"/></td>
  </tr>
***************
*** 48,65 ****
  <tr>
  <td></td>
! <td><input type="text" jwcid="@TextField" value="[[ address.address2 ]]" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputCity ]]">City</span></th>
  <td><input type="text" jwcid="inputCity" size="50"/></td>
  </tr>
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputState ]]">State</span></th>
  <td><input type="text" jwcid="inputState" size="2"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputZip ]]">Zip</span></th>
  <td><input type="text" jwcid="inputZip" size="10"/>
  </tr>
--- 48,65 ----
  <tr>
  <td></td>
! <td><input type="text" jwcid="@TextField" value="ognl:address.address2" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputCity">City</span></th>
  <td><input type="text" jwcid="inputCity" size="50"/></td>
  </tr>
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputState">State</span></th>
  <td><input type="text" jwcid="inputState" size="2"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputZip">Zip</span></th>
  <td><input type="text" jwcid="inputZip" size="10"/>
  </tr>

Index: ToDo2.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo2.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ToDo2.html	28 Feb 2003 00:25:43 -0000	1.1
--- ToDo2.html	7 Mar 2003 15:13:24 -0000	1.2
***************
*** 2,6 ****
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]">
  	
  <table>
--- 2,6 ----
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit">
  	
  <table>
***************
*** 11,26 ****
  		<th colspan="2">Reorder</th>
  	</tr>
! <tr jwcid="@Foreach" element="tr" source="[[ toDoList ]]" value="[[ item ]]">
!   <td><input type="checkbox" jwcid="@Checkbox" selected="[[ item.completed ]]"/></td>
!   <td><select jwcid="@PropertySelection" value="[[ item.priority ]]" model="[[ priorityModel ]]"/></td>
!   <td><input type="text" jwcid="@TextField" size="50" value="[[ item.title ]]"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="[[ listeners.moveUp ]]" label="Move Up"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="[[ listeners.moveDown ]]" label="Move Down"/></td>
  </tr>	
  </table>
  
  <input type="submit" value="Update"/>
! <input type="submit" jwcid="@Submit" listener="[[ listeners.addTodoItem ]]" label="Add Item"/>
! <input type="submit" jwcid="@Submit" listener="[[ listeners.deleteCompleted ]]" label="Delete Completed"/>
  
  </form>
--- 11,26 ----
  		<th colspan="2">Reorder</th>
  	</tr>
! <tr jwcid="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item">
!   <td><input type="checkbox" jwcid="@Checkbox" selected="ognl:item.completed"/></td>
!   <td><select jwcid="@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
!   <td><input type="text" jwcid="@TextField" size="50" value="ognl:item.title"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
  </tr>	
  </table>
  
  <input type="submit" value="Update"/>
! <input type="submit" jwcid="@Submit" listener="ognl:listeners.addTodoItem" label="Add Item"/>
! <input type="submit" jwcid="@Submit" listener="ognl:listeners.deleteCompleted" label="Delete Completed"/>
  
  </form>

Index: Dates.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Dates.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Dates.html	2 Mar 2003 22:56:19 -0000	1.1
--- Dates.html	7 Mar 2003 15:13:26 -0000	1.2
***************
*** 1,3 ****
! <html jwcid="@Shell" title="Date Input" stylesheet="[[ assets.stylesheet ]]">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
--- 1,3 ----
! <html jwcid="@Shell" title="Date Input" stylesheet="ognl:assets.stylesheet">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
***************
*** 12,16 ****
  </p>
  	
! <span jwcid="@Conditional" condition="[[ beans.delegate.hasErrors ]]">
  
  <table class="error">
--- 12,16 ----
  </p>
  	
! <span jwcid="@Conditional" condition="ognl:beans.delegate.hasErrors">
  
  <table class="error">
***************
*** 20,24 ****
  </td>
  <td>
! <span jwcid="@Delegator" delegate="[[ beans.delegate.firstError ]]">Error Message</span>	
  </td>
  </tr>
--- 20,24 ----
  </td>
  <td>
! <span jwcid="@Delegator" delegate="ognl:beans.delegate.firstError">Error Message</span>	
  </td>
  </tr>
***************
*** 28,42 ****
  </span>
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]" delegate="[[ beans.delegate ]]">
  	
  <table class="form">
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputStart ]]">Start Date</span></th>
  <td><input type="text" jwcid="inputStart" size="10"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputEnd ]]">End Date</span></th>
  <td><input type="text" jwcid="inputEnd" size="10"/></td>
  </tr>
--- 28,42 ----
  </span>
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
  	
  <table class="form">
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputStart">Start Date</span></th>
  <td><input type="text" jwcid="inputStart" size="10"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputEnd">End Date</span></th>
  <td><input type="text" jwcid="inputEnd" size="10"/></td>
  </tr>

Index: UploadResults.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/UploadResults.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** UploadResults.html	4 Mar 2003 01:13:11 -0000	1.1
--- UploadResults.html	7 Mar 2003 15:13:27 -0000	1.2
***************
*** 5,19 ****
  <tr>
  	<th>Name:</th>
! 	<td><span jwcid="@Insert" value="[[ file.fileName]]">File Name</span></td>	
  </tr>
  
  <tr>
  	<th>Path:</th>
! 	<td><span jwcid="@Insert" value="[[ file.filePath ]]">File Path</span></td>
  </tr>
  
  <tr>
  	<th>Content Type:</th>
! 	<td><span jwcid="@Insert" value="[[ file.contentType ]]">text/html</span></td>
  </tr>
  
--- 5,19 ----
  <tr>
  	<th>Name:</th>
! 	<td><span jwcid="@Insert" value="ognl:file.fileName]]">File Name</span></td>	
  </tr>
  
  <tr>
  	<th>Path:</th>
! 	<td><span jwcid="@Insert" value="ognl:file.filePath">File Path</span></td>
  </tr>
  
  <tr>
  	<th>Content Type:</th>
! 	<td><span jwcid="@Insert" value="ognl:file.contentType">text/html</span></td>
  </tr>
  
***************
*** 25,29 ****
  
  <pre>
! <span jwcid="@Delegator" delegate="[[ contentRenderer ]]"/>
  </pre>
  
--- 25,29 ----
  
  <pre>
! <span jwcid="@Delegator" delegate="ognl:contentRenderer"/>
  </pre>
  

Index: ToppingsResult.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToppingsResult.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ToppingsResult.html	20 Feb 2003 15:13:52 -0000	1.1
--- ToppingsResult.html	7 Mar 2003 15:13:29 -0000	1.2
***************
*** 2,6 ****
  <body jwcid="@Body">
  
! <p>You selected: <span jwcid="@Insert" value="[[ toppings ]]">some toppings</span></p>
  
  <hr/>
--- 2,6 ----
  <body jwcid="@Body">
  
! <p>You selected: <span jwcid="@Insert" value="ognl:toppings">some toppings</span></p>
  
  <hr/>

Index: ToDo3.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo3.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ToDo3.html	28 Feb 2003 00:25:43 -0000	1.1
--- ToDo3.html	7 Mar 2003 15:13:30 -0000	1.2
***************
*** 2,6 ****
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]">
  	
  <table>
--- 2,6 ----
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit">
  	
  <table>
***************
*** 11,26 ****
  		<th colspan="2">Reorder</th>
  	</tr>
! <tr jwcid="@Foreach" element="tr" source="[[ toDoList ]]" value="[[ item ]]">
!   <td><input type="checkbox" jwcid="@Checkbox" selected="[[ item.completed ]]"/></td>
!   <td><select jwcid="@PropertySelection" value="[[ item.priority ]]" model="[[ priorityModel ]]"/></td>
!   <td><input type="text" jwcid="@TextField" size="50" value="[[ item.title ]]"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="[[ listeners.moveUp ]]" label="Move Up"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="[[ listeners.moveDown ]]" label="Move Down"/></td>
  </tr>	
  </table>
  
  <input type="submit" value="Update"/>
! <input type="submit" jwcid="@Submit" listener="[[ listeners.addTodoItem ]]" label="Add Item"/>
! <input type="submit" jwcid="@Submit" listener="[[ listeners.deleteCompleted ]]" label="Delete Completed"/>
  
  </form>
--- 11,26 ----
  		<th colspan="2">Reorder</th>
  	</tr>
! <tr jwcid="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item">
!   <td><input type="checkbox" jwcid="@Checkbox" selected="ognl:item.completed"/></td>
!   <td><select jwcid="@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
!   <td><input type="text" jwcid="@TextField" size="50" value="ognl:item.title"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
!   <td><input type="submit" jwcid="@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
  </tr>	
  </table>
  
  <input type="submit" value="Update"/>
! <input type="submit" jwcid="@Submit" listener="ognl:listeners.addTodoItem" label="Add Item"/>
! <input type="submit" jwcid="@Submit" listener="ognl:listeners.deleteCompleted" label="Delete Completed"/>
  
  </form>

Index: Toppings.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Toppings.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Toppings.html	28 Feb 2003 00:25:43 -0000	1.2
--- Toppings.html	7 Mar 2003 15:13:30 -0000	1.3
***************
*** 2,15 ****
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="[[ listeners.selectToppings ]]">
  
  Select toppings:
! <select jwcid="@Select" multiple="[[ true ]]">
    <span jwcid="@Foreach"
!     source="[[ allToppings ]]"
!     value="[[ topping ]]">
      <option jwcid="@Option"
!        selected="[[ toppingSelected ]]"
!        label="[[ topping ]]"/>
    </span>
  </select>
--- 2,15 ----
  <body jwcid="@Body">
  
! <form jwcid="@Form" listener="[[ listeners.selectToppings">
  
  Select toppings:
! <select jwcid="@Select" multiple="[[ true">
    <span jwcid="@Foreach"
!     source="[[ allToppings"
!     value="[[ topping">
      <option jwcid="@Option"
!        selected="[[ toppingSelected"
!        label="[[ topping"/>
    </span>
  </select>

Index: Register.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Register.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Register.html	4 Mar 2003 01:13:10 -0000	1.2
--- Register.html	7 Mar 2003 15:13:32 -0000	1.3
***************
*** 1,3 ****
! <html jwcid="@Shell" title="Registration" stylesheet="[[ assets.stylesheet ]]">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
--- 1,3 ----
! <html jwcid="@Shell" title="Registration" stylesheet="ognl:assets.stylesheet">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
***************
*** 11,15 ****
  </p>
  	
! <span jwcid="@Conditional" condition="[[ beans.delegate.hasErrors ]]">
  
  <table class="error">
--- 11,15 ----
  </p>
  	
! <span jwcid="@Conditional" condition="ognl:beans.delegate.hasErrors">
  
  <table class="error">
***************
*** 19,23 ****
  </td>
  <td>
! <span jwcid="@Delegator" delegate="[[ beans.delegate.firstError ]]">Error Message</span>	
  </td>
  </tr>
--- 19,23 ----
  </td>
  <td>
! <span jwcid="@Delegator" delegate="ognl:beans.delegate.firstError">Error Message</span>	
  </td>
  </tr>
***************
*** 27,46 ****
  </span>
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]" delegate="[[ beans.delegate ]]">
  	
  <table class="form">
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputFirstName ]]">First Name</span></th>
  <td><input type="text" jwcid="inputFirstName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputLastName ]]">Last Name</span></th>
  <td><input type="text" jwcid="inputLastName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputAddress1 ]]">Address</span></th>
  <td><input type="text" jwcid="inputAddress1" size="50"/></td>
  </tr>
--- 27,46 ----
  </span>
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
  	
  <table class="form">
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputFirstName">First Name</span></th>
  <td><input type="text" jwcid="inputFirstName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputLastName">Last Name</span></th>
  <td><input type="text" jwcid="inputLastName" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputAddress1">Address</span></th>
  <td><input type="text" jwcid="inputAddress1" size="50"/></td>
  </tr>
***************
*** 48,65 ****
  <tr>
  <td></td>
! <td><input type="text" jwcid="@TextField" value="[[ address.address2 ]]" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputCity ]]">City</span></th>
  <td><input type="text" jwcid="inputCity" size="50"/></td>
  </tr>
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputState ]]">State</span></th>
  <td><input type="text" jwcid="inputState" size="2"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputZip ]]">Zip</span></th>
  <td><input type="text" jwcid="inputZip" size="10"/>
  </tr>
--- 48,65 ----
  <tr>
  <td></td>
! <td><input type="text" jwcid="@TextField" value="ognl:address.address2" size="50"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputCity">City</span></th>
  <td><input type="text" jwcid="inputCity" size="50"/></td>
  </tr>
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputState">State</span></th>
  <td><input type="text" jwcid="inputState" size="2"/></td>
  </tr>
  
  <tr>
! <th><span jwcid="@FieldLabel" field="ognl:components.inputZip">Zip</span></th>
  <td><input type="text" jwcid="inputZip" size="10"/>
  </tr>

Index: Dates2.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Dates2.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Dates2.html	4 Mar 2003 01:13:11 -0000	1.1
--- Dates2.html	7 Mar 2003 15:13:32 -0000	1.2
***************
*** 1,3 ****
! <html jwcid="@Shell" title="Date Input" stylesheet="[[ assets.stylesheet ]]">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
--- 1,3 ----
! <html jwcid="@Shell" title="Date Input" stylesheet="ognl:assets.stylesheet">
  <head jwcid="$remove$">
  <link rel="stylesheet" type="text/css" href="css/style.css"/>	
***************
*** 12,16 ****
  </p>
  	
! <span jwcid="@Conditional" condition="[[ beans.delegate.hasErrors ]]">
  
  <table class="error">
--- 12,16 ----
  </p>
  	
! <span jwcid="@Conditional" condition="ognl:beans.delegate.hasErrors">
  
  <table class="error">
***************
*** 20,24 ****
  </td>
  <td>
! <span jwcid="@Delegator" delegate="[[ beans.delegate.firstError ]]">Error Message</span>	
  </td>
  </tr>
--- 20,24 ----
  </td>
  <td>
! <span jwcid="@Delegator" delegate="ognl:beans.delegate.firstError">Error Message</span>	
  </td>
  </tr>
***************
*** 28,32 ****
  </span>
  
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]" delegate="[[ beans.delegate ]]">
  	
  <table class="form">
--- 28,32 ----
  </span>
  
! <form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
  	
  <table class="form">
***************
*** 34,41 ****
  <tr>
  <th><span jwcid="@FieldLabel" displayName="Start Date" 
! 	field="[[ components.inputStart ]]">Start Date</span></th>
  <td><input type="text" jwcid="inputStart" size="10"/>
  	<span class="required-marker">*</span>
! <span jwcid="@Conditional" condition="[[ beans.delegate.inError ]]">
  	<img src="images/field-error.png"/>
  </span>	
--- 34,41 ----
  <tr>
  <th><span jwcid="@FieldLabel" displayName="Start Date" 
! 	field="ognl:components.inputStart">Start Date</span></th>
  <td><input type="text" jwcid="inputStart" size="10"/>
  	<span class="required-marker">*</span>
! <span jwcid="@Conditional" condition="ognl:beans.delegate.inError">
  	<img src="images/field-error.png"/>
  </span>	
***************
*** 44,51 ****
  
  <tr>
! <th><span jwcid="@FieldLabel" displayName="End Date" field="[[ components.inputEnd ]]">End Date</span></th>
  <td><input type="text" jwcid="inputEnd" size="10"/>
  	<span class="required-marker">*</span>
! <span jwcid="@Conditional" condition="[[ beans.delegate.inError ]]">
  	<img src="images/field-error.png"/>
  </span>	
--- 44,51 ----
  
  <tr>
! <th><span jwcid="@FieldLabel" displayName="End Date" field="ognl:components.inputEnd">End Date</span></th>
  <td><input type="text" jwcid="inputEnd" size="10"/>
  	<span class="required-marker">*</span>
! <span jwcid="@Conditional" condition="ognl:beans.delegate.inError">
  	<img src="images/field-error.png"/>
  </span>	

Index: TextField1.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/TextField1.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TextField1.html	28 Feb 2003 00:25:43 -0000	1.2
--- TextField1.html	7 Mar 2003 15:13:33 -0000	1.3
***************
*** 6,12 ****
  	
  
! <span jwcid="@Conditional" condition="[[ errorMessage ]]">
  <font color="red">
! <span jwcid="@Insert" value="[[ errorMessage ]]">
  Error Message
  </span>
--- 6,12 ----
  	
  
! <span jwcid="@Conditional" condition="ognl:errorMessage">
  <font color="red">
! <span jwcid="@Insert" value="ognl:errorMessage">
  Error Message
  </span>
***************
*** 16,20 ****
  <form jwcid="@Form">
  	
! Text field: <input type="text" jwcid="@TextField" value="[[ stringValue ]]"/>
  <br/>
  <input type="submit" value="OK"/>
--- 16,20 ----
  <form jwcid="@Form">
  	
! Text field: <input type="text" jwcid="@TextField" value="ognl:stringValue"/>
  <br/>
  <input type="submit" value="OK"/>
***************
*** 23,27 ****
  
  <p>
! 	Real property: <span jwcid="@Insert" value="[[ intValue ]]">Unknown</span>
  	</p>
  	
--- 23,27 ----
  
  <p>
! 	Real property: <span jwcid="@Insert" value="ognl:intValue">Unknown</span>
  	</p>
  	



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com