CVS: TapestryBook/examples/context/WEB-INF DatesConfirm.page,NONE,1.1 Dates.page,NONE,1.1

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/WEB-INF
In directory sc8-pr-cvs1:/tmp/cvs-serv31434/examples/context/WEB-INF

Added Files:
	DatesConfirm.page Dates.page 
Log Message:
Checkpoint.

--- NEW FILE: DatesConfirm.page ---
<?xml version="1.0"?>
<!-- $Id: DatesConfirm.page,v 1.1 2003/03/02 22:56:19 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC 
	"-//Apache Software Foundation//Tapestry Specification 1.4//EN" 
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_1_4.dtd">

<page-specification class="examples.dates.DatesConfirm">

  <property-specification name="startDate" type="java.util.Date"/>
  <property-specification name="endDate" type="java.util.Date"/>
  
  <context-asset name="stylesheet" path="css/style.css"/>
  
</page-specification>
--- NEW FILE: Dates.page ---
<?xml version="1.0"?>
<!-- $Id: Dates.page,v 1.1 2003/03/02 22:56:19 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC 
	"-//Apache Software Foundation//Tapestry Specification 1.4//EN" 
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_1_4.dtd">

<page-specification class="examples.dates.Dates">

  <bean name="delegate" class="examples.register.RegisterDelegate"/>
  
  <bean name="validator" class="net.sf.tapestry.valid.DateValidator" lifecycle="page">
    <set-property name="required" expression="true"/>
  </bean>

  <property-specification name="startDate" type="java.util.Date"/>
  <property-specification name="endDate" type="java.util.Date"/>

  <component id="inputStart" type="ValidField">
    <static-binding name="displayName" value="Start Date"/>
    <binding name="validator" expression="beans.validator"/>
    <binding name="value" expression="startDate"/>	
  </component>

  <component id="inputEnd" type="ValidField">
  	<static-binding name="displayName" value="End Date"/>
  	<binding name="validator" expression="beans.validator"/>
  	<binding name="value" expression="endDate"/>
  </component>
  
  <context-asset name="stylesheet" path="css/style.css"/>
  
</page-specification>


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