CVS: TapestryBook/examples/context/WEB-INF Pets.page,NONE,1.1 Border.html,NONE,1.1 Border.jwc,NONE,1.1 DirectArea.jwc,NONE,1.1 PetCategory.page,NONE,1.1 PetCategory.properties,NONE,1.1 Register2.page,1.1,1.2 Register.page,1.1,1.2

Howard Lewis Ship <[email protected]> Sat, 15 Mar 2003 18:55:42 -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-serv9012/examples/context/WEB-INF

Modified Files:
	Register2.page Register.page 
Added Files:
	Pets.page Border.html Border.jwc DirectArea.jwc 
	PetCategory.page PetCategory.properties 
Log Message:
Update book, adding chapter 06.

--- NEW FILE: Pets.page ---
<?xml version="1.0"?>
<!-- $Id: Pets.page,v 1.1 2003/03/16 02:55:40 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.pets.Pets"/>
--- NEW FILE: Border.html ---
<html jwcid="@Shell" title="ognl:title" stylesheet="ognl:assets.stylesheet">
<body jwcid="@Body">

<span jwcid="@RenderBody"/>

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

</body>
</html>
--- NEW FILE: Border.jwc ---
<?xml version="1.0"?>
<!-- $Id: Border.jwc,v 1.1 2003/03/16 02:55:40 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Apache Software Foundation//Tapestry Specification 1.4//EN" 
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_1_4.dtd">

<component-specification
  allow-body="yes" 
  allow-informal-parameters="yes">

  <parameter name="title" required="yes" type="java.lang.String" direction="in"/>
	
</component-specification>
--- NEW FILE: DirectArea.jwc ---
<?xml version="1.0"?>
<!-- $Id: DirectArea.jwc,v 1.1 2003/03/16 02:55:40 hship Exp $ -->
<!DOCTYPE component-specification PUBLIC 
	"-//Apache Software Foundation//Tapestry Specification 1.4//EN" 
	"http://jakarta.apache.org/tapestry/dtd/Tapestry_1_4.dtd">

<component-specification
	class="examples.DirectArea"
	allow-body="no" allow-informal-parameters="yes">

  <parameter name="listener" required="yes" type="org.apache.tapestry.IActionListener"/>
  <parameter name="parameters" type="java.lang.Object" direction="in"/>
	
</component-specification>
--- NEW FILE: PetCategory.page ---
<?xml version="1.0"?>
<!-- $Id: PetCategory.page,v 1.1 2003/03/16 02:55:40 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.pets.PetCategory">

  <property-specification name="type" type="java.lang.String"/>
  
  <context-asset name="birds" path="images/birds_icon.gif"/>
  <context-asset name="cats" path="images/cats_icon.gif"/>
  <context-asset name="dogs" path="images/dogs_icon.gif"/>
  <context-asset name="fish" path="images/fish_icon.gif"/>
  <context-asset name="reptiles" path="images/reptiles_icon.gif"/>

</page-specification>
--- NEW FILE: PetCategory.properties ---
title.birds=Birds
birds=birds

title.fish=Fish
fish=fish

title.dogs=Dogs
dogs=dogs

title.reptiles=Reptiles
reptiles=reptiles

title.cats=Cats
cats=cats

Index: Register2.page
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/WEB-INF/Register2.page,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Register2.page	28 Feb 2003 00:25:41 -0000	1.1
--- Register2.page	16 Mar 2003 02:55:40 -0000	1.2
***************
*** 9,18 ****
    <bean name="delegate" class="examples.register.RegisterDelegate"/>
    
!   <bean name="required" class="net.sf.tapestry.valid.StringValidator" lifecycle="page">
      <set-property name="required" expression="true"/>
      <set-property name="clientScriptingEnabled" expression="true"/>
    </bean>
    
!   <bean name="stateValidator" class="net.sf.tapestry.valid.StringValidator" lifecycle="page">
    	<set-property name="required" expression="true"/>
    	<set-property name="minimumLength" expression="2"/>
--- 9,18 ----
    <bean name="delegate" class="examples.register.RegisterDelegate"/>
    
!   <bean name="required" class="org.apache.tapestry.valid.StringValidator" lifecycle="page">
      <set-property name="required" expression="true"/>
      <set-property name="clientScriptingEnabled" expression="true"/>
    </bean>
    
!   <bean name="stateValidator" class="org.apache.tapestry.valid.StringValidator" lifecycle="page">
    	<set-property name="required" expression="true"/>
    	<set-property name="minimumLength" expression="2"/>

Index: Register.page
===================================================================
RCS file: /cvsroot/tapestry/TapestryBook/examples/context/WEB-INF/Register.page,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Register.page	28 Feb 2003 00:25:41 -0000	1.1
--- Register.page	16 Mar 2003 02:55:40 -0000	1.2
***************
*** 9,17 ****
    <bean name="delegate" class="examples.register.RegisterDelegate"/>
    
!   <bean name="required" class="net.sf.tapestry.valid.StringValidator" lifecycle="page">
      <set-property name="required" expression="true"/>
    </bean>
    
!   <bean name="stateValidator" class="net.sf.tapestry.valid.StringValidator" lifecycle="page">
    	<set-property name="required" expression="true"/>
    	<set-property name="minimumLength" expression="2"/>
--- 9,17 ----
    <bean name="delegate" class="examples.register.RegisterDelegate"/>
    
!   <bean name="required" class="org.apache.tapestry.valid.StringValidator" lifecycle="page">
      <set-property name="required" expression="true"/>
    </bean>
    
!   <bean name="stateValidator" class="org.apache.tapestry.valid.StringValidator" lifecycle="page">
    	<set-property name="required" expression="true"/>
    	<set-property name="minimumLength" expression="2"/>



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en