You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2007/03/31 06:16:57 UTC

svn commit: r524365 - in /tapestry/tapestry5: quickstart/trunk/src/main/resources/archetype-resources/src/main/java/services/ quickstart/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/ quickstart/trunk/src/site/ tapestry-component...

Author: hlship
Date: Fri Mar 30 21:16:54 2007
New Revision: 524365

URL: http://svn.apache.org/viewvc?view=rev&rev=524365
Log:
Upgrade to version 1.1 of the Tapestry Maven Skin.

Added:
    tapestry/tapestry5/tapestry-project/trunk/src/tapestry-favicon.graffle
Modified:
    tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/java/services/AppModule.java
    tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/Start.html
    tapestry/tapestry5/quickstart/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-component-report/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-core/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-hibernate/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-ioc/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-project/trunk/pom.xml
    tapestry/tapestry5/tapestry-project/trunk/src/site/resources/t5-tutorial.pdf
    tapestry/tapestry5/tapestry-project/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-project/trunk/src/t5-tutorial.pages.tar.bz2
    tapestry/tapestry5/tapestry-spring/trunk/src/site/site.xml
    tapestry/tapestry5/tapestry-test/trunk/src/site/site.xml

Modified: tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/java/services/AppModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/java/services/AppModule.java?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/java/services/AppModule.java (original)
+++ tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/java/services/AppModule.java Fri Mar 30 21:16:54 2007
@@ -20,23 +20,22 @@
     public static void contributeApplicationDefaults(
             MappedConfiguration<String, String> configuration)
     {
-        // Contributions to tapestry.ioc.ApplicationDefaults will override any contributes to
-        // tapestry.io.FactoryDefaults (with the same key). Here we're restricting the supported locales
-        // to just "en" (English). Tapestry will be most efficient with a finite number of supported locales.
-        // As you add localised message catalogs and other assets, you can extend this list of locales (it's
-        // a comma seperated series of locale name; the first locale name is the default when there's no
-        // reasonable match).
+        // Contributions to ApplicationDefaults will override any contributions to
+        // FactoryDefaults (with the same key). Here we're restricting the supported
+        // locales to just "en" (English). As you add localised message catalogs and other assets,
+        // you can extend this list of locales (it's a comma seperated series of locale names;
+        // the first locale name is the default when there's no reasonable match).
         
         configuration.add("tapestry.supported-locales", "en");
     }
     
 
     /**
-     * This is a service definition, the service will be named app.TimingFilter. The interface,
-     * RequestFilter, is used within the tapestry.RequestHandler pipeline. Tapestry IoC is
-     * responsible for passing in an appropriate Log instance. Requests for static resources are
-     * handled at a higher level, so this filter (once contributed into the tapestry.RequestHandler
-     * service) will only be invoked for Tapestry related requests.
+     * This is a service definition, the service will be named TimingFilter. The interface,
+     * RequestFilter, is used within the RequestHandler service pipeline, which is built from the
+     * RequestHandler service configuration. Tapestry IoC is responsible for passing in an
+     * appropriate Log instance. Requests for static resources are handled at a higher level, so
+     * this filter will only be invoked for Tapestry related requests.
      */    
     public RequestFilter buildTimingFilter(final Log log)
     {
@@ -49,6 +48,10 @@
 
                 try
                 {
+                    // The reponsibility of a filter is to invoke the corresponding method
+                    // in the handler. When you chain multiple filters together, each filter
+                    // received a handler that is a bridge to the next filter.
+                    
                     return handler.service(request, response);
                 }
                 finally
@@ -62,16 +65,15 @@
     }
 
     /**
-     * This is a contribution to the tapestry.RequestHandler's service configuration. This is how
-     * we extend Tapestry using the timing filter. A common use for this kind of filter is transaction
-     * management or auditting.
+     * This is a contribution to the RequestHandler service configuration. This is how we extend
+     * Tapestry using the timing filter. A common use for this kind of filter is transaction
+     * management or security.
      */
     public void contributeRequestHandler(OrderedConfiguration<RequestFilter> configuration,
             @InjectService("TimingFilter")
             RequestFilter filter)
     {
-        // Each contribution to an ordered configuration has a name, which will be qualified with
-        // the module's id. Here, the fully qualified id will be "app.Timing".  When necessary, you may
+        // Each contribution to an ordered configuration has a name, When necessary, you may
         // set constraints to precisely control the invocation order of the contributed filter
         // within the pipeline.
         

Modified: tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/Start.html
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/Start.html?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/Start.html (original)
+++ tapestry/tapestry5/quickstart/trunk/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/Start.html Fri Mar 30 21:16:54 2007
@@ -12,7 +12,7 @@
 
 
         <p>
-            [<a t:type="PageLink" t:page="Start">refresh</a>]
+            [<t:pagelink t:page="Start">refresh</t:pagelink>]
         </p>
     </body>
 </html>

Modified: tapestry/tapestry5/quickstart/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/quickstart/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/quickstart/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -13,7 +13,7 @@
     <skin>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>maven-skin</artifactId>
-        <version>1.0-SNAPSHOT</version>
+        <version>1.1</version>
     </skin>
 
     <publishDate format="dd MMM yyyy"/>

Modified: tapestry/tapestry5/tapestry-component-report/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-component-report/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-component-report/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-component-report/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -29,7 +29,7 @@
     <skin>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>maven-skin</artifactId>
-        <version>1.0-SNAPSHOT</version>
+        <version>1.1</version>
     </skin>
     
     <publishDate format="dd MMM yyyy" />

Modified: tapestry/tapestry5/tapestry-core/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-core/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-core/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-core/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -29,7 +29,7 @@
     <skin>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>maven-skin</artifactId>
-        <version>1.0-SNAPSHOT</version>
+        <version>1.1</version>
     </skin>
     
     <publishDate format="dd MMM yyyy" />

Modified: tapestry/tapestry5/tapestry-hibernate/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-hibernate/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-hibernate/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-hibernate/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -29,7 +29,7 @@
   <skin>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>maven-skin</artifactId>
-    <version>1.0-SNAPSHOT</version>
+    <version>1.1</version>
   </skin>
   
   <publishDate format="dd MMM yyyy" />

Modified: tapestry/tapestry5/tapestry-ioc/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-ioc/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-ioc/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-ioc/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -29,7 +29,7 @@
     <skin>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>maven-skin</artifactId>
-        <version>1.0-SNAPSHOT</version>
+        <version>1.1</version>
     </skin>
     
     <publishDate format="dd MMM yyyy" />

Modified: tapestry/tapestry5/tapestry-project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/pom.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-project/trunk/pom.xml (original)
+++ tapestry/tapestry5/tapestry-project/trunk/pom.xml Fri Mar 30 21:16:54 2007
@@ -171,7 +171,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.8-SNAPSHOT</version>
+         <!--  <version>2.8-SNAPSHOT</version> -->
           <configuration>
             <suiteXmlFiles>
               <suiteXmlFile> src/test/conf/testng.xml </suiteXmlFile>

Modified: tapestry/tapestry5/tapestry-project/trunk/src/site/resources/t5-tutorial.pdf
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/site/resources/t5-tutorial.pdf?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
Binary files - no diff available.

Modified: tapestry/tapestry5/tapestry-project/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-project/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-project/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -13,7 +13,7 @@
   <skin>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>maven-skin</artifactId>
-    <version>1.0-SNAPSHOT</version>
+    <version>1.1</version>
   </skin>
 
   <publishDate format="dd MMM yyyy"/>

Modified: tapestry/tapestry5/tapestry-project/trunk/src/t5-tutorial.pages.tar.bz2
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/t5-tutorial.pages.tar.bz2?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
Binary files - no diff available.

Added: tapestry/tapestry5/tapestry-project/trunk/src/tapestry-favicon.graffle
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-project/trunk/src/tapestry-favicon.graffle?view=auto&rev=524365
==============================================================================
--- tapestry/tapestry5/tapestry-project/trunk/src/tapestry-favicon.graffle (added)
+++ tapestry/tapestry5/tapestry-project/trunk/src/tapestry-favicon.graffle Fri Mar 30 21:16:54 2007
@@ -0,0 +1,311 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>ActiveLayerIndex</key>
+	<integer>0</integer>
+	<key>AutoAdjust</key>
+	<true/>
+	<key>CanvasColor</key>
+	<dict>
+		<key>w</key>
+		<string>1</string>
+	</dict>
+	<key>CanvasOrigin</key>
+	<string>{0, 0}</string>
+	<key>CanvasScale</key>
+	<real>1</real>
+	<key>ColumnAlign</key>
+	<integer>1</integer>
+	<key>ColumnSpacing</key>
+	<real>36</real>
+	<key>CreationDate</key>
+	<string>2007-03-07 10:15:08 -0800</string>
+	<key>Creator</key>
+	<string>Howard Lewis Ship</string>
+	<key>DisplayScale</key>
+	<string>1 in = 1 in</string>
+	<key>GraphDocumentVersion</key>
+	<integer>5</integer>
+	<key>GraphicsList</key>
+	<array>
+		<dict>
+			<key>Bounds</key>
+			<string>{{108.9, 126}, {161.1, 244}}</string>
+			<key>Class</key>
+			<string>ShapedGraphic</string>
+			<key>FitText</key>
+			<string>Vertical</string>
+			<key>Flow</key>
+			<string>Resize</string>
+			<key>FontInfo</key>
+			<dict>
+				<key>Color</key>
+				<dict>
+					<key>w</key>
+					<string>0</string>
+				</dict>
+				<key>Font</key>
+				<string>Helvetica</string>
+				<key>NSKern</key>
+				<real>0.0</real>
+				<key>Size</key>
+				<real>12</real>
+			</dict>
+			<key>ID</key>
+			<integer>3</integer>
+			<key>Shape</key>
+			<string>Rectangle</string>
+			<key>Style</key>
+			<dict>
+				<key>fill</key>
+				<dict>
+					<key>Draws</key>
+					<string>NO</string>
+					<key>GradientColor</key>
+					<dict>
+						<key>w</key>
+						<string>0.666667</string>
+					</dict>
+				</dict>
+				<key>shadow</key>
+				<dict>
+					<key>Beneath</key>
+					<string>YES</string>
+					<key>Fuzziness</key>
+					<real>13.994791030883789</real>
+					<key>ShadowVector</key>
+					<string>{9, 4}</string>
+				</dict>
+				<key>stroke</key>
+				<dict>
+					<key>Draws</key>
+					<string>NO</string>
+				</dict>
+			</dict>
+			<key>Text</key>
+			<dict>
+				<key>Align</key>
+				<integer>0</integer>
+				<key>Text</key>
+				<string>{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf420
+{\fonttbl\f0\fnil\fcharset77 Zapfino;}
+{\colortbl;\red255\green255\blue255;\red255\green255\blue255;}
+\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural
+
+\f0\fs144 \cf2 \shad\shadx61\shady-62\shadr62\shado220 \shadc0 T}</string>
+			</dict>
+		</dict>
+		<dict>
+			<key>Bounds</key>
+			<string>{{108.9, 144}, {146, 146}}</string>
+			<key>Class</key>
+			<string>ShapedGraphic</string>
+			<key>ID</key>
+			<integer>2</integer>
+			<key>Shape</key>
+			<string>Circle</string>
+			<key>Style</key>
+			<dict>
+				<key>fill</key>
+				<dict>
+					<key>FillType</key>
+					<integer>3</integer>
+					<key>GradientCenter</key>
+					<string>{-0.133333, -0.190476}</string>
+					<key>GradientColor</key>
+					<dict>
+						<key>b</key>
+						<string>1</string>
+						<key>g</key>
+						<string>0</string>
+						<key>r</key>
+						<string>0</string>
+					</dict>
+				</dict>
+			</dict>
+		</dict>
+	</array>
+	<key>GridInfo</key>
+	<dict/>
+	<key>GuidesLocked</key>
+	<string>NO</string>
+	<key>GuidesVisible</key>
+	<string>YES</string>
+	<key>HPages</key>
+	<integer>1</integer>
+	<key>ImageCounter</key>
+	<integer>1</integer>
+	<key>IsPalette</key>
+	<string>NO</string>
+	<key>KeepToScale</key>
+	<false/>
+	<key>Layers</key>
+	<array>
+		<dict>
+			<key>Lock</key>
+			<string>NO</string>
+			<key>Name</key>
+			<string>Layer 1</string>
+			<key>Print</key>
+			<string>YES</string>
+			<key>View</key>
+			<string>YES</string>
+		</dict>
+	</array>
+	<key>LayoutInfo</key>
+	<dict/>
+	<key>LinksVisible</key>
+	<string>NO</string>
+	<key>MagnetsVisible</key>
+	<string>NO</string>
+	<key>MasterSheet</key>
+	<string>Master 1</string>
+	<key>MasterSheets</key>
+	<array>
+		<dict>
+			<key>ActiveLayerIndex</key>
+			<integer>0</integer>
+			<key>AutoAdjust</key>
+			<true/>
+			<key>CanvasColor</key>
+			<dict>
+				<key>w</key>
+				<string>1</string>
+			</dict>
+			<key>CanvasOrigin</key>
+			<string>{0, 0}</string>
+			<key>CanvasScale</key>
+			<real>1</real>
+			<key>ColumnAlign</key>
+			<integer>1</integer>
+			<key>ColumnSpacing</key>
+			<real>36</real>
+			<key>DisplayScale</key>
+			<string>1 in = 1 in</string>
+			<key>GraphicsList</key>
+			<array/>
+			<key>GridInfo</key>
+			<dict/>
+			<key>HPages</key>
+			<integer>1</integer>
+			<key>IsPalette</key>
+			<string>NO</string>
+			<key>KeepToScale</key>
+			<false/>
+			<key>Layers</key>
+			<array>
+				<dict>
+					<key>Lock</key>
+					<string>NO</string>
+					<key>Name</key>
+					<string>Layer 1</string>
+					<key>Print</key>
+					<string>YES</string>
+					<key>View</key>
+					<string>YES</string>
+				</dict>
+			</array>
+			<key>LayoutInfo</key>
+			<dict/>
+			<key>Orientation</key>
+			<integer>2</integer>
+			<key>OutlineStyle</key>
+			<string>Basic</string>
+			<key>RowAlign</key>
+			<integer>1</integer>
+			<key>RowSpacing</key>
+			<real>36</real>
+			<key>SheetTitle</key>
+			<string>Master 1</string>
+			<key>UniqueID</key>
+			<integer>1</integer>
+			<key>VPages</key>
+			<integer>1</integer>
+		</dict>
+	</array>
+	<key>ModificationDate</key>
+	<string>2007-03-12 15:33:34 -0700</string>
+	<key>Modifier</key>
+	<string>Howard Lewis Ship</string>
+	<key>NotesVisible</key>
+	<string>NO</string>
+	<key>Orientation</key>
+	<integer>2</integer>
+	<key>OriginVisible</key>
+	<string>NO</string>
+	<key>OutlineStyle</key>
+	<string>Basic</string>
+	<key>PageBreaks</key>
+	<string>YES</string>
+	<key>PrintInfo</key>
+	<dict>
+		<key>NSBottomMargin</key>
+		<array>
+			<string>float</string>
+			<string>0</string>
+		</array>
+		<key>NSLeftMargin</key>
+		<array>
+			<string>float</string>
+			<string>0</string>
+		</array>
+		<key>NSPaperSize</key>
+		<array>
+			<string>size</string>
+			<string>{612, 792}</string>
+		</array>
+		<key>NSRightMargin</key>
+		<array>
+			<string>float</string>
+			<string>0</string>
+		</array>
+		<key>NSTopMargin</key>
+		<array>
+			<string>float</string>
+			<string>0</string>
+		</array>
+	</dict>
+	<key>ReadOnly</key>
+	<string>NO</string>
+	<key>RowAlign</key>
+	<integer>1</integer>
+	<key>RowSpacing</key>
+	<real>36</real>
+	<key>SheetTitle</key>
+	<string>Canvas 1</string>
+	<key>SmartAlignmentGuidesActive</key>
+	<string>YES</string>
+	<key>SmartDistanceGuidesActive</key>
+	<string>YES</string>
+	<key>UniqueID</key>
+	<integer>1</integer>
+	<key>UseEntirePage</key>
+	<true/>
+	<key>VPages</key>
+	<integer>1</integer>
+	<key>WindowInfo</key>
+	<dict>
+		<key>CurrentSheet</key>
+		<string>0</string>
+		<key>DrawerOpen</key>
+		<true/>
+		<key>DrawerTab</key>
+		<string>Outline</string>
+		<key>DrawerWidth</key>
+		<real>209</real>
+		<key>FitInWindow</key>
+		<false/>
+		<key>Frame</key>
+		<string>{{641, 469}, {594, 870}}</string>
+		<key>ShowRuler</key>
+		<false/>
+		<key>ShowStatusBar</key>
+		<true/>
+		<key>VisibleRegion</key>
+		<string>{{0, 0}, {579, 756}}</string>
+		<key>Zoom</key>
+		<string>1</string>
+	</dict>
+</dict>
+</plist>

Modified: tapestry/tapestry5/tapestry-spring/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-spring/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-spring/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-spring/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -29,7 +29,7 @@
   <skin>
     <groupId>org.apache.tapestry</groupId>
     <artifactId>maven-skin</artifactId>
-    <version>1.0-SNAPSHOT</version>
+    <version>1.1</version>
   </skin>
   
   <publishDate format="dd MMM yyyy" />

Modified: tapestry/tapestry5/tapestry-test/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/tapestry-test/trunk/src/site/site.xml?view=diff&rev=524365&r1=524364&r2=524365
==============================================================================
--- tapestry/tapestry5/tapestry-test/trunk/src/site/site.xml (original)
+++ tapestry/tapestry5/tapestry-test/trunk/src/site/site.xml Fri Mar 30 21:16:54 2007
@@ -29,7 +29,7 @@
     <skin>
         <groupId>org.apache.tapestry</groupId>
         <artifactId>maven-skin</artifactId>
-        <version>1.0-SNAPSHOT</version>
+        <version>1.1</version>
     </skin>
     
     <publishDate format="dd MMM yyyy" />