CVS: TapestryBook/examples/src/context ExternalTagDemo.jsp,NONE,1.1 DatePickerResult.html,NONE,1.1 L10N.html,NONE,1.1 Pets.html,NONE,1.1 Home.html,NONE,1.1 JSPForm.html,NONE,1.1 L10NResult.html,NONE,1.1 Target.html,NONE,1.1 DatesConfirm.html,NONE,1.1 Dates2.html,NONE,1.1 JSP.html,NONE,1.1 ToppingsResult.html,NONE,1.1 ToDo.html,NONE,1.1 CreditCardResults.html,NONE,1.1 ToDo2.html,NONE,1.1 PageTagDemo.jsp,NONE,1.1 Main.html,NONE,1.1 ResumeBuilder.html,NONE,1.1 PetsResult.html,NONE,1.1 Register.html,NONE,1.1 UploadResults.html,NONE,1.1 RegisterConfirm.html,NONE,1.1 Register2.html,NONE,1.1 Dates.html,NONE,1.1 ResumeSummary.html,NONE,1.1 DatePicker.html,NONE,1.1 ToDo3.html,NONE,1.1 CreditCard.html,NONE,1.1 Toppings.html,NONE,1.1 Login.html,NONE,1.1 Upload.html,NONE,1.1 ToDo4.html,NONE,1.1 PetCategory.html,NONE,1.1

Howard Lewis Ship <[email protected]> Fri, 11 Jul 2003 21:16:45 -0700
Newsgroups gmane.comp.java.tapestry.cvs
Message-ID <[email protected]>
Update of /cvsroot/tapestry/TapestryBook/examples/src/context
In directory sc8-pr-cvs1:/tmp/cvs-serv6871/examples/src/context

Added Files:
	ExternalTagDemo.jsp DatePickerResult.html L10N.html Pets.html 
	Home.html JSPForm.html L10NResult.html Target.html 
	DatesConfirm.html Dates2.html JSP.html ToppingsResult.html 
	ToDo.html CreditCardResults.html ToDo2.html PageTagDemo.jsp 
	Main.html ResumeBuilder.html PetsResult.html Register.html 
	UploadResults.html RegisterConfirm.html Register2.html 
	Dates.html ResumeSummary.html DatePicker.html ToDo3.html 
	CreditCard.html Toppings.html Login.html Upload.html 
	ToDo4.html PetCategory.html 
Log Message:
Reorganize examples application to reflect standard organization

--- NEW FILE: ExternalTagDemo.jsp ---
<%@ taglib uri="http://jakarta.apache.org/tapestry/tld/tapestry_1_0.tld" prefix="tapestry" %>
	
<html>
<head>
<title>Tapestry JSP Page</title>
</head>
<body>


<form action="<tapestry:external-url page="JSPForm"/>" method="POST">
	
Enter your name: <input type="text" name="userName" maxlength="100" size="40"/>
<br/>
<input type="submit"/>

</form>



</body>
</html>

--- NEW FILE: DatePickerResult.html ---
<html jwcid="@Shell" title="Date Picker Result">
<body>
	
Your date: <span jwcid="@Insert" value="ognl:date" format="ognl:dateFormat">Dec 24 1966</span>.
				
<p><a href="#" jwcid="@PageLink" page="Home">Return to Home page</a>.</p>
		
</body>
</html>
--- NEW FILE: L10N.html ---
<html jwcid="@Shell" title="string:title">
<body>

<h1><span key="title"/></h1>

<span key="blurb">Descriptive text.</span>

<form jwcid="@Form" listener="ognl:listeners.formSubmit">

<span key="language-label">Language</span>:
<select jwcid="@PropertySelection" value="ognl:engine.locale" model="ognl:localeModel"/>

<p/>

<input type="image"
	src="images/L10N/Change.png"
	jwcid="@ImageSubmit" 
	image="ognl:assets.change"  
	alt="string:change-label"/>
</form>

<p><a href="#" jwcid="@PageLink" page="Home"><span key="return-to-home">Return to Home page</span></a>.</p>


</body>
</html>
--- NEW FILE: Pets.html ---
<span jwcid="@Border" title="Pets">

<p>Select a type of pet to continue:</p>

<img src="images/pets-image-map.gif" 
     alt="Pet Selection Map"
     usemap="#petmap" 
     width="350" 
     height="355" 
     border="0"/>
     
<map name="petmap">
<area jwcid="@DirectArea" listener="ognl:listeners.selectBirds"
      alt="Birds" 
      coords="72,2,280,250"/>
<area jwcid="@DirectArea" listener="ognl:listeners.selectFish"
      alt="Fish" 
      coords="2,180,72,250"/>
<area jwcid="@DirectArea"  listener="ognl:listeners.selectDogs"
      alt="Dogs" 
      coords="60,250,130,320"/>
<area jwcid="@DirectArea" listener="ognl:listeners.selectReptiles" 
      alt="Reptiles" 
      coords="140,270,210,340"/>
<area jwcid="@DirectArea" listener="ognl:listeners.selectCats"
      alt="Cats" 
      coords="225,240,295,310"/>
<area jwcid="@DirectArea" listener="ognl:listeners.selectBirds"
      alt="Birds" 
      coords="280,180,350,250"/>
</map>



</span>
--- NEW FILE: Home.html ---
<html jwcid="@Shell" title="Examples Home">
<body jwcid="@Body">

<p>Examples for "Tapestry in Action":</p>

<h2>Chapter Two:</h2>
<ul>
<li><a href="/hangman1/app" window="_new">hangman1</a> (in a new window)</li>
</ul>

<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="/hangman2/app" window="_new">hangman2</a> (in a new window)</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>
</ul>

<h2>Chapter Eight: Advanced Techniques</h2>
<ul>
<li><a href="/bannerads/app" window="_new">bannerads</a> (in a new window)</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>

<hr/>


</body>
</html>
--- NEW FILE: JSPForm.html ---
<span jwcid="@Border" title="JSPForm">
	
... and back into the world of Tapestry.  This is Tapestry page "JSPForm".

<p>
You entered: <span jwcid="@Insert" value="ognl:userName">John Smith</span>
</p>
	
</span>
--- NEW FILE: L10NResult.html ---
<html jwcid="@Shell" title="string:title">
<body>

<h1><span key="title"/></h1>

<span key="blurb">Descriptive text.</span>

<p/>

<a href="#" jwcid="@PageLink" page="L10N"><img jwcid="@Image" 
	src="images/L10N/Continue.png" 
	image="ognl:assets.continue"
	alt="string:continue-label"/></a>

</body>
</html>
--- NEW FILE: Target.html ---
<span jwcid="@Border" title="JSP Target">
	
... and back into the world of Tapestry.  This is Tapestry page "Target".

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

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

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



</body>
</html>
--- NEW FILE: Dates2.html ---
<html jwcid="@Shell" title="Date Input" stylesheet="ognl: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="ognl: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="ognl:beans.delegate.firstError">Error Message</span>	
</td>
</tr>

</table>

</span>

<form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
	
<table class="form">

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

<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>	
</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: JSP.html ---
<span jwcid="@Border" title="Linking to JSP">

You may:
<ul>
	<li><a href="#" jwcid="@DirectLink" listener="ognl:listeners.displayPageTagDemo">Page Tag Demo</a>: 
		View a page demonstrating the &lt;tapestry:page&gt; tag</li>	
	<li><a href="#" jwcid="@DirectLink" listener="ognl:listeners.displayExternalTagDemo">External Tag Demo</a>: 
		View a page demonstrating the &lt;tapestry:external-url&gt; tag</li>
</ul>

</span>
--- NEW FILE: ToppingsResult.html ---
<html jwcid="@Shell" title="Toppings Result">
<body jwcid="@Body">

<p>You selected: <span jwcid="@Insert" value="ognl:toppings">some toppings</span></p>

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

</body>
</html>
--- NEW FILE: ToDo.html ---
<html jwcid="@Shell" title="ToDo List">
<body jwcid="@Body">

<form jwcid="@Form" listener="ognl:listeners.formSubmit">
	
<table>
	<tr>
		<th>Done</th>
		<th>Title</th>
		<th colspan="2">Reorder</th>
	</tr>
<tr jwcid="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item">
  <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>

<input type="submit" value="Update"/>
<input type="submit" jwcid="add@Submit" listener="ognl:listeners.addTodoItem" 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>
--- NEW FILE: CreditCardResults.html ---
<html jwcid="@Shell" title="Credit Card Results" stylesheet="ognl:assets.stylesheet">
<body>

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

<br/>

Card Type: <span jwcid="@Insert" value="ognl:cardType.name">Discover</span>
<br/>
Card Number: <span jwcid="@Insert" value="ognl:cardNumber">0000-0000-0000-0000</span>

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



</body>
</html>
--- NEW FILE: ToDo2.html ---
<html jwcid="@Shell" title="ToDo List (version 2)">
<body jwcid="@Body">

<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="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item">
  <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@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>

<input type="submit" value="Update"/>
<input type="submit" jwcid="add@Submit" listener="ognl:listeners.addTodoItem" 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>
--- NEW FILE: PageTagDemo.jsp ---
<%@ taglib uri="http://jakarta.apache.org/tapestry/tld/tapestry_1_0.tld" prefix="tapestry" %>
	
<html>
<head>
<title>Tapestry JSP Page</title>
</head>
<body>
<script>
<!--

function raiseTarget(targetURL)
{
  var width = 200;
  var height = 200;
	var screenX = Math.floor((screen.width)/2)-Math.floor(width/2);
	var screenY = Math.floor((screen.height)/2)-Math.floor(height/2)-20;


	var features = 
		"toolbar=no," +
		"scrollbars=no," +
		"status=no," +
		"top=" + screenY  + "," +
		"left=" + screenX + "," +
		"screenX=" + screenX + "," +
		"screenY=" + screenY + "," +
		"width=" + width + "," +
		"height=" + height;

	window.open(targetURL, "TargetPage", features).focus();
}
-->	
</script>

Two examples of invoking Tapestry pages from a JSP using the tag library:

<ul>
	<li>Using &lt;tapestry:page&gt; to <tapestry:page page="Target">display the target page</tapestry:page></li>	
	<li>Using &lt;tapestry:page-url&gt; to <a href="javascript:raiseTarget('<tapestry:page-url page="Target"/>');">raise the target page in a new window</a></li>
</ul>



</body>
</html>

--- NEW FILE: Main.html ---
<html jwcid="@Shell" title="Main">
<body>
	
<p>That demonstrated a very basic form.  You may
	<a href="#" jwcid="@PageLink" page="Home">return to the Home page</a>.</p>
	
</body>
</html>
--- NEW FILE: ResumeBuilder.html ---
<body jwcid="@Border" title="Resume Builder">

<span class="title">Resume Builder</span>

<p>Please fill out a few questions so that we can compile your on-line resume.
</p>
	
<span jwcid="@lib:FormError" delegate="ognl:beans.delegate"/>

<form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
	
<table class="form">

<tr>
<th>Experience:</th>
<td><select jwcid="inputExperience"/> Years</td>
</tr>

<tr class="tall">
<th><span jwcid="labelLanguages">Languages</span>:</th>	

<td><select jwcid="inputLanguages"/>

<p>
Select the programming languages you are proficient in, and order them by relative level
of skill.
</p>	
	
</td>
</tr>
	

<tr>
<td>
<input type="submit" value="Continue"/>	
</td>	
</tr>

</table>

</form>

</body>
--- NEW FILE: PetsResult.html ---
<span jwcid="@Border" title="ognl:pageTitle">


<h1>
<img jwcid="@Image" image="ognl:image" alt="ognl:pageTitle"/>
Make a selection from our inventory of
<span jwcid="@Insert" value="ognl:typeName">slugs</span>:
	
</h1>


<i>[Catalog goes here]</i>

</span>
--- NEW FILE: Register.html ---
<html jwcid="@Shell" title="Registration" stylesheet="ognl:assets.stylesheet">
<head jwcid="$remove$">
<link rel="stylesheet" type="text/css" href="css/style.css"/>	
</head>
<body jwcid="@Body">
	
<span class="title">Registration</span>

<p>Please enter your mailing address for our records.  Fields marked with a <span class="required-marker">*</span>
are required.
</p>
	
<span jwcid="@Conditional" condition="ognl: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="ognl:beans.delegate.firstError">Error Message</span>	
</td>
</tr>

</table>

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

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

<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: UploadResults.html ---
<html jwcid="@Shell" title="Uploaded File">
<body jwcid="@Body">

<table border="0">
<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>

<tr>
	<th>Content:</th>	
</tr>
	
</table>

<pre>
<span jwcid="@Delegator" delegate="ognl:contentRenderer"/>
</pre>

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


</body>
</html>
--- NEW FILE: RegisterConfirm.html ---
<html jwcid="@Shell" title="Registration Confirmation" stylesheet="ognl:assets.stylesheet">
<body>

<p>Thank you for registerring.  Here is the data you entered:</p>

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



</body>
</html>
--- NEW FILE: Register2.html ---
<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"/>	
</head>
<body jwcid="@Body">
	
<span class="title">Registration</span>

<p>Please enter your mailing address for our records.  Fields marked with a <span class="required-marker">*</span>
are required.
</p>
	
<span jwcid="@Conditional" condition="ognl: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="ognl:beans.delegate.firstError">Error Message</span>	
</td>
</tr>

</table>

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

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

<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: Dates.html ---
<html jwcid="@Shell" title="Date Input" stylesheet="ognl: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="ognl: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="ognl:beans.delegate.firstError">Error Message</span>	
</td>
</tr>

</table>

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

<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: ResumeSummary.html ---
<body jwcid="@Border" title="Resume Summary">

<h1>Resume Summary</h1>

<table>
<tr>
	<th>Experience:</th>
	<td><span jwcid="@Insert" value="ognl:experience"/> years</td>
</tr>	
<tr>
  <th>Languages:</th>
  <td><span jwcid="@Insert" value="ognl:languages"/></td>
</tr>

</table>

</body>
--- NEW FILE: DatePicker.html ---
<html jwcid="@Shell" title="Date Picker">
<body jwcid="@Body">

<form jwcid="@Form" listener="ognl:listeners.formSubmit">

Enter a date: <input jwcid="@DatePicker" value="ognl:date"/>

<br/>
<input type="submit" value="Submit"/>

</form>

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

</body>
</html>
--- NEW FILE: ToDo3.html ---
<html jwcid="@Shell" title="ToDo List (version 3)">
<body jwcid="@Body">

<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="@Foreach" element="tr" source="ognl:toDoList" value="ognl:item">
  <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@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>

<input type="submit" value="Update"/>
<input type="submit" jwcid="add@Submit" listener="ognl:listeners.addTodoItem" 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>
--- NEW FILE: CreditCard.html ---
<html jwcid="@Shell" title="Credit Card" stylesheet="ognl:assets.stylesheet">
<head jwcid="$remove$">
<link rel="stylesheet" type="text/css" href="css/style.css"/>	
</head>
<body jwcid="@Body">
	
<span class="title">Credit Card</span>

<p>This page demonstrates the CreditCardField component.
</p>
	
<span jwcid="@lib:FormError" delegate="ognl:beans.delegate"/>


<form jwcid="@Form" listener="ognl:listeners.formSubmit" delegate="ognl:beans.delegate">
	
<table class="form">

<tr>
<th>Card Type</th>
<td><select jwcid="inputCardType"/></td>
</tr>

<tr>
<th><span jwcid="@FieldLabel" displayName="Credit Card Number" 
	field="ognl:components.inputNumber">Credit Card Number</span></th>
<td><input type="text" jwcid="inputNumber@CreditCardField" cardNumber="ognl:cardNumber" size="50"/></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: Toppings.html ---
<html jwcid="@Shell" title="Toppings">
<body jwcid="@Body">

<form jwcid="@Form" listener="ognl:listeners.selectToppings">

Select toppings:
<select jwcid="@Select" multiple="ognl:true">
  <span jwcid="@Foreach"
    source="ognl:allToppings"
    value="ognl:topping">
    <option jwcid="@Option"
       selected="ognl:toppingSelected"
       label="ognl:topping"/>
  </span>
</select>
	
<br/>
<input type="submit" value="Select"/>

</form>

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

</body>
</html>
--- NEW FILE: Login.html ---
<html jwcid="@Shell" title="Login">
<body>

<span jwcid="@Conditional" condition="ognl:message">
<font color="red">
<span jwcid="@Insert" value="ognl:message">
Error Message
</span>
</font>
</span>

<p/>

<form jwcid="@Form" listener="ognl:listeners.login">

<table>
<tr>
  <th>User Name:</th>
  <td>
    <input type="text" jwcid="@TextField"
       value="ognl:userName"
       size="30"/></td>
</tr>
<tr>
  <th>Password:</th>
  <td>
    <input type="password" jwcid="@TextField"
       value="ognl:password"
       hidden="ognl:true"
       size="30"/>
  </td>
</tr>
<tr>
  <td><input type="submit" value="Login"/></td>
</tr>
</table>

</form>


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

--- NEW FILE: Upload.html ---
<html jwcid="@Shell" title="File Upload">
<body jwcid="@Body">

<form jwcid="@Form" listener="ognl:listeners.formSubmit">
File to upload:
<br/>
<input type="file" jwcid="@Upload" file="ognl:file" size="100"/>
<br/>
<input type="submit" value="Upload"/>
	
</form>

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


</body>
</html>
--- NEW FILE: ToDo4.html ---
<html jwcid="@Shell" title="ToDo List (version 4)">
<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@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>

<input type="submit" value="Update"/>
<input type="submit" jwcid="add@Submit" listener="ognl:listeners.addTodoItem" 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>
--- NEW FILE: PetCategory.html ---
<span jwcid="@Border" title="ognl:pageTitle">


<h1>
<img jwcid="@Image" image="ognl:image" alt="ognl:pageTitle" align="top"/>
Make a selection from our inventory of
<span jwcid="@Insert" value="ognl:typeName">slugs</span>:
	
</h1>


<i>[Catalog goes here]</i>

</span>


-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1