You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2003/02/07 05:27:46 UTC

cvs commit: jakarta-tapestry/examples/Tutorial/context/WEB-INF/border Border.jwc

hlship      2003/02/06 20:27:46

  Modified:    examples/Tutorial/context/WEB-INF/workbench LocaleList.jwc
                        ShowError.jwc LocaleSelection.jwc
               examples/Vlib/context/WEB-INF Borrow.jwc
                        ShowValidationError.jwc Border.jwc Browser.jwc
                        PersonLink.jwc BookLink.jwc Border.html
               examples/Tutorial/context/WEB-INF/portal ShowError.jwc
                        Portlet.jwc
               examples/Tutorial2/src/tutorial/pagelinking SecondPage.java
               examples/Tutorial/context/WEB-INF/border Border.jwc
  Log:
  Update all specifications to the latest 1.4 DTD and update the DOCTYPE to reference Apache.
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-tapestry/examples/Tutorial/context/WEB-INF/workbench/LocaleList.jwc
  
  Index: LocaleList.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial/context/WEB-INF/workbench/LocaleList.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LocaleList.jwc	26 Jan 2003 02:59:16 -0000	1.3
  +++ LocaleList.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -8,7 +8,7 @@
   	allow-body="no" allow-informal-parameters="yes">
   
   	<parameter name="localeSelectionListener" 
  -		java-type="tutorial.workbench.table.ILocaleSelectionListener" 
  +		type="tutorial.workbench.table.ILocaleSelectionListener" 
   		required="yes"
   		direction="custom"/>
   
  
  
  
  1.4       +2 -2      jakarta-tapestry/examples/Tutorial/context/WEB-INF/workbench/ShowError.jwc
  
  Index: ShowError.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial/context/WEB-INF/workbench/ShowError.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ShowError.jwc	26 Jan 2003 02:59:17 -0000	1.3
  +++ ShowError.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -7,7 +7,7 @@
   <component-specification 
     allow-informal-parameters="no" allow-body="no">
     
  -  <parameter name="delegate" java-type="net.sf.tapestry.valid.IValidationDelegate" 
  +  <parameter name="delegate" type="net.sf.tapestry.valid.IValidationDelegate" 
     	required="yes"/>    
     
   </component-specification>
  
  
  
  1.4       +7 -11     jakarta-tapestry/examples/Tutorial/context/WEB-INF/workbench/LocaleSelection.jwc
  
  Index: LocaleSelection.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial/context/WEB-INF/workbench/LocaleSelection.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LocaleSelection.jwc	26 Jan 2003 02:59:16 -0000	1.3
  +++ LocaleSelection.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -3,28 +3,24 @@
   <!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="tutorial.workbench.table.LocaleSelection" 
  +<component-specification class="tutorial.workbench.table.LocaleSelection"
   	allow-body="no" allow-informal-parameters="yes">
  -
   	<component id="condTable" type="Conditional">
   		<binding name="condition" expression="dataModel.rowCount > 0"/>
   	</component>
  -
   	<component id="table" type="contrib:Table">
   		<binding name="tableModel" expression="initialTableModel"/>
   		<static-binding name="rowsClass" value="tableRowsClass"/>
   	</component>
  -
   	<component id="directDelete" type="DirectLink">
   		<binding name="listener" expression="listeners.deleteLocale"/>
   		<binding name="parameters" expression="currentLocale"/>
   	</component>
  -  
   	<component id="verbosity" type="Any">
  -		<static-binding name="element">td</static-binding>
  -		<binding name="style" expression="&#34;background-color:blue; width:&#34;+(currentLocaleVerbosity/2)"/>
  +		<static-binding name="element" value="td"/>
  +		<binding name="style">
  +			"background-color:blue; width:"
  +			+ ( currentLocaleVerbosity / 2)
  +		</binding>
   	</component>
  -	
  -  
   </component-specification>
  
  
  
  1.4       +2 -2      jakarta-tapestry/examples/Vlib/context/WEB-INF/Borrow.jwc
  
  Index: Borrow.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/Borrow.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Borrow.jwc	26 Jan 2003 02:59:14 -0000	1.3
  +++ Borrow.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -8,7 +8,7 @@
   	allow-body="no" 
   	allow-informal-parameters="no">
   	
  -  <parameter name="book" java-type="net.sf.tapestry.vlib.ejb.Book" required="yes"/>
  +  <parameter name="book" type="net.sf.tapestry.vlib.ejb.Book" required="yes"/>
       
     <component id="link" type="DirectLink">
       <binding name="parameters" expression="book.primaryKey"/>
  
  
  
  1.4       +2 -2      jakarta-tapestry/examples/Vlib/context/WEB-INF/ShowValidationError.jwc
  
  Index: ShowValidationError.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/ShowValidationError.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ShowValidationError.jwc	26 Jan 2003 02:59:14 -0000	1.3
  +++ ShowValidationError.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -7,6 +7,6 @@
   <component-specification class="net.sf.tapestry.BaseComponent" 
   	allow-informal-parameters="no">
   
  -  <parameter name="delegate" java-type="net.sf.tapestry.valid.IValidationDelegate" required="yes"/>
  +  <parameter name="delegate" type="net.sf.tapestry.valid.IValidationDelegate" required="yes"/>
     
   </component-specification>
  
  
  
  1.4       +4 -4      jakarta-tapestry/examples/Vlib/context/WEB-INF/Border.jwc
  
  Index: Border.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/Border.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Border.jwc	26 Jan 2003 02:59:14 -0000	1.3
  +++ Border.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -8,9 +8,9 @@
   	class="net.sf.tapestry.vlib.components.Border"
   	allow-informal-parameters="no">
   
  -  <parameter name="title" java-type="java.lang.String"/>
  -  <parameter name="subtitle" java-type="java.lang.String" direction="in"/>
  -  <parameter name="simpleTitle" java-type="java.lang.Boolean"/>  
  +  <parameter name="title" type="java.lang.String"/>
  +  <parameter name="subtitle" type="java.lang.String" direction="in"/>
  +  <parameter name="simpleTitle" type="java.lang.Boolean"/>  
               
     <component id="ifImageTitle" type="Conditional">
     	<inherited-binding name="condition" parameter-name="simpleTitle"/>
  
  
  
  1.4       +1 -1      jakarta-tapestry/examples/Vlib/context/WEB-INF/Browser.jwc
  
  Index: Browser.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/Browser.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Browser.jwc	26 Jan 2003 02:59:14 -0000	1.3
  +++ Browser.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -8,7 +8,7 @@
   	allow-informal-parameters="no" 
   	class="net.sf.tapestry.vlib.components.Browser">
   
  -  <parameter name="query" required="yes" java-type="net.sf.tapestry.vlib.IBookQuery"/>
  +  <parameter name="query" required="yes" type="net.sf.tapestry.vlib.IBookQuery"/>
    
   </component-specification>
   
  
  
  
  1.4       +5 -5      jakarta-tapestry/examples/Vlib/context/WEB-INF/PersonLink.jwc
  
  Index: PersonLink.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/PersonLink.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PersonLink.jwc	26 Jan 2003 02:59:14 -0000	1.3
  +++ PersonLink.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -9,13 +9,13 @@
   	allow-body="no" 
   	allow-informal-parameters="no">
     
  -  <parameter name="name" java-type="java.lang.String" required="yes" direction="in"/>
  +  <parameter name="name" type="java.lang.String" required="yes" direction="in"/>
     
  -  <parameter name="primaryKey" java-type="java.lang.Integer" required="yes" direction="in"/>
  +  <parameter name="primaryKey" type="java.lang.Integer" required="yes" direction="in"/>
     
  -  <parameter name="omit" java-type="boolean" direction="in"/>
  +  <parameter name="omit" type="boolean" direction="in"/>
     
  -  <parameter name="class" java-type="java.lang.String"/>
  +  <parameter name="class" type="java.lang.String"/>
      
     <component id="link" type="ExternalLink">
       <static-binding name="page">ViewPerson</static-binding>
  
  
  
  1.4       +2 -2      jakarta-tapestry/examples/Vlib/context/WEB-INF/BookLink.jwc
  
  Index: BookLink.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/BookLink.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- BookLink.jwc	26 Jan 2003 02:59:14 -0000	1.3
  +++ BookLink.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -8,7 +8,7 @@
   	allow-body="no" 
   	allow-informal-parameters="no">
     
  -  <parameter name="book" java-type="net.sf.tapestry.vlib.ejb.Book" required="yes" direction="in"/>
  +  <parameter name="book" type="net.sf.tapestry.vlib.ejb.Book" required="yes" direction="in"/>
     
     <component id="link" type="ExternalLink">
       <static-binding name="page">ViewBook</static-binding>
  
  
  
  1.4       +3 -18     jakarta-tapestry/examples/Vlib/context/WEB-INF/Border.html
  
  Index: Border.html
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Vlib/context/WEB-INF/Border.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Border.html	24 Jan 2003 00:49:36 -0000	1.3
  +++ Border.html	7 Feb 2003 04:27:45 -0000	1.4
  @@ -120,24 +120,9 @@
   
   <!-- ****END BODY WRAPPER**** -->
   
  -<!-- ****FOOTER**** -->
  -
  -	<tr bgcolor="#000000">
  -		<td colspan="2" class="clsFooter" align="center" valign="bottom">&#169;2000-2002
  -		<a class="clsFooterLink" href="mailto:hlship@apache.org">Howard Lewis Ship</a>.
  -		All rights reserved.
  -
  -        <span jwcid="@contrib:InspectorButton" disabled="[[ ! page.engine.debugEnabled ]]"/>
  -
  -		</td>
  -	</tr>
  -	
  -	<tr>
  -		<td colspan="2">
  -			<img src="images/spacer.gif" height="2" width="1">
  -		</td>
  -	</tr>
   </table>
  +
  +<span jwcid="@contrib:InspectorButton" disabled="[[ ! page.engine.debugEnabled ]]"/>
   
   
   <!-- ****END FOOTER**** -->
  
  
  
  1.4       +2 -2      jakarta-tapestry/examples/Tutorial/context/WEB-INF/portal/ShowError.jwc
  
  Index: ShowError.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial/context/WEB-INF/portal/ShowError.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ShowError.jwc	26 Jan 2003 02:59:23 -0000	1.3
  +++ ShowError.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -7,7 +7,7 @@
   <component-specification 
     allow-informal-parameters="no" allow-body="no">
     
  -  <parameter name="delegate" java-type="net.sf.tapestry.valid.IValidationDelegate" 
  +  <parameter name="delegate" type="net.sf.tapestry.valid.IValidationDelegate" 
     	required="yes"/>
      
   </component-specification>
  
  
  
  1.4       +3 -3      jakarta-tapestry/examples/Tutorial/context/WEB-INF/portal/Portlet.jwc
  
  Index: Portlet.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial/context/WEB-INF/portal/Portlet.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Portlet.jwc	26 Jan 2003 02:59:23 -0000	1.3
  +++ Portlet.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -12,10 +12,10 @@
   
   <parameter name="model" 
   	required="yes" 
  -	java-type="tutorial.portal.PortletModel"
  +	type="tutorial.portal.PortletModel"
   	direction="in"/>
   
  -<parameter name="closeListener" required="yes" java-type="net.sf.tapestry.IActionListener">
  +<parameter name="closeListener" required="yes" type="net.sf.tapestry.IActionListener">
   	<description>
   		A listener notified when the close box is clicked by the user.
   	</description>
  
  
  
  1.2       +54 -0     jakarta-tapestry/examples/Tutorial2/src/tutorial/pagelinking/SecondPage.java
  
  Index: SecondPage.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial2/src/tutorial/pagelinking/SecondPage.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SecondPage.java	26 Jan 2003 12:19:25 -0000	1.1
  +++ SecondPage.java	7 Feb 2003 04:27:45 -0000	1.2
  @@ -1,3 +1,57 @@
  +/*
  + *  ====================================================================
  + *  The Apache Software License, Version 1.1
  + *
  + *  Copyright (c) 2002 The Apache Software Foundation.  All rights
  + *  reserved.
  + *
  + *  Redistribution and use in source and binary forms, with or without
  + *  modification, are permitted provided that the following conditions
  + *  are met:
  + *
  + *  1. Redistributions of source code must retain the above copyright
  + *  notice, this list of conditions and the following disclaimer.
  + *
  + *  2. Redistributions in binary form must reproduce the above copyright
  + *  notice, this list of conditions and the following disclaimer in
  + *  the documentation and/or other materials provided with the
  + *  distribution.
  + *
  + *  3. The end-user documentation included with the redistribution,
  + *  if any, must include the following acknowledgment:
  + *  "This product includes software developed by the
  + *  Apache Software Foundation (http://www.apache.org/)."
  + *  Alternately, this acknowledgment may appear in the software itself,
  + *  if and wherever such third-party acknowledgments normally appear.
  + *
  + *  4. The names "Apache" and "Apache Software Foundation" and
  + *  "Apache Tapestry" must not be used to endorse or promote products
  + *  derived from this software without prior written permission. For
  + *  written permission, please contact apache@apache.org.
  + *
  + *  5. Products derived from this software may not be called "Apache",
  + *  "Apache Tapestry", nor may "Apache" appear in their name, without
  + *  prior written permission of the Apache Software Foundation.
  + *
  + *  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  + *  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  + *  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  + *  DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  + *  ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  + *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  + *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  + *  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  + *  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  + *  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  + *  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  + *  SUCH DAMAGE.
  + *  ====================================================================
  + *
  + *  This software consists of voluntary contributions made by many
  + *  individuals on behalf of the Apache Software Foundation.  For more
  + *  information on the Apache Software Foundation, please see
  + *  <http://www.apache.org/>.
  + */
   package tutorial.pagelinking;
   
   import net.sf.tapestry.html.BasePage;
  
  
  
  1.4       +2 -2      jakarta-tapestry/examples/Tutorial/context/WEB-INF/border/Border.jwc
  
  Index: Border.jwc
  ===================================================================
  RCS file: /home/cvs/jakarta-tapestry/examples/Tutorial/context/WEB-INF/border/Border.jwc,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Border.jwc	26 Jan 2003 02:59:20 -0000	1.3
  +++ Border.jwc	7 Feb 2003 04:27:45 -0000	1.4
  @@ -6,7 +6,7 @@
   
   <component-specification class="tutorial.border.Border" allow-informal-parameters="no">
   
  -  <parameter name="title" java-type="java.lang.String" required="yes"/>
  +  <parameter name="title" type="java.lang.String" required="yes"/>
     
     <parameter name="pages" required="yes"/>