[jboss-svn-commits] JBoss PortletSwap SVN: r110 - in portlets/src/framework: . TapestryHelloWorld TapestryHelloWorld/context TapestryHelloWorld/context/META-INF TapestryHelloWorld/context/WEB-INF TapestryHelloWorld/context/WEB-INF/classes TapestryHelloWorld/context/WEB-INF/classes/de TapestryHelloWorld/context/WEB-INF/classes/de/pixotec TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld/pages TapestryHelloWorld/context/WEB-INF/lib TapestryHelloWorld/context/WEB-INF/src TapestryHelloWorld/context/WEB-INF/src/java TapestryHelloWorld/context/WEB-INF/src/java/de TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/pages! TapestryHelloWorld/context/target

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Jul 25 12:16:43 EDT 2006


Author: roy.russo at jboss.com
Date: 2006-07-25 12:13:18 -0400 (Tue, 25 Jul 2006)
New Revision: 110

Added:
   portlets/src/framework/TapestryHelloWorld/
   portlets/src/framework/TapestryHelloWorld/.classpath
   portlets/src/framework/TapestryHelloWorld/.project
   portlets/src/framework/TapestryHelloWorld/LICENSE.txt
   portlets/src/framework/TapestryHelloWorld/README.txt
   portlets/src/framework/TapestryHelloWorld/TapestryHelloWorld.war
   portlets/src/framework/TapestryHelloWorld/build.properties
   portlets/src/framework/TapestryHelloWorld/build.xml
   portlets/src/framework/TapestryHelloWorld/context/
   portlets/src/framework/TapestryHelloWorld/context/META-INF/
   portlets/src/framework/TapestryHelloWorld/context/META-INF/MANIFEST.MF
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.html
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.page
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.html
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.page
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld-object.xml
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld.application
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.html
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.page
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld/pages/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld/pages/View.class
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-codec-1.3.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-fileupload-1.0.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-lang-2.0.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-logging-1.0.4.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/hivemind-1.1-rc-1.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/hivemind-lib-1.1-rc-1.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/javassist-3.0.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/ognl-2.6.7.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/oro-2.0.8.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-4.0-beta-11.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-annotations-4.0-beta-11.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-contrib-4.0-beta-11.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-portlet-4.0-beta-11.jar
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet-instances.xml
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.tld
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.xml
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/pages/
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/pages/View.java
   portlets/src/framework/TapestryHelloWorld/context/WEB-INF/web.xml
   portlets/src/framework/TapestryHelloWorld/context/target/
   portlets/src/framework/TapestryHelloWorld/context/target/classes/
Log:



Property changes on: portlets/src/framework/TapestryHelloWorld
___________________________________________________________________
Name: svn:ignore
   + target


Added: portlets/src/framework/TapestryHelloWorld/.classpath
===================================================================
--- portlets/src/framework/TapestryHelloWorld/.classpath	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/.classpath	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="context/WEB-INF/src/java">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/commons-codec-1.3.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/commons-fileupload-1.0.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/commons-lang-2.0.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/commons-logging-1.0.4.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/hivemind-1.1-rc-1.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/hivemind-lib-1.1-rc-1.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/javassist-3.0.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/log4j-1.2.8.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/ognl-2.6.7.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/oro-2.0.8.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/tapestry-4.0-beta-11.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/tapestry-annotations-4.0-beta-11.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/tapestry-contrib-4.0-beta-11.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="context/WEB-INF/lib/tapestry-portlet-4.0-beta-11.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="lib" path="/opt/jboss-4.0.2/server/all/lib/javax.servlet.jar">
+		<attributes>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="context/WEB-INF/classes"/>
+</classpath>

Added: portlets/src/framework/TapestryHelloWorld/.project
===================================================================
--- portlets/src/framework/TapestryHelloWorld/.project	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/.project	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>hello-portlet</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: portlets/src/framework/TapestryHelloWorld/LICENSE.txt
===================================================================
--- portlets/src/framework/TapestryHelloWorld/LICENSE.txt	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/LICENSE.txt	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,176 @@
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/README.txt
===================================================================
--- portlets/src/framework/TapestryHelloWorld/README.txt	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/README.txt	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,36 @@
+Calendar Sheet Portlet
+======================
+This portlet shows the current month, year, week in year, day and name of day.
+
+It is prepared for JBoss Portal 4.0.4GA, compiled with ANT, JDK 1.4.2 under Eclipse 3.1M6 for Linux.
+It has been implemented with Tapestry 4.0 Beta 11.
+
+Feel free to improve!
+Please send changes to me.
+
+Greetings
+Ralf Eichinger
+
+Problems:
+The title of the portlet is not shown although set.
+Seems to be a bug in Tapestry...
+
+-------------------------------------------------------------------------
+
+This portlet is copyrighted by Ralf Eichinger.
+
+It has been written on 2005/10/22 for the Portlet Contest of JBoss Portlet Swap.
+
+Hereby I grant JBoss, Inc the right to distribute, display, and publicize
+my work in whole or in part, or in any form, without compensation.
+
+For license see LICENSE.txt.
+
+Ralf Eichinger
+Am Herzoggraben 5
+85435 Erding
+Germany
+ralf.eichinger at pixotec.de
+http://www.pixotec.de
+
+--------------------------------------------------------------------------

Added: portlets/src/framework/TapestryHelloWorld/TapestryHelloWorld.war
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/TapestryHelloWorld.war
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/build.properties
===================================================================
--- portlets/src/framework/TapestryHelloWorld/build.properties	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/build.properties	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,25 @@
+# This file is used to adapt the Ant build files to your particular environment.
+# Modify to match your environment and rename it to "build.properties"
+
+# Absolute path to the directory containing JBoss 4.0.2
+# The Servlet API is picked up from within JBoss.
+# This is also used to deploy the WAR.
+
+jboss.dir = /opt/jboss-4.0.2
+
+# The absolute path to a JAR containing the Servlet API.
+# Default is server/all/lib/javax.servlet.jar under JBoss
+
+# servlet.jar = /opt/jboss-4.0.2/server/all/lib/javax.servlet.jar
+
+# The absolute path to a directory into which the WAR files should be deployed.
+# Default is server/default/deploy under JBoss.
+
+# deploy.dir = /opt/jboss-4.0.2/server/default/deploy
+
+
+
+
+
+
+

Added: portlets/src/framework/TapestryHelloWorld/build.xml
===================================================================
--- portlets/src/framework/TapestryHelloWorld/build.xml	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/build.xml	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<project name="Tapestry HelloWorld Portlet" default="war">
+
+	<!-- Customize this to match the desired name. -->
+	
+	<property name="project.name" value="TapestryHelloWorld"/>
+	
+	<!-- Find out where other project's distributions are. -->
+	
+	<property file="build.properties"/>
+	
+	<!-- All derived files end up somewhere under target. -->
+	
+	<property name="target.dir" value="target"/>
+	
+	<property name="src.dir" value="context/WEB-INF/src/java"/>
+	<property name="context.dir" value="context"/>
+	<property name="conf.dir" value="context/WEB-INF/src/conf"/>
+			
+	<property name="classes.dir" value="${target.dir}/classes"/>
+	<property name="war.file" value="${project.name}.war"/>
+	
+	<!-- We expect JBoss 4.0.2 to be available. -->
+	
+	<property name="servlet.jar" value="${jboss.dir}/server/all/lib/javax.servlet.jar"/>
+
+		
+	<path id="project.class.path">
+		<fileset dir="${context.dir}/WEB-INF/lib" includes="*.jar"/>
+		<pathelement location="${servlet.jar}"/>
+	</path>
+	
+	<target name="clean" description="Deletes derived files.">
+		<delete dir="${target.dir}" quiet="true"/>
+	</target>
+	
+	<target name="compile" description="Compile Java classes.">
+		<mkdir dir="${classes.dir}"/>
+		<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="on"
+			classpathref="project.class.path" source="1.4" target="1.4"/>
+	</target>
+	
+	<target name="war" depends="compile"
+		description="Compile all classes and build the WAR.">
+		<war warfile="${war.file}" webxml="${context.dir}/WEB-INF/web.xml">
+		
+			<!-- Copy everything in the context directory to the root of the WAR, including
+			     everything in WEB-INF, except for the web.xml, which the <war> task
+			     strangely demands be seperate. -->
+			     
+			<fileset dir="${context.dir}">
+				<exclude name="WEB-INF/web.xml"/>
+	 		</fileset>
+	 		<fileset dir="." includes="*.txt" />
+	 		<fileset dir="." includes="*.properties" />
+	 		<fileset dir="." includes="*.xml" />
+	 		<fileset dir="." includes=".classpath" />
+	 		<fileset dir="." includes=".project" />
+	 		
+	 		<!-- Pick up compiled classes.  These go into WEB-INF/classes.  -->
+	 		
+			<classes dir="${classes.dir}"/>
+						
+			<!-- Pick up properties files and such from the Java source directory. -->
+<!--			
+			<classes dir="${src.dir}">
+				<exclude name="**/*.java"/>
+				<exclude name="**/package.html"/>
+			</classes>
+			
+			<lib dir="../ext-lib" includes="*.jar"/>
+-->
+		</war>
+	</target>
+	
+<!--
+	<target name="deploy" depends="war"
+		description="Deploy the WAR into JBoss.">
+-->
+
+		<!-- You can deploy elsewhere by setting deploy.dir in the build.properties file. -->
+<!--
+
+		<property name="deploy.dir" value="${jboss.dir}/server/default/deploy"/>
+		
+		<copy file="${war.file}" todir="${deploy.dir}"/>
+	</target>
+-->
+</project>

Added: portlets/src/framework/TapestryHelloWorld/context/META-INF/MANIFEST.MF
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/META-INF/MANIFEST.MF	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/META-INF/MANIFEST.MF	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,4 @@
+Manifest-Version: 1.0
+Ant-Version: Apache Ant 1.6.2
+Created-By: 1.4.2_09-b05 (Sun Microsystems Inc.)
+

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.html
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.html	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.html	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,3 @@
+There are no properties to edit, yet.
+
+<p><a jwcid="goView">go to View</a></p>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.page
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.page	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Edit.page	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE page-specification PUBLIC 
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
+<page-specification>
+    <component id="goView" type="PageLink">
+        <binding name="page" value="literal:View"/>
+    </component>
+</page-specification>

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.html
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.html	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.html	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,6 @@
+<p>This is a Tapestry 4.0 (beta11), JDK 1.4.2 portlet (prepared for JBoss 4.0.2).<br>
+The portlet is showing the calendar page for the actual day.</p>
+
+<p>Written on 22.10.2005 by Ralf Eichinger (<a href="http://www.pixotec.de" target="_blank">pixotec Internet Solutions</a>).</p>
+
+<p><a jwcid="goView">go to View</a></p>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.page
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.page	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/Help.page	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE page-specification PUBLIC 
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
+<page-specification>
+    <component id="goView" type="PageLink">
+        <binding name="page" value="literal:View"/>
+    </component>
+</page-specification>

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld-object.xml
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld-object.xml	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld-object.xml	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deployments>
+    <deployment>
+        <if-exists>overwrite</if-exists>
+        <parent-ref>default</parent-ref>
+        <page>
+            <page-name>Tapestry HelloWorld</page-name>
+            <window>
+                <window-name>TapestryHelloWorldWindow</window-name>
+                <instance-ref>TapestryHelloWorldInstance</instance-ref>
+                <region>center</region>
+                <height>0</height>
+            </window>
+        </page>
+    </deployment>
+</deployments>

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld.application
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld.application	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/TapestryHelloWorld.application	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+
+<!DOCTYPE application PUBLIC 
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
+
+<application>
+  
+  <meta key="org.apache.tapestry.page-class-packages" value="de.pixotec.portlets.helloworld.pages"/>
+  
+</application>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.html
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.html	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.html	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,12 @@
+<table><tr><td>
+<div style="border: solid 1px #000000; padding: 10px; text-align: center;">
+<p><span jwcid="monthName">January</span> <span jwcid="year">2005</span><br>
+  Week <span jwcid="weekInYear">2</span></p>
+
+<h1><span jwcid="day">13</span></h1>
+
+<p><span jwcid="dayName">Monday</span></p>
+</div>
+
+<p><a jwcid="goEdit">Edit</a> | <a jwcid="goHelp">Help</a></p>
+</td></tr></table>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.page
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.page	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/View.page	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE page-specification PUBLIC 
+  "-//Apache Software Foundation//Tapestry Specification 4.0//EN" 
+  "http://jakarta.apache.org/tapestry/dtd/Tapestry_4_0.dtd">
+<page-specification>
+  <component id="day" type="Insert">
+    <binding name="value" value="day"/>
+  </component>
+  <component id="dayName" type="Insert">
+    <binding name="value" value="dayName"/>
+  </component>
+  <component id="monthName" type="Insert">
+    <binding name="value" value="monthName"/>
+  </component>
+  <component id="year" type="Insert">
+    <binding name="value" value="year"/>
+  </component>
+  <component id="weekInYear" type="Insert">
+    <binding name="value" value="weekInYear"/>
+  </component>
+
+  <component id="goEdit" type="PageLink">
+    <binding name="page" value="literal:Edit"/>
+  </component>
+  <component id="goHelp" type="PageLink">
+    <binding name="page" value="literal:Help"/>
+  </component>
+</page-specification>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld/pages/View.class
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/classes/de/pixotec/portlets/helloworld/pages/View.class
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-codec-1.3.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-codec-1.3.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-fileupload-1.0.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-fileupload-1.0.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-lang-2.0.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-lang-2.0.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-logging-1.0.4.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/commons-logging-1.0.4.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/hivemind-1.1-rc-1.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/hivemind-1.1-rc-1.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/hivemind-lib-1.1-rc-1.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/hivemind-lib-1.1-rc-1.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/javassist-3.0.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/javassist-3.0.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/ognl-2.6.7.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/ognl-2.6.7.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/oro-2.0.8.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/oro-2.0.8.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-4.0-beta-11.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-4.0-beta-11.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-annotations-4.0-beta-11.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-annotations-4.0-beta-11.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-contrib-4.0-beta-11.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-contrib-4.0-beta-11.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-portlet-4.0-beta-11.jar
===================================================================
(Binary files differ)


Property changes on: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/lib/tapestry-portlet-4.0-beta-11.jar
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet-instances.xml
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet-instances.xml	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet-instances.xml	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,9 @@
+<?xml version="1.0" standalone="yes"?>
+<deployments>
+   <deployment>
+      <instance>
+         <instance-id>TapestryHelloWorldInstance</instance-id>
+         <portlet-ref>TapestryHelloWorld</portlet-ref>
+      </instance>
+   </deployment>
+</deployments>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.tld
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.tld	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.tld	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
+<taglib>
+
+   <tlib-version>1.0</tlib-version>
+   <jsp-version>1.2</jsp-version>
+   <short-name>portlet</short-name>
+
+   <uri>http://java.sun.com/portlet</uri>
+
+   <tag>
+
+      <name>param</name>
+      <tag-class>org.jboss.portal.portlet.taglib.URLParameterTag</tag-class>
+      <body-content>empty</body-content>
+
+      <attribute>
+         <name>name</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>value</name>
+         <required>true</required>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+
+   </tag>
+   <tag>
+
+      <name>defineObjects</name>
+      <tag-class>org.jboss.portal.portlet.taglib.DefineObjectsTag</tag-class>
+      <tei-class>org.jboss.portal.portlet.taglib.DefineObjectsTagTEI</tei-class>
+      <body-content>empty</body-content>
+
+   </tag>
+   <tag>
+
+      <name>namespace</name>
+      <tag-class>org.jboss.portal.portlet.taglib.NamespaceTag</tag-class>
+      <body-content>empty</body-content>
+
+   </tag>
+   <tag>
+
+      <name>renderURL</name>
+      <tag-class>org.jboss.portal.portlet.taglib.RenderURLTag</tag-class>
+      <tei-class>org.jboss.portal.portlet.taglib.GenerateURLTagTEI</tei-class>
+      <body-content>JSP</body-content>
+
+      <attribute>
+         <name>portletMode</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>secure</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>var</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>windowState</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+
+   </tag>
+   <tag>
+
+      <name>actionURL</name>
+      <tag-class>org.jboss.portal.portlet.taglib.ActionURLTag</tag-class>
+      <tei-class>org.jboss.portal.portlet.taglib.GenerateURLTagTEI</tei-class>
+      <body-content>JSP</body-content>
+
+      <attribute>
+         <name>portletMode</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>secure</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>var</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+      <attribute>
+         <name>windowState</name>
+         <rtexprvalue>true</rtexprvalue>
+
+      </attribute>
+
+   </tag>
+
+</taglib>

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.xml
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.xml	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/portlet.xml	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<portlet-app version="1.0"
+             xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd"
+             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+             xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
+   <portlet>
+      <description>Tapestry 4.0 Hello World Portlet</description>
+      <portlet-name>TapestryHelloWorld</portlet-name>
+      <display-name>My Tapestry Hello World Portlet</display-name>
+      <portlet-class>org.apache.tapestry.portlet.ApplicationPortlet</portlet-class>
+      <expiration-cache>-1</expiration-cache>
+      <supports>
+         <mime-type>text/html</mime-type>
+         <portlet-mode>view</portlet-mode>
+         <portlet-mode>help</portlet-mode>
+         <portlet-mode>edit</portlet-mode>
+      </supports>
+      <supported-locale>en</supported-locale>
+      <!-- <resource-bundle>Resource</resource-bundle> -->
+      <portlet-info>
+         <title>Tapestry 4.0 Hello World Portlet</title>
+         <short-title>tapestry-portlet</short-title>
+         <keywords></keywords>
+      </portlet-info>
+   </portlet>
+</portlet-app>
\ No newline at end of file

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/pages/View.java
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/pages/View.java	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/src/java/de/pixotec/portlets/helloworld/pages/View.java	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,39 @@
+package de.pixotec.portlets.helloworld.pages;
+
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+import org.apache.tapestry.event.PageEvent;
+import org.apache.tapestry.html.BasePage;
+
+/**
+ * @author ralf
+ *
+ */
+public class View extends BasePage {
+
+	public void pageBeginRender(PageEvent event) {
+		
+	}
+	
+	public String getDay() {
+		SimpleDateFormat formatter = new SimpleDateFormat("dd");
+		return formatter.format(new Date());
+	}
+	public String getDayName() {
+		SimpleDateFormat formatter = new SimpleDateFormat("EEEEE");
+		return formatter.format(new Date());
+	}
+	public String getMonthName() {
+		SimpleDateFormat formatter = new SimpleDateFormat("MMMMM");
+		return formatter.format(new Date());
+	}
+	public String getWeekInYear() {
+		SimpleDateFormat formatter = new SimpleDateFormat("w");
+		return formatter.format(new Date());
+	}
+	public String getYear() {
+		SimpleDateFormat formatter = new SimpleDateFormat("yyyy");
+		return formatter.format(new Date());
+	}
+}

Added: portlets/src/framework/TapestryHelloWorld/context/WEB-INF/web.xml
===================================================================
--- portlets/src/framework/TapestryHelloWorld/context/WEB-INF/web.xml	2006-07-25 15:05:34 UTC (rev 109)
+++ portlets/src/framework/TapestryHelloWorld/context/WEB-INF/web.xml	2006-07-25 16:13:18 UTC (rev 110)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<!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>app</display-name>
+  <servlet>
+    <servlet-name>ApplicationServlet</servlet-name>
+    <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
+  </servlet>
+  <servlet-mapping>
+    <servlet-name>ApplicationServlet</servlet-name>
+    <url-pattern>/app</url-pattern>
+  </servlet-mapping>
+</web-app>
\ No newline at end of file




More information about the jboss-svn-commits mailing list