CVS: TapestryBook/examples/context Dates.html,NONE,1.1 DatesConfirm.html,NONE,1.1 RegisterConfirm.html,1.1,1.2 Home.html,1.2,1.3

Howard Lewis Ship <[email protected]> Sun, 02 Mar 2003 14:56:24 -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-serv31434/examples/context

Modified Files:
	RegisterConfirm.html Home.html 
Added Files:
	Dates.html DatesConfirm.html 
Log Message:
Checkpoint.

--- NEW FILE: Dates.html ---
<html jwcid="@Shell" title="Date Input" stylesheet="[[ assets.stylesheet ]]">
<head jwcid="$remove$">
<link rel="stylesheet" type="text/css" href="css/style.css"/>	
</head>
<body jwcid="@Body">
	
<span class="title">Enter a Range of Dates</span>

<p>Please enter a range of dates.  
Fields marked with a <span class="required-marker">*</span>
are required.
</p>
	
<span jwcid="@Conditional" condition="[[ beans.delegate.hasErrors ]]">

<table class="error">
<tr valign="top">
<td>
<IMG height=52 alt=[Error] src="images/form-error.png" width=52>	
</td>
<td>
<span jwcid="@Delegator" delegate="[[ beans.delegate.firstError ]]">Error Message</span>	
</td>
</tr>

</table>

</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>

<tr>
<td></td>
<td><input type="image" src="images/continue.png" width="100" height="32"/>
</tr>

</table>
	
</form>

<hr/>
	
<p><a href="#" jwcid="@PageLink" page="Home">Return to Home page</a>.</p>



</body>
</html>
--- NEW FILE: DatesConfirm.html ---
<html jwcid="@Shell" title="Date Confirmation" stylesheet="[[ assets.stylesheet ]]">
<body jwcid="@Body">

<p>Here is the data your entered:</p>

<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/>
	
<p><a href="#" jwcid="@PageLink" page="Home">Return to Home page</a>.</p>



</body>
</html>
Index: RegisterConfirm.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/RegisterConfirm.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** RegisterConfirm.html	28 Feb 2003 00:25:43 -0000	1.1
--- RegisterConfirm.html	2 Mar 2003 22:56:19 -0000	1.2
***************
*** 2,6 ****
  <body jwcid="@Body">
  
! <p>Thank you for registerring.  Here is the data your enterred:</p>
  
  <br/>
--- 2,6 ----
  <body jwcid="@Body">
  
! <p>Thank you for registerring.  Here is the data you entered:</p>
  
  <br/>

Index: Home.html
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/Home.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Home.html	28 Feb 2003 00:25:43 -0000	1.2
--- Home.html	2 Mar 2003 22:56:19 -0000	1.3
***************
*** 13,16 ****
--- 13,17 ----
  <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>
  </ul>
  



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf