CVS: TapestryBook/examples/context ToDo5.html,NONE,1.1 ToDo3.html,1.3,1.4 Home.html,1.10,1.11 ToDo.html,1.4,1.5 ToDo4.html,1.1,1.2 ToDo2.html,1.3,1.4 TextField1.html,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
In directory sc8-pr-cvs1:/tmp/cvs-serv20302/examples/context
Modified Files:
ToDo3.html Home.html ToDo.html ToDo4.html ToDo2.html
Added Files:
ToDo5.html
Removed Files:
TextField1.html
Log Message:
Integrate a large number of Marilyn's review comments.
--- NEW FILE: ToDo5.html ---
<html jwcid="@Shell" title="ToDo List (version 5)">
<body jwcid="@Body">
<span jwcid="@Conditional" condition="ognl:errorMessage">
<span style="{ font: bold; color: red }">
<span jwcid="@Insert" value="ognl:errorMessage">Error Message
</span>
<br/>
</span>
</span>
<form jwcid="@Form" listener="ognl:listeners.formSubmit">
<table>
<tr>
<th>Done</th>
<th>Priority</th>
<th>Title</th>
<th colspan="2">Reorder</th>
</tr>
<tr jwcid="listEdit" element="tr">
<td><input type="checkbox" jwcid="completed@Checkbox" selected="ognl:item.completed"/></td>
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
<td><input type="submit" jwcid="up" label="Move Up"/></td>
<td><input type="submit" jwcid="down@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
</tr>
</table>
<input type="submit" value="Update"/>
<input type="submit" jwcid="add" label="Add Item"/>
<input type="submit" jwcid="deleteCompleted@Submit" listener="ognl:listeners.deleteCompleted" label="Delete Completed"/>
</form>
<hr/>
<p><a href="#" jwcid="@PageLink" page="Home">Return to Home page</a>.</p>
</body>
</html>
Index: ToDo3.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo3.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ToDo3.html 25 May 2003 21:27:32 -0000 1.3
--- ToDo3.html 29 Jun 2003 23:40:25 -0000 1.4
***************
*** 15,20 ****
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
</tr>
</table>
--- 15,20 ----
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" selected="ognl:moveUpItem" tag="ognl:item" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" selected="ognl:moveDownItem" tag="ognl:item" label="Move Down"/></td>
</tr>
</table>
Index: Home.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Home.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Home.html 22 Jun 2003 16:42:08 -0000 1.10
--- Home.html 29 Jun 2003 23:40:25 -0000 1.11
***************
*** 1,27 ****
<html jwcid="@Shell" title="Examples Home">
! <body>
<p>Examples for "Tapestry in Action":</p>
<ul>
<li><a href="#" jwcid="@PageLink" page="Login">Login Form</a></li>
- <li><a href="#" jwcid="@PageLink" page="TextField1">TextField with synthetic property</a></li>
<li><a href="#" jwcid="@PageLink" page="Toppings">Select and Option components</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo">To Do List (version 1)</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo2">To Do List (version 2)</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo3">To Do List (version 3)</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo4">To Do List (version 4)</a></li>
! <li><a href="#" jwcid="@PageLink" page="DatePicker">DatePicker component</a></li>
<li><a href="#" jwcid="@PageLink" page="Register">Register</a> ValidField example</li>
<li><a href="#" jwcid="@PageLink" page="Register2">Register2</a> ValidField example (with client validation)</li>
<li><a href="#" jwcid="@PageLink" page="Dates">Dates</a> ValidField, date input, form level consistency checks</li>
- <li><a href="#" jwcid="@PageLink" page="Upload">Upload</a> File upload</li>
<li><a href="#" jwcid="@PageLink" page="Dates2">Dates2</a> Use of DatePicker and validation</li>
<li><a href="#" jwcid="@PageLink" page="L10N">Localization</a> Demonstrates localized text and graphics</li>
<li><a href="#" jwcid="@PageLink" page="Pets">Pets</a> Demostrates DirectArea component</li>
<li><a href="#" jwcid="@PageLink" page="ResumeBuilder">ResumeBuilder</a> - Demonstrates use of component libraries</li>
<li><a href="#" jwcid="@PageLink" page="CreditCard">CreditCard</a> - Demostrates complex custom component</li>
<li><a href="#" jwcid="@PageLink" page="JSP">JSP</a> - Demonstrates use of JSPs with Tapestry</li>
</ul>
--- 1,60 ----
<html jwcid="@Shell" title="Examples Home">
! <body jwcid="@Body">
<p>Examples for "Tapestry in Action":</p>
+ <h2>Chapter Three: </h2>
<ul>
<li><a href="#" jwcid="@PageLink" page="Login">Login Form</a></li>
<li><a href="#" jwcid="@PageLink" page="Toppings">Select and Option components</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo">To Do List (version 1)</a></li>
+ </ul>
+
+ <h2>Chapter Four: </h2>
+ <ul>
+ <li><a href="#" jwcid="@PageLink" page="DatePicker">DatePicker component</a></li>
+ <li><a href="#" jwcid="@PageLink" page="Upload">Upload</a> File upload</li>
<li><a href="#" jwcid="@PageLink" page="ToDo2">To Do List (version 2)</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo3">To Do List (version 3)</a></li>
<li><a href="#" jwcid="@PageLink" page="ToDo4">To Do List (version 4)</a></li>
! </ul>
!
!
! <h2>Chapter Five: Form Validation</h2>
! <ul>
<li><a href="#" jwcid="@PageLink" page="Register">Register</a> ValidField example</li>
<li><a href="#" jwcid="@PageLink" page="Register2">Register2</a> ValidField example (with client validation)</li>
<li><a href="#" jwcid="@PageLink" page="Dates">Dates</a> ValidField, date input, form level consistency checks</li>
<li><a href="#" jwcid="@PageLink" page="Dates2">Dates2</a> Use of DatePicker and validation</li>
+ </ul>
+
+ <h2>Chapter Six:</h2>
+
+ <ul>
<li><a href="#" jwcid="@PageLink" page="L10N">Localization</a> Demonstrates localized text and graphics</li>
+ </ul>
+
+ <h2>Chapter Seven: Creating Components</h2>
+ <ul>
<li><a href="#" jwcid="@PageLink" page="Pets">Pets</a> Demostrates DirectArea component</li>
<li><a href="#" jwcid="@PageLink" page="ResumeBuilder">ResumeBuilder</a> - Demonstrates use of component libraries</li>
+ </ul>
+
+ <h2>Chapter Eight: Advanced Techniques</h2>
+ <ul>
<li><a href="#" jwcid="@PageLink" page="CreditCard">CreditCard</a> - Demostrates complex custom component</li>
<li><a href="#" jwcid="@PageLink" page="JSP">JSP</a> - Demonstrates use of JSPs with Tapestry</li>
</ul>
+
+
+ <h3>Chapter Eleven: Wrap Up</h3>
+
+ <ul>
+ <li><a href="#" jwcid="@PageLink" page="ToDo5">ToDo5</a> - ToDo page using Jython listener methods.</li>
+ </ul>
+
+ <hr/>
+
+ <span jwcid="@contrib:InspectorButton"/>
Index: ToDo.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ToDo.html 25 May 2003 21:27:32 -0000 1.4
--- ToDo.html 29 Jun 2003 23:40:25 -0000 1.5
***************
*** 13,18 ****
<td><input type="checkbox" jwcid="completed@Checkbox" selected="ognl:item.completed"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
</tr>
</table>
--- 13,18 ----
<td><input type="checkbox" jwcid="completed@Checkbox" selected="ognl:item.completed"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" selected="ognl:moveUpItem" tag="ognl:item" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" selected="ognl:moveDownItem" tag="ognl:item" label="Move Down"/></td>
</tr>
</table>
Index: ToDo4.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo4.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ToDo4.html 25 May 2003 21:27:32 -0000 1.1
--- ToDo4.html 29 Jun 2003 23:40:25 -0000 1.2
***************
*** 23,28 ****
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
</tr>
</table>
--- 23,28 ----
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" selected="ognl:moveUpItem" tag="ognl:item" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" selected="ognl:moveDownItem" tag="ognl:item" label="Move Down"/></td>
</tr>
</table>
Index: ToDo2.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/ToDo2.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ToDo2.html 25 May 2003 21:27:32 -0000 1.3
--- ToDo2.html 29 Jun 2003 23:40:25 -0000 1.4
***************
*** 15,20 ****
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" listener="ognl:listeners.moveUp" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" listener="ognl:listeners.moveDown" label="Move Down"/></td>
</tr>
</table>
--- 15,20 ----
<td><select jwcid="priority@PropertySelection" value="ognl:item.priority" model="ognl:priorityModel"/></td>
<td><input type="text" jwcid="title@TextField" size="50" value="ognl:item.title"/></td>
! <td><input type="submit" jwcid="up@Submit" selected="ognl:moveUpItem" tag="ognl:item" label="Move Up"/></td>
! <td><input type="submit" jwcid="down@Submit" selected="ognl:moveDownItem" tag="ognl:item" label="Move Down"/></td>
</tr>
</table>
--- TextField1.html 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