CVS: Tapestry/examples/Tutorial/context/workbench Forms.html,1.1.2.1,1.1.2.2 UploadResults.html,1.1.2.1,1.1.2.2 Fields.html,1.1.2.1,1.1.2.2 Palette.html,1.1.2.1,1.1.2.2 PaletteResults.html,1.1.2.1,1.1.2.2 FieldsResults.html,1.1.2.1,1.1.2.2 Redirect.html,1.1.2.1,1.1.2.2 Chart.html,1.1.2.1,1.1.2.2 Upload.html,1.1.2.1,1.1.2.2 Dates.html,1.1.2.1,1.1.2.2
Howard Lewis Ship <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench
In directory sc8-pr-cvs1:/tmp/cvs-serv4860/examples/Tutorial/context/workbench
Modified Files:
Tag: hship-2-3
Forms.html UploadResults.html Fields.html Palette.html
PaletteResults.html FieldsResults.html Redirect.html
Chart.html Upload.html Dates.html
Log Message:
Make more use of 2.4 features in examples.
Index: Forms.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Forms.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Forms.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Forms.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 5,11 ****
This page is used to test some additional form elements.
! <form jwcid="form">
! <span jwcid="group">
<table>
--- 5,11 ----
This page is used to test some additional form elements.
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]">
! <span jwcid="@RadioGroup" selected="[[ favoriteColor ]]">
<table>
***************
*** 24,28 ****
<tr>
! <td><input type="submit" value="Submit"></td>
</tr>
--- 24,28 ----
<tr>
! <td><input type="submit" value="Submit"/></td>
</tr>
***************
*** 34,39 ****
! <span jwcid="ifFavoriteColor">
! <p>Your favorite color is: <span jwcid="insertFavoriteColor">Puce</span>.
</span>
--- 34,39 ----
! <span jwcid="@Conditional" condition="[[ favoriteColor ]]">
! <p>Your favorite color is: <span jwcid="@Insert" value="[[ favoriteColor ]]">Puce</span>.
</span>
Index: UploadResults.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/UploadResults.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** UploadResults.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- UploadResults.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 1 ****
! <span jwcid="@Border">
<table border=0>
<tr><th>Upload Path:</th>
<td><span jwcid="insertFilePath">File path</span></td>
</tr>
<tr><th>Upload File:</th>
<td><span jwcid="insertFileName">File name</span></td>
</tr>
<tr><th>Content Type:</th>
<td><span jwcid="insertContentType">text/plain</span></td>
</tr>
</table>
<p>
<pre><span jwcid="insertFileDump"/></pre>
<p>
<a jwcid="back"><img jwcid="backRollover" alt="[Back]"/></a>
</span>
--- 1 ----
! <span jwcid="@Border">
<table border=0>
<tr><th>Upload Path:</th>
<td><span jwcid="@Insert" value="[[ file.filePath ]]">File path</span></td>
</tr>
<tr><th>Upload File:</th>
<td><span jwcid="@Insert" value="[[ file.fileName ]]">File name</span></td>
</tr>
<tr><th>Content Type:</th>
<td><span jwcid="@Insert" value="[[ file.contentType ]]">text/plain</span></td>
</tr>
</table>
<p>
<pre><span jwcid="@Insert" value="[[ fileDump ]]"/></pre>
<p>
<a jwcid="@PageLink" page="Upload"><img jwcid="backRollover" alt="[Back]"/></a>
</span>
Index: Fields.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Fields.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Fields.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Fields.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 14,18 ****
<p>
! <form jwcid="enabledForm">
<input jwcid="inputEnabled"/> Enable Client Side Validation
</form>
--- 14,18 ----
<p>
! <form jwcid="@Form" listener="[[ listeners.clientValidationChanged ]]">
<input jwcid="inputEnabled"/> Enable Client Side Validation
</form>
***************
*** 25,65 ****
<span jwcid="showError"/>
! <form jwcid="form">
<table class="form">
<tr>
! <th><span jwcid="dateLabel"/></th>
<td><input jwcid="inputDate"/></td>
</tr>
<tr>
! <th><span jwcid="intLabel"/></th>
<td><input jwcid="inputInt"/></td>
</tr>
<tr>
! <th><span jwcid="doubleLabel"/></th>
<td><input jwcid="inputDouble"/></td>
</tr>
<tr>
! <th><span jwcid="bigDecimalLabel"/></th>
<td><input jwcid="inputBigDecimal"/></td>
</tr>
<tr>
! <th><span jwcid="longLabel"/></th>
<td><input jwcid="inputLong"/></td>
</tr>
<tr>
! <th><span jwcid="stringLabel"/></th>
<td><input jwcid="inputString"/></td>
</tr>
<tr>
! <th><span jwcid="emailLabel"/></th>
! <td><input jwcid="emailString"/></td>
</tr>
<tr>
<td></td>
! <td><input jwcid="continue"/></td>
</table>
--- 25,65 ----
<span jwcid="showError"/>
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]" delegate="[[ beans.delegate ]]">
<table class="form">
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputDate ]]"/></th>
<td><input jwcid="inputDate"/></td>
</tr>
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputInt ]]"/></th>
<td><input jwcid="inputInt"/></td>
</tr>
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputDouble ]]"/></th>
<td><input jwcid="inputDouble"/></td>
</tr>
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputBigDecimal ]]"/></th>
<td><input jwcid="inputBigDecimal"/></td>
</tr>
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputLong ]]"/></th>
<td><input jwcid="inputLong"/></td>
</tr>
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputString ]]"/></th>
<td><input jwcid="inputString"/></td>
</tr>
<tr>
! <th><span jwcid="@FieldLabel" field="[[ components.inputEmail ]]""/></th>
! <td><input jwcid="inputEmail"/></td>
</tr>
<tr>
<td></td>
! <td><input jwcid="@ImageSubmit" image="[[ assets.continue ]]"/></td>
</table>
Index: Palette.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Palette.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Palette.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Palette.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 1 ****
! <span jwcid="@Border">
<p>The Palette component is used to collect multiple selections, items are selected
in the left column (available) and moved to the right column (selected). The component
can be configured to keep the items sorted by their visible label, their
hidden value, or manually sorted. Items are moved between columns using the buttons,
or by double clicking.
<form jwcid="form">
<table class="form">
<tr>
<th>Sort Mode:</th>
<td><input jwcid="inputColorSort"/></td>
</tr>
<tr>
<th>Colors:</th>
<td><input jwcid="inputColor"/></td>
</tr>
<tr>
<td></td>
<td><input jwcid="update"/>
<input jwcid="continue"/></td>
</tr>
</table>
</form>
<p>
Obviously, there's a whole lot of JavaScript running on the client side. However, there
are no arbitrary limits; you can have as many Palettes in a form as you want, or have multiple
forms and multiple Palettes. Tapestry uses a sophisticated method of generating custom JavaScript
from a template.
<p>You can also customize the images used for the buttons and the titles above the
two selection columns.
</span>
\ No newline at end of file
--- 1 ----
! <span jwcid="@Border">
<p>The Palette component is used to collect multiple selections, items are selected
in the left column (available) and moved to the right column (selected). The component
can be configured to keep the items sorted by their visible label, their
hidden value, or manually sorted. Items are moved between columns using the buttons,
or by double clicking.
<form jwcid="@Form" listener="[[ listeners.formSubmit ]]">
<table class="form">
<tr>
<th>Sort Mode:</th>
<td><input jwcid="inputColorSort"/></td>
</tr>
<tr>
<th>Colors:</th>
<td><input jwcid="inputColor"/></td>
</tr>
<tr>
<td></td>
<td><input jwcid="update"/>
<input jwcid="continue"/></td>
</tr>
</table>
</form>
<p>
Obviously, there's a whole lot of JavaScript running on the client side. However, there
are no arbitrary limits; you can have as many Palettes in a form as you want, or have multiple
forms and multiple Palettes. Tapestry uses a sophisticated method of generating custom JavaScript
from a template.
<p>You can also customize the images used for the buttons and the titles above the
two selection columns.
</span>
\ No newline at end of file
Index: PaletteResults.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/PaletteResults.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** PaletteResults.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- PaletteResults.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 1 ****
! <span jwcid="@Border">
<p>Here are your selections. If the Palette was set for manual sorting, then the order
is significant.
<ul>
<li jwcid="loop"><span jwcid="insertColor"/></li>
</ul>
<span jwcid="ifNone">
<p>You made no selections.
</span>
<p>
<a jwcid="back"><img jwcid="backRollover" alt="[Back]"/></a>
</span>
--- 1 ----
! <span jwcid="@Border">
<p>Here are your selections. If the Palette was set for manual sorting, then the order
is significant.
<ul>
<li jwcid="loop"><span jwcid="@Insert" value="[[ components.loop.value ]]"/></li>
</ul>
<span jwcid="@Conditional" condition="[[ ! selectedColors ]]">
<p>You made no selections.
</span>
<p>
<a jwcid="@PageLink" page="Palette"><img jwcid="backRollover" alt="[Back]"/></a>
</span>
Index: FieldsResults.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/FieldsResults.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** FieldsResults.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- FieldsResults.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 6,40 ****
<tr>
<th>Date Value</th>
! <td><span jwcid="insertDateValue"/></td>
</tr>
<tr>
<th>Integer Value</th>
! <td><span jwcid="insertIntValue"/></td>
</tr>
<tr>
<th>Double Value</th>
! <td><span jwcid="insertDoubleValue"/></td>
</tr>
<tr>
<th>Big Decimal Value</th>
! <td><span jwcid="insertBigDecimalValue"/></td>
</tr>
<tr>
<th>Long Value</th>
! <td><span jwcid="insertLongValue"/></td>
</tr>
<tr>
<th>String Value</th>
! <td><span jwcid="insertStringValue"/></td>
</tr>
<tr>
<th>Email Value</th>
! <td><span jwcid="insertEmailValue"/></td>
</tr>
--- 6,40 ----
<tr>
<th>Date Value</th>
! <td><span jwcid="@Insert" value="[[ visit.dateValue ]]"/></td>
</tr>
<tr>
<th>Integer Value</th>
! <td><span jwcid="@Insert" value="[[ visit.intValue ]]"/></td>
</tr>
<tr>
<th>Double Value</th>
! <td><span jwcid="@Insert" value="[[ visit.doubleValue ]]"/></td>
</tr>
<tr>
<th>Big Decimal Value</th>
! <td><span jwcid="@Insert" value="[[ visit.bigDecimalValue ]]"/></td>
</tr>
<tr>
<th>Long Value</th>
! <td><span jwcid="@Insert" value="[[ visit.longValue ]]"/></td>
</tr>
<tr>
<th>String Value</th>
! <td><span jwcid="@Insert" value="[[ visit.stringValue ]]"/></td>
</tr>
<tr>
<th>Email Value</th>
! <td><span jwcid="@Insert" value="[[ visit.emailValue ]]"/></td>
</tr>
***************
*** 43,47 ****
<p>
! <a jwcid="back"><img jwcid="backRollover" alt="[Back]"/></a>
</span>
--- 43,47 ----
<p>
! <a jwcid="@PageLink" page="Fields"><img jwcid="backRollover" alt="[Back]"/></a>
</span>
Index: Redirect.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Redirect.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Redirect.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Redirect.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 10,15 ****
<ul>
! <li><a href="#" jwcid="internal">Forward to internal resource</a> (redirect-target.html)
! <li><a href="#" jwcid="external">Redirect to external URL</a> (http://sf.net/projects/tapestry)
</ul>
--- 10,15 ----
<ul>
! <li><a href="#" jwcid="@DirectLink" listener="[[ listeners.redirectInternal ]]">Forward to internal resource</a> (redirect-target.html)
! <li><a href="#" jwcid="@DirectLink" listener="[[ listeners.redirectExternal ]]">Redirect to external URL</a> (http://sf.net/projects/tapestry)
</ul>
Index: Chart.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Chart.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Chart.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Chart.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 38,42 ****
</form>
! <img jwcid="chart"/>
</span>
--- 38,42 ----
</form>
! <img jwcid="@Image" image="[[ chartImageAsset ]]"/>
</span>
Index: Upload.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Upload.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Upload.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Upload.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 10,21 ****
<p>The following form allows you to upload a file and see a hexadecimal dump of it.
! <span jwcid="showError"/>
! <form jwcid="form" enctype="multipart/form-data">
<table class="form">
<tr>
<th>File:</th>
! <td><input jwcid="inputFile" size=30/></td>
</tr>
<tr>
--- 10,21 ----
<p>The following form allows you to upload a file and see a hexadecimal dump of it.
! <span jwcid="@ShowError" delegate="[[ beans.delegate ]]"/>
! <form jwcid="@Form" listener="[[ listeners.formSubmit ]]" enctype="multipart/form-data">
<table class="form">
<tr>
<th>File:</th>
! <td><input jwcid="@Upload" file="[[ file ]]" size="30"/></td>
</tr>
<tr>
***************
*** 24,28 ****
<table class="form">
<tr>
! <th><input jwcid="inputAscii"/></th>
<td>Display ASCII</td>
</tr>
--- 24,28 ----
<table class="form">
<tr>
! <th><input jwcid="@Checkbox" selected="[[ showAscii ]]"/></th>
<td>Display ASCII</td>
</tr>
***************
*** 36,40 ****
<tr>
<td></td>
! <td><input jwcid="continue"/></td>
</tr>
--- 36,40 ----
<tr>
<td></td>
! <td><input jwcid="@ImageSubmit" image="[[ assets.continue ]]"/></td>
</tr>
Index: Dates.html
===================================================================
RCS file: /cvsroot/tapestry/Tapestry/examples/Tutorial/context/workbench/Attic/Dates.html,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** Dates.html 2 Jan 2003 03:15:24 -0000 1.1.2.1
--- Dates.html 4 Jan 2003 19:31:55 -0000 1.1.2.2
***************
*** 9,16 ****
<table valign="middle">
<tr>
! <td>Start Date:</td> <td><span jwcid="startDatePicker"/></td> <td> <a href="" jwcid="helpLink">PopupLink Help</a></td>
</tr>
<tr>
! <td>End Date:</td> <td><span jwcid="endDatePicker"/></td>
</tr>
<tr>
--- 9,16 ----
<table valign="middle">
<tr>
! <td>Start Date:</td> <td><input jwcid="@DatePicker" value="[[ startDate ]]"/></td> <td> <a href="" jwcid="helpLink">PopupLink Help</a></td>
</tr>
<tr>
! <td>End Date:</td> <td><input jwcid="@DatePicker" value="[[ endDate ]]"/></td>
</tr>
<tr>
***************
*** 24,30 ****
</form>
! <u>Submitted Dates</u><br>
! Start date: <span jwcid="insertStartDate"/><br>
! End date: <span jwcid="insertEndDate"/>
</span>
--- 24,30 ----
</form>
! <u>Submitted Dates</u><br/>
! Start date: <span jwcid="@Insert" value="[[ startDate ]]"/><br/>
! End date: <span jwcid="@Insert" value="[[ endDate ]]"/>
</span>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf