You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2006/02/08 02:54:53 UTC

svn commit: r375826 - in /jakarta/tapestry/trunk: ./ config/ eclipse/ examples/AjaxWorkbench/ examples/TimeTracker/ examples/TimeTracker/src/ examples/TimeTracker/src/config/ examples/TimeTracker/src/context/ examples/TimeTracker/src/context/WEB-INF/ e...

Author: jkuhnert
Date: Tue Feb  7 17:54:51 2006
New Revision: 375826

URL: http://svn.apache.org/viewcvs?rev=375826&view=rev
Log:
Changed build to use hivemind 1.1.1 (get rid of gump errors), removed ajaxworkbench (not very imagnitive for ajax demo), started new demo app

Added:
    jakarta/tapestry/trunk/eclipse/Tapestry-TimeTracker.launch
    jakarta/tapestry/trunk/examples/TimeTracker/
    jakarta/tapestry/trunk/examples/TimeTracker/build.xml
    jakarta/tapestry/trunk/examples/TimeTracker/src/
    jakarta/tapestry/trunk/examples/TimeTracker/src/config/
    jakarta/tapestry/trunk/examples/TimeTracker/src/config/jetty.xml
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/Home.html
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.html
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.jwc
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.properties
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/hivemodule.xml
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/timetracker.application
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/web.xml
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/timetracker.css
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/undohtml.css
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/favicon.ico   (with props)
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/images/
    jakarta/tapestry/trunk/examples/TimeTracker/src/context/images/dateIcon.gif   (with props)
    jakarta/tapestry/trunk/examples/TimeTracker/src/java/
    jakarta/tapestry/trunk/examples/TimeTracker/src/test/
Removed:
    jakarta/tapestry/trunk/examples/AjaxWorkbench/
Modified:
    jakarta/tapestry/trunk/.classpath
    jakarta/tapestry/trunk/build.xml
    jakarta/tapestry/trunk/config/common.properties
    jakarta/tapestry/trunk/eclipse/Tapestry-AjaxWorkbench.launch

Modified: jakarta/tapestry/trunk/.classpath
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/.classpath?rev=375826&r1=375825&r2=375826&view=diff
==============================================================================
Binary files - no diff available.

Modified: jakarta/tapestry/trunk/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/build.xml?rev=375826&r1=375825&r2=375826&view=diff
==============================================================================
--- jakarta/tapestry/trunk/build.xml (original)
+++ jakarta/tapestry/trunk/build.xml Tue Feb  7 17:54:51 2006
@@ -27,7 +27,7 @@
 			contrib/build.xml 
 			annotations/build.xml 
 			examples/Workbench/build.xml 
-			examples/AjaxWorkbench/build.xml
+			examples/TimeTracker/build.xml
 			examples/VlibBeans/build.xml
 			examples/Vlib/build.xml" />
 

Modified: jakarta/tapestry/trunk/config/common.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/config/common.properties?rev=375826&r1=375825&r2=375826&view=diff
==============================================================================
--- jakarta/tapestry/trunk/config/common.properties (original)
+++ jakarta/tapestry/trunk/config/common.properties Tue Feb  7 17:54:51 2006
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-hivemind.version=1.2-alpha-1
+hivemind.version=1.1.1
 javassist.version=3.0
 ognl.version=2.6.7
 codec.version=1.3

Modified: jakarta/tapestry/trunk/eclipse/Tapestry-AjaxWorkbench.launch
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/eclipse/Tapestry-AjaxWorkbench.launch?rev=375826&r1=375825&r2=375826&view=diff
==============================================================================
--- jakarta/tapestry/trunk/eclipse/Tapestry-AjaxWorkbench.launch (original)
+++ jakarta/tapestry/trunk/eclipse/Tapestry-AjaxWorkbench.launch Tue Feb  7 17:54:51 2006
@@ -12,7 +12,7 @@
 <listEntry value="4"/>
 </listAttribute>
 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jakarta-tapestry"/>
-<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.apache.tapestry.disable-caching=false"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.apache.tapestry.disable-caching=true"/>
 <listAttribute key="org.eclipse.debug.ui.favoriteGroups">
 <listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
 </listAttribute>

Added: jakarta/tapestry/trunk/eclipse/Tapestry-TimeTracker.launch
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/eclipse/Tapestry-TimeTracker.launch?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/eclipse/Tapestry-TimeTracker.launch (added)
+++ jakarta/tapestry/trunk/eclipse/Tapestry-TimeTracker.launch Tue Feb  7 17:54:51 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
+<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.mortbay.start.Main"/>
+<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER&quot; javaProject=&quot;jakarta-tapestry&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#10;&lt;memento project=&quot;jakarta-tapestry&quot;/&gt;&#10;&lt;/runtimeClasspathEntry&gt;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.USER_LIBRARY/JETTY6_LIB&quot; path=&quot;3&quot; type=&quot;4&quot;/&gt;&#10;"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="src/config/jetty.xml"/>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
+<listEntry value="4"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="jakarta-tapestry"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Dorg.apache.tapestry.disable-caching=true"/>
+<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
+<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
+<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
+</listAttribute>
+<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
+<listEntry value="/jakarta-tapestry"/>
+</listAttribute>
+<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="jakarta-tapestry/examples/TimeTracker"/>
+<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/>
+</launchConfiguration>

Added: jakarta/tapestry/trunk/examples/TimeTracker/build.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/build.xml?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/build.xml (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/build.xml Tue Feb  7 17:54:51 2006
@@ -0,0 +1,50 @@
+<?xml version="1.0"?>
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<project name="Tapestry TimeTracker" default="war">
+  
+  <property name="module.name" value="timetracker"/>
+  <property name="module.javac.target" value="1.5"/>
+  <property name="module.javac.source" value="1.5"/>  
+  <property name="javadoc.package" value="org.apache.tapestry.timetracker.*"/>
+    
+  <property name="root.dir" value="../.."/>
+  <property file="${root.dir}/config/build.properties"/>
+  <property file="${root.dir}/config/common.properties"/>
+  
+  <import file="${hivebuild.dir}/war-module.xml"/>
+  <import file="${hivebuild.dir}/javadoc-report.xml"/>
+  
+  <target name="compile-dependencies">
+    <project-dependency artifact="tapestry"            use="run"/>
+    <project-dependency artifact="tapestry-contrib"    use="run"/>
+    <project-dependency artifact="tapestry-annotations" use="run"/>
+	
+    <ibiblio-dependency artifact="commons-codec"      version="${codec.version}"    group="commons-codec"     use="run"/>
+    <ibiblio-dependency artifact="commons-fileupload" version="${fileupload.version}" group="commons-fileupload" use="run"/>        
+    <ibiblio-dependency artifact="commons-logging"    version="${logging.version}"  group="commons-logging"   use="run"/>
+    	
+    <ibiblio-dependency artifact="hivemind"           version="${hivemind.version}" group="hivemind"          use="run"/>
+    <ibiblio-dependency artifact="hivemind-lib"       version="${hivemind.version}" group="hivemind"          use="run"/>
+    <ibiblio-dependency artifact="javassist"          version="${javassist.version}"  group="jboss"           use="run"/>
+    <ibiblio-dependency artifact="log4j"              version="${log4j.version}"    group="log4j"             use="test"/>
+    <ibiblio-dependency artifact="ognl"               version="${ognl.version}"     group="ognl"              use="run"/>
+    <ibiblio-dependency artifact="oro"                version="${oro.version}"      group="oro"               use="run"/>
+    <ibiblio-dependency artifact="servletapi"         version="${servlet.version}"  group="servletapi"/>
+  </target>	
+  
+</project>
\ No newline at end of file

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/config/jetty.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/config/jetty.xml?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/config/jetty.xml (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/config/jetty.xml Tue Feb  7 17:54:51 2006
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure 1.2//EN"
+	"http://jetty.mortbay.org/configure.dtd">
+<Configure class="org.mortbay.jetty.Server">
+    
+    <Set name="ThreadPool">
+      <New class="org.mortbay.thread.BoundedThreadPool">
+        <Set name="minThreads">10</Set>
+        <Set name="maxThreads">100</Set>
+      </New>
+    </Set>
+    
+    <Set name="connectors">
+      <Array type="org.mortbay.jetty.Connector">
+      
+        <Item>
+          <New class="org.mortbay.jetty.bio.SocketConnector">
+            <Set name="port">8080</Set>
+            <Set name="maxIdleTime">50000</Set>
+          </New>
+        </Item>
+      
+      </Array>
+    </Set>
+    
+   <Set name="handlers">
+      <Array type="org.mortbay.jetty.Handler">
+
+        <!-- ======================================================= -->
+        <!-- Configure a test web application with web.xml           -->
+        <!-- ======================================================= -->
+        <Item>
+          <New id="demoContext"  class="org.mortbay.jetty.webapp.WebAppContext">
+            <Set name="contextPath">/</Set>
+            <Set name="resourceBase">src/context</Set>
+            <Set name="VirtualHosts"><Array type="java.lang.String"></Array></Set>
+            <Get name="SessionHandler">
+              <Set name="SessionManager"><New class="org.mortbay.jetty.servlet.HashSessionManager"/></Set>
+            </Get>
+          </New>
+        </Item>
+       </Array>
+    </Set>
+   
+   <Set name="stopAtShutdown">true</Set>
+   <Call name="start"/>
+</Configure>

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/Home.html
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/Home.html?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/Home.html (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/Home.html Tue Feb  7 17:54:51 2006
@@ -0,0 +1,15 @@
+<span jwcid="@Border">
+
+<p>This is the Tapestry Workbench.  It is a testing ground for Tapestry.
+Each tab above links to a new page, or set of pages, that demonstrate Tapestry components and
+features.
+
+<p>The check box control below is used to enable or disable the display of request information.  This is
+a detailed description of incoming request and session data, the same as provided by
+the Tapestry Inspector.  This is very useful when trying to understand or debug a form component.
+
+<p>The Tapestry icon in the lower right corner raises the Tapestry Inspector in a new window.
+The Inspector is a mini-application used
+to explore a running Tapestry application.
+
+</span>
\ No newline at end of file

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.html
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.html?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.html (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.html Tue Feb  7 17:54:51 2006
@@ -0,0 +1,12 @@
+<html jwcid="@Shell" title="message:window.title" ajaxEnabled="true" >
+
+<link rel="shortcut icon" href="favicon.ico" type="image/gif" />
+<link href="css/timetracker.css" rel="stylesheet" type="text/css" media="all" />
+
+<body jwcid="@Body">
+
+<h2>Home</h2>
+This is home.
+again again
+</body>
+</html>

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.jwc
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.jwc?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.jwc (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.jwc Tue Feb  7 17:54:51 2006
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!DOCTYPE component-specification PUBLIC
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN"
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
+
+<component-specification allow-informal-parameters="no">
+    
+</component-specification>

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.properties
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.properties?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.properties (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/Border.properties Tue Feb  7 17:54:51 2006
@@ -0,0 +1,14 @@
+# Copyright 2004, 2005 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+window.title=Tapestry TimeTracker

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/hivemodule.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/hivemodule.xml?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/hivemodule.xml (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/hivemodule.xml Tue Feb  7 17:54:51 2006
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<module id="timetracker" version="1.0.0" package="org.apache.tapestry.timetracker">
+    
+    
+    
+</module>
\ No newline at end of file

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/timetracker.application
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/timetracker.application?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/timetracker.application (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/timetracker.application Tue Feb  7 17:54:51 2006
@@ -0,0 +1,31 @@
+<?xml version="1.0"?>
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!DOCTYPE application PUBLIC 
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
+	
+<application name="Tapestry Ajax Component Workbench">
+  <meta key="org.apache.tapestry.visit-class" value="org.apache.tapestry.ajaxworkbench.Visit"/>
+  <meta key="org.apache.tapestry.template-encoding" value="ISO-8859-1"/>
+  <meta key="org.apache.tapestry.page-class-packages" value="org.apache.tapestry.ajaxworkbench"/>
+  <meta key="org.apache.tapestry.component-class-packages" value="org.apache.tapestry.ajaxworkbench.components"/>
+  
+  <extension name="org.apache.tapestry.request-decoder" class="org.apache.tapestry.ajaxworkbench.RequestDecoder"/>
+  
+  <library id="contrib" specification-path="classpath:/org/apache/tapestry/contrib/Contrib.library"/>
+</application>

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/web.xml
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/web.xml?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/web.xml (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/WEB-INF/web.xml Tue Feb  7 17:54:51 2006
@@ -0,0 +1,82 @@
+<?xml version="1.0"?>
+<!-- 
+   Copyright 2004, 2005 The Apache Software Foundation
+
+   Licensed under the Apache License, Version 2.0 (the "License");
+   you may not use this file except in compliance with the License.
+   You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+-->
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+<web-app>
+  <display-name>Tapestry Time Tracking example application</display-name>
+  
+	<filter>
+		<filter-name>redirect</filter-name>
+		<filter-class>org.apache.tapestry.RedirectFilter</filter-class>
+	</filter>
+	
+	<filter-mapping>
+		<filter-name>redirect</filter-name>
+		<url-pattern>/</url-pattern>
+	</filter-mapping>
+  
+  <servlet>
+  	<servlet-name>timetracker</servlet-name>
+    <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
+    <init-param>
+      <param-name>TreeRootDir</param-name>
+      <param-value>/</param-value>
+    </init-param>
+  	<load-on-startup>0</load-on-startup>
+  </servlet>
+     
+  <servlet-mapping>
+  	<servlet-name>timetracker</servlet-name>
+  	<url-pattern>/app</url-pattern>
+  </servlet-mapping>  
+  
+  <servlet-mapping>
+    <servlet-name>timetracker</servlet-name>
+    <url-pattern>*.page</url-pattern>
+  </servlet-mapping>
+  
+  <servlet-mapping>
+    <servlet-name>timetracker</servlet-name>
+    <url-pattern>*.external</url-pattern>
+  </servlet-mapping>
+    
+  <servlet-mapping>
+    <servlet-name>timetracker</servlet-name>
+    <url-pattern>*.direct</url-pattern>
+  </servlet-mapping>
+  
+  <servlet-mapping>
+    <servlet-name>timetracker</servlet-name>
+    <url-pattern>*.sdirect</url-pattern>
+  </servlet-mapping>  
+  
+  <servlet-mapping>
+    <servlet-name>timetracker</servlet-name>
+    <url-pattern>*.svc</url-pattern>
+  </servlet-mapping>
+  
+  <servlet-mapping>
+    <servlet-name>timetracker</servlet-name>
+    <url-pattern>/assets/*</url-pattern>
+  </servlet-mapping>
+
+  <session-config>
+  	<session-timeout>15</session-timeout>
+  </session-config>
+  
+</web-app>

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/timetracker.css
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/timetracker.css?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/timetracker.css (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/timetracker.css Tue Feb  7 17:54:51 2006
@@ -0,0 +1,18 @@
+@import url("undohtml.css");  /* CSS to undo some default browser css that gets in the way more than it helps */
+
+body {
+  width: 100%;
+}
+
+body, td, th {
+  font-family: Lucida Grande, Tahoma, Verdana, Arial, sans-serif;
+  font-size: 9pt;
+}
+
+.even {
+  background-color: #f0f0f0;
+}
+
+.odd {
+  background-color: #f9f9f9;
+}
\ No newline at end of file

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/undohtml.css
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/undohtml.css?rev=375826&view=auto
==============================================================================
--- jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/undohtml.css (added)
+++ jakarta/tapestry/trunk/examples/TimeTracker/src/context/css/undohtml.css Tue Feb  7 17:54:51 2006
@@ -0,0 +1,39 @@
+/* undohtml.css */
+/* (CC) 2004 Tantek Celik. Some Rights Reserved.             */
+/*   http://creativecommons.org/licenses/by/2.0                   */
+/* This style sheet is licensed under a Creative Commons License. */
+
+/* Purpose: undo some of the default styling of common (X)HTML browsers */
+
+
+/* link underlines tend to make hypertext less readable, 
+   because underlines obscure the shapes of the lower halves of words */
+:link,:visited { text-decoration:none }
+
+/* no list-markers by default, since lists are used more often for semantics */
+ul,ol { list-style:none }
+
+/* avoid browser default inconsistent heading font-sizes */
+/* and pre/code too */
+h1,h2,h3,h4,h5,h6,pre,code { font-size:1em; }
+
+/* remove the inconsistent (among browsers) default ul,ol padding or margin  */
+/* the default spacing on headings does not match nor align with 
+   normal interline spacing at all, so let's get rid of it. */
+/* zero out the spacing around pre, form, body, html, p, blockquote as well */
+/* form elements are oddly inconsistent, and not quite CSS emulatable. */
+/*  nonetheless strip their margin and padding as well */
+ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
+{ margin:0; padding:0 }
+
+/* whoever thought blue linked image borders were a good idea? */
+a img,:link img,:visited img { border:none }
+
+/* de-italicize address */
+address { font-style:normal }
+
+body { margin:0; padding:0; }
+
+fieldset { border:0; }
+
+/* more varnish stripping as necessary... */

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/favicon.ico
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/favicon.ico?rev=375826&view=auto
==============================================================================
Binary file - no diff available.

Propchange: jakarta/tapestry/trunk/examples/TimeTracker/src/context/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: jakarta/tapestry/trunk/examples/TimeTracker/src/context/images/dateIcon.gif
URL: http://svn.apache.org/viewcvs/jakarta/tapestry/trunk/examples/TimeTracker/src/context/images/dateIcon.gif?rev=375826&view=auto
==============================================================================
Binary file - no diff available.

Propchange: jakarta/tapestry/trunk/examples/TimeTracker/src/context/images/dateIcon.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org