tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r946207 - in /websites/production/tapestry/content: cache/main.pageCache getting-started.data/newapp_Index.png getting-started.html
Date Fri, 03 Apr 2015 16:19:35 GMT
Author: buildbot
Date: Fri Apr  3 16:19:34 2015
New Revision: 946207

Log:
Production update by buildbot for tapestry

Added:
    websites/production/tapestry/content/getting-started.data/newapp_Index.png   (with props)
Modified:
    websites/production/tapestry/content/cache/main.pageCache
    websites/production/tapestry/content/getting-started.html

Modified: websites/production/tapestry/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.

Added: websites/production/tapestry/content/getting-started.data/newapp_Index.png
==============================================================================
Binary file - no diff available.

Propchange: websites/production/tapestry/content/getting-started.data/newapp_Index.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Modified: websites/production/tapestry/content/getting-started.html
==============================================================================
--- websites/production/tapestry/content/getting-started.html (original)
+++ websites/production/tapestry/content/getting-started.html Fri Apr  3 16:19:34 2015
@@ -101,7 +101,7 @@
                     <span class="icon icon-page" title="Page">Page:</span>  
         </div>
 
             <div class="details">
-                            <a shape="rect" href="getting-started.html">Getting Started</a>
+                            <a shape="rect" href="principles.html">Principles</a>
                     
                 
                             </div>
@@ -110,44 +110,57 @@
                     <span class="icon icon-page" title="Page">Page:</span>  
         </div>
 
             <div class="details">
-                            <a shape="rect" href="principles.html">Principles</a>
+                            <a shape="rect" href="getting-started.html">Getting Started</a>
                     
                 
                             </div>
         </li></ul>
 </div><p>Getting started with Tapestry is easy, and you have lots of ways to
begin: watch a video, browse the source code of a working demo app, create a skeleton app
using Maven, or step through the tutorial.</p><h2 id="GettingStarted-Watchashortvideo">Watch
a short video</h2><p>For a fast-paced introduction, watch Mark W. Shead's <a
shape="rect" class="external-link" href="http://blog.markwshead.com/900/tapestry-5-10-minute-demo/"
>10 Minute Demo</a>. This video shows how to set up a simple Tapestry application,
complete with form validation, Hibernate-based persistence, and Ajax. The video provides a
preview of the development speed and productivity that experienced Tapestry users enjoy.</p><h2
id="GettingStarted-Playwithaworkingdemoapp">Play with a working demo app</h2><p>You
can also play with Tapestry via our live demonstration applications. To start, have a look
at the <a shape="rect" class="external-link" href="http://tapestry.zones.apache.org:8180/tapestry5-hotel-booking/">
 Hotel Booking Demo</a>. The <a shape="rect" class="external-link" href="http://github.com/ccordenier/tapestry5-hotel-booking"
>source code</a> is provided so you can download and play with it.</p><h2
id="GettingStarted-CreateyourfirstTapestryproject">Create your first Tapestry project</h2><p>The
easiest way to start a new app is to use <a shape="rect" class="external-link" href="http://maven.apache.org">Apache
Maven</a> to create your initial project; Maven can use an <em>archetype</em>
(a kind of project template) to create a bare-bones Tapestry application for you.</p><p>Once
you have Maven installed, execute the following command:</p><div class="preformatted
panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
 <pre>mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org</pre>
-</div></div><p><span style="line-height: 1.4285715;">Maven will prompt
you for the archetype to create ("Tapestry 5 Quickstart Project") and the exact version number
("5.3.7", at the time of writing). It also asks you for a group id, an artifact id, and a
version number. You can see this in the following transcript:</span></p><div
class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
-<pre>$ mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org
+</div></div><p><span style="line-height: 1.4285715;">Maven will prompt
you for the archetype to create ("Tapestry 5 Quickstart Project") and the exact version number
("5.4.-beta-28", at the time of writing). It also asks you for a group id, an artifact id,
and a version number. </span></p>    <div class="aui-message warning shadowed
information-macro">
+                            <span class="aui-icon icon-warning">Icon</span>
+                <div class="message-content">
+                            <p>Currently, it is necessary to use a staging URI to get
the 5.4 beta archetype. This will change after the final Tapestry 5.4 release.</p>
+                    </div>
+    </div>
+<p><span style="line-height: 1.4285715;"><br clear="none"></span></p><p><span
style="line-height: 1.4285715;">You can see this in the following transcript:</span></p><div
class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
+<pre>$ mvn archetype:generate -DarchetypeCatalog=https://repository.apache.org/content/repositories/staging
 [INFO] Scanning for projects...
 [INFO]
 [INFO] ------------------------------------------------------------------------
 [INFO] Building Maven Stub Project (No POM) 1
 [INFO] ------------------------------------------------------------------------
 [INFO]
-[INFO] &gt;&gt;&gt; maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom
&gt;&gt;&gt;
+[INFO] &gt;&gt;&gt; maven-archetype-plugin:2.3:generate (default-cli) &gt;
generate-sources @ standalone-pom &gt;&gt;&gt;
 [INFO]
-[INFO] &lt;&lt;&lt; maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom
&lt;&lt;&lt;
+[INFO] &lt;&lt;&lt; maven-archetype-plugin:2.3:generate (default-cli) &lt;
generate-sources @ standalone-pom &lt;&lt;&lt;
 [INFO]
-[INFO] --- maven-archetype-plugin:2.1:generate (default-cli) @ standalone-pom ---
+[INFO] --- maven-archetype-plugin:2.3:generate (default-cli) @ standalone-pom ---
 [INFO] Generating project in Interactive mode
 [INFO] No archetype defined. Using maven-archetype-quickstart (org.apache.maven.archetypes:maven-archetype-quickstart:1.0)
 Choose archetype:
-1: http://tapestry.apache.org -&gt; org.apache.tapestry:quickstart (Tapestry 5 Quickstart
Project)
-2: http://tapestry.apache.org -&gt; org.apache.tapestry:tapestry-archetype (Tapestry
4.1.6 Archetype)
-Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains):
: 1
-Choose version:
-1: 5.0.19
-2: 5.1.0.5
-3: 5.2.6
-4: 5.3.7
-Choose a number: 4: 4
-Downloading: http://tapestry.apache.org/org/apache/tapestry/quickstart/5.3.7/quickstart-5.3.7.jar
-Downloading: http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.3.7/quickstart-5.3.7.jar
-Downloaded: http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.3.7/quickstart-5.3.7.jar
(64 KB at 69.3 KB/sec)
-Downloading: http://tapestry.apache.org/org/apache/tapestry/quickstart/5.3.7/quickstart-5.3.7.pom
-Downloading: http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.3.7/quickstart-5.3.7.pom
-Downloaded: http://repo1.maven.org/maven2/org/apache/tapestry/quickstart/5.3.7/quickstart-5.3.7.pom
(400 B at 1.0 KB/sec)
+...
+5: https://repository.apache.org/content/repositories/staging -&gt; org.apache.tapestry:quickstart
(-)
+...
+Choose a number or apply filter (format: [groupId:]artifactId, case sensitive contains):
105: 5
+Choose org.apache.tapestry:quickstart version:
+1: 5.3
+2: 5.3.1
+3: 5.3.2
+4: 5.3.3-rc-1
+5: 5.3.3
+6: 5.3.4
+7: 5.3.5
+8: 5.3.6
+9: 5.3.7
+10: 5.3.8
+11: 5.4-beta-3
+12: 5.4-beta-6
+13: 5.4-beta-22
+14: 5.4-beta-26
+15: 5.4-beta-27
+16: 5.4-beta-28
+Choose a number: 16: 16
 Define value for property 'groupId': : com.example
 Define value for property 'artifactId': : newapp
 Define value for property 'version':  1.0-SNAPSHOT: :
@@ -159,7 +172,7 @@ version: 1.0-SNAPSHOT
 package: com.example.newapp
  Y: :
 [INFO] ----------------------------------------------------------------------------
-[INFO] Using following parameters for creating project from Archetype: quickstart:5.3.7
+[INFO] Using following parameters for creating project from Archetype: quickstart:5.4-beta-28
 [INFO] ----------------------------------------------------------------------------
 [INFO] Parameter: groupId, Value: com.example
 [INFO] Parameter: artifactId, Value: newapp
@@ -170,98 +183,116 @@ package: com.example.newapp
 [INFO] Parameter: version, Value: 1.0-SNAPSHOT
 [INFO] Parameter: groupId, Value: com.example
 [INFO] Parameter: artifactId, Value: newapp
-[WARNING] Don't override file /Users/hlship/workspaces/github/newapp/src/test/java
-[WARNING] Don't override file /Users/hlship/workspaces/github/newapp/src/main/webapp
-[WARNING] Don't override file /Users/hlship/workspaces/github/newapp/src/main/resources/com/example/newapp
-[WARNING] Don't override file /Users/hlship/workspaces/github/newapp/src/test/resources
-[WARNING] Don't override file /Users/hlship/workspaces/github/newapp/src/test/conf
-[WARNING] Don't override file /Users/hlship/workspaces/github/newapp/src/site
-[INFO] project created from Archetype in dir: /Users/hlship/workspaces/github/newapp
+[WARNING] Don't override file /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp/src/test/java
+[WARNING] Don't override file /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp/src/main/webapp
+[WARNING] Don't override file /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp/src/main/resources/com/example/newapp
+[WARNING] Don't override file /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp/src/test/resources
+[WARNING] Don't override file /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp/src/test/conf
+[WARNING] Don't override file /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp/src/site
+[INFO] project created from Archetype in dir: /Users/hlship/workspaces/tapestry/tapestry-doc-examples/newapp
 [INFO] ------------------------------------------------------------------------
 [INFO] BUILD SUCCESS
 [INFO] ------------------------------------------------------------------------
-[INFO] Total time: 31.062s
-[INFO] Finished at: Fri Mar 1 11:11:14 PST 2013
-[INFO] Final Memory: 7M/81M
+[INFO] Total time: 32.094 s
+[INFO] Finished at: 2015-04-03T08:10:26-07:00
+[INFO] Final Memory: 15M/216M
 [INFO] ------------------------------------------------------------------------
-</pre>
+~/workspaces/tapestry/tapestry-doc-examples
+$</pre>
 </div></div><p>Maven will (after performing a number of one-time downloads)
create a skeleton project ready to run. Because we specified an artifactId of "newapp", the
project is created in the <code>newapp</code> directory. (Note: if you get "Unable
to get resource" warnings at this stage, you may be behind a firewall which blocks outbound
HTTP requests to Maven repositories.)</p><p>To run the skeleton application, change
to the <code>newapp</code> directory and execute:</p><div class="preformatted
panel" style="border-width: 1px;"><div class="preformattedContent panelContent">
-<pre>mvn jetty:run
+<pre>$ mvn jetty:run
+[INFO] Scanning for projects...
+[INFO]
+[INFO] ------------------------------------------------------------------------
+[INFO] Building newapp Tapestry 5 Application 1.0-SNAPSHOT
+[INFO] ------------------------------------------------------------------------
+
+...
+
+Application 'app' (version 1.0-SNAPSHOT-DEV) startup time: 329 ms to build IoC Registry,
919 ms overall.
+ ______                  __             ____
+/_  __/__ ____  ___ ___ / /_______ __  / __/
+ / / / _ `/ _ \/ -_|_-&lt;/ __/ __/ // / /__ \
+/_/  \_,_/ .__/\__/___/\__/_/  \_, / /____/
+        /_/                   /___/  5.4-beta-28 (development mode)
+
+[INFO] Started SelectChannelConnector@0.0.0.0:8080
+[INFO] Started Jetty Server
+
 </pre>
-</div></div><p>After some more one-time downloads you can open your browser
to <a shape="rect" class="external-link" href="http://localhost:8080/newapp" >http://localhost:8080/newapp</a>
to see the application running:</p><p><img class="confluence-embedded-image
image-center" width="700" src="getting-started.data/getting-started.png" data-image-src="/confluence/download/attachments/23334911/getting-started.png?version=1&amp;modificationDate=1321971947000&amp;api=v2"></p><p>The
application consists of three pages sharing a common look and feel. The initial page, Index,
allows you to perform some basic operations.</p><p>You can also load the newly-created
project it into any IDE and start coding. See the next section on where to find the different
components of the application.</p><h2 id="GettingStarted-Exploringthegeneratedproject">Exploring
the generated project</h2><p>The archetype creates the following files:</p><div
class="preformatted panel" style="border-width: 1px;"><div class
 ="preformattedContent panelContent">
-<pre>newapp
+</div></div><p>After some more one-time downloads you can open your browser
to <a shape="rect" class="external-link" href="http://localhost:8080/newapp" >http://localhost:8080/newapp</a>
to see the application running:</p><p><img class="confluence-embedded-image
confluence-content-image-border image-center" height="488" width="500" src="getting-started.data/newapp_Index.png"
data-image-src="/confluence/download/attachments/23334911/newapp_Index.png?version=1&amp;modificationDate=1428074330183&amp;api=v2"></p><p>The
application consists of three pages sharing a common look and feel. The initial page, Index,
allows you to perform some basic operations.</p><p>You can also load the newly-created
project it into any IDE and start coding. See the next section on where to find the different
components of the application.</p><h2 id="GettingStarted-Exploringthegeneratedproject">Exploring
the generated project</h2><p>The archetype creates the following files:</p><div
class="preformatted panel
 " style="border-width: 1px;"><div class="preformattedContent panelContent">
+<pre>newapp/
 &#9500;&#9472;&#9472; build.gradle
 &#9500;&#9472;&#9472; gradle
-&#9474;&#160;&#160; &#9492;&#9472;&#9472; wrapper
-&#9474;&#160;&#160;     &#9500;&#9472;&#9472; gradle-wrapper.jar
-&#9474;&#160;&#160;     &#9492;&#9472;&#9472; gradle-wrapper.properties
+&#9474;   &#9492;&#9472;&#9472; wrapper
+&#9474;       &#9500;&#9472;&#9472; gradle-wrapper.jar
+&#9474;       &#9492;&#9472;&#9472; gradle-wrapper.properties
 &#9500;&#9472;&#9472; gradlew
 &#9500;&#9472;&#9472; gradlew.bat
 &#9500;&#9472;&#9472; pom.xml
 &#9492;&#9472;&#9472; src
     &#9500;&#9472;&#9472; main
-    &#9474;&#160;&#160; &#9500;&#9472;&#9472; java
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9492;&#9472;&#9472;
com
-    &#9474;&#160;&#160; &#9474;&#160;&#160;     &#9492;&#9472;&#9472;
example
-    &#9474;&#160;&#160; &#9474;&#160;&#160;         &#9492;&#9472;&#9472;
newapp
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9500;&#9472;&#9472;
components
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9474;&#160;&#160;
&#9492;&#9472;&#9472; Layout.java
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9500;&#9472;&#9472;
pages
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9474;&#160;&#160;
&#9500;&#9472;&#9472; About.java
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9474;&#160;&#160;
&#9500;&#9472;&#9472; Contact.java
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9474;&#160;&#160;
&#9492;&#9472;&#9472; Index.java
-    &#9474;&#160;&#160; &#9474;&#160;&#160;             &#9492;&#9472;&#9472;
services
-    &#9474;&#160;&#160; &#9474;&#160;&#160;                 &#9500;&#9472;&#9472;
AppModule.java
-    &#9474;&#160;&#160; &#9474;&#160;&#160;                 &#9500;&#9472;&#9472;
DevelopmentModule.java
-    &#9474;&#160;&#160; &#9474;&#160;&#160;                 &#9492;&#9472;&#9472;
QaModule.java
-    &#9474;&#160;&#160; &#9500;&#9472;&#9472; resources
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9500;&#9472;&#9472;
com
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
&#9492;&#9472;&#9472; example
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
    &#9492;&#9472;&#9472; newapp
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
        &#9500;&#9472;&#9472; components
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
        &#9474;&#160;&#160; &#9492;&#9472;&#9472; Layout.tml
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
        &#9492;&#9472;&#9472; pages
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
            &#9500;&#9472;&#9472; About.tml
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
            &#9500;&#9472;&#9472; Contact.tml
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
            &#9500;&#9472;&#9472; Index.properties
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9474;&#160;&#160;
            &#9492;&#9472;&#9472; Index.tml
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9492;&#9472;&#9472;
log4j.properties
-    &#9474;&#160;&#160; &#9492;&#9472;&#9472; webapp
-    &#9474;&#160;&#160;     &#9500;&#9472;&#9472; WEB-INF
-    &#9474;&#160;&#160;     &#9474;&#160;&#160; &#9500;&#9472;&#9472;
app.properties
-    &#9474;&#160;&#160;     &#9474;&#160;&#160; &#9492;&#9472;&#9472;
web.xml
-    &#9474;&#160;&#160;     &#9500;&#9472;&#9472; favicon.ico
-    &#9474;&#160;&#160;     &#9492;&#9472;&#9472; layout
-    &#9474;&#160;&#160;         &#9500;&#9472;&#9472; images
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img01.jpg
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img03.jpg
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img04.jpg
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img08.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img09.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img10.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img11.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img12.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img13.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img14.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img18.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9500;&#9472;&#9472;
img19.gif
-    &#9474;&#160;&#160;         &#9474;&#160;&#160; &#9492;&#9472;&#9472;
img20.gif
-    &#9474;&#160;&#160;         &#9500;&#9472;&#9472; layout.css
-    &#9474;&#160;&#160;         &#9492;&#9472;&#9472; license.txt
+    &#9474;   &#9500;&#9472;&#9472; java
+    &#9474;   &#9474;   &#9492;&#9472;&#9472; com
+    &#9474;   &#9474;       &#9492;&#9472;&#9472; example
+    &#9474;   &#9474;           &#9492;&#9472;&#9472; newapp
+    &#9474;   &#9474;               &#9500;&#9472;&#9472; components
+    &#9474;   &#9474;               &#9474;   &#9492;&#9472;&#9472;
Layout.java
+    &#9474;   &#9474;               &#9500;&#9472;&#9472; pages
+    &#9474;   &#9474;               &#9474;   &#9500;&#9472;&#9472;
About.java
+    &#9474;   &#9474;               &#9474;   &#9500;&#9472;&#9472;
Contact.java
+    &#9474;   &#9474;               &#9474;   &#9500;&#9472;&#9472;
Error404.java
+    &#9474;   &#9474;               &#9474;   &#9500;&#9472;&#9472;
Index.java
+    &#9474;   &#9474;               &#9474;   &#9492;&#9472;&#9472;
Login.java
+    &#9474;   &#9474;               &#9492;&#9472;&#9472; services
+    &#9474;   &#9474;                   &#9500;&#9472;&#9472; AppModule.java
+    &#9474;   &#9474;                   &#9500;&#9472;&#9472; DevelopmentModule.java
+    &#9474;   &#9474;                   &#9492;&#9472;&#9472; QaModule.java
+    &#9474;   &#9500;&#9472;&#9472; resources
+    &#9474;   &#9474;   &#9500;&#9472;&#9472; com
+    &#9474;   &#9474;   &#9474;   &#9492;&#9472;&#9472; example
+    &#9474;   &#9474;   &#9474;       &#9492;&#9472;&#9472; newapp
+    &#9474;   &#9474;   &#9474;           &#9500;&#9472;&#9472; components
+    &#9474;   &#9474;   &#9474;           &#9474;   &#9492;&#9472;&#9472;
Layout.tml
+    &#9474;   &#9474;   &#9474;           &#9500;&#9472;&#9472; logback.xml
+    &#9474;   &#9474;   &#9474;           &#9492;&#9472;&#9472; pages
+    &#9474;   &#9474;   &#9474;               &#9500;&#9472;&#9472;
About.tml
+    &#9474;   &#9474;   &#9474;               &#9500;&#9472;&#9472;
Contact.tml
+    &#9474;   &#9474;   &#9474;               &#9500;&#9472;&#9472;
Error404.tml
+    &#9474;   &#9474;   &#9474;               &#9500;&#9472;&#9472;
Index.properties
+    &#9474;   &#9474;   &#9474;               &#9500;&#9472;&#9472;
Index.tml
+    &#9474;   &#9474;   &#9474;               &#9492;&#9472;&#9472;
Login.tml
+    &#9474;   &#9474;   &#9492;&#9472;&#9472; log4j.properties
+    &#9474;   &#9492;&#9472;&#9472; webapp
+    &#9474;       &#9500;&#9472;&#9472; WEB-INF
+    &#9474;       &#9474;   &#9500;&#9472;&#9472; app.properties
+    &#9474;       &#9474;   &#9492;&#9472;&#9472; web.xml
+    &#9474;       &#9500;&#9472;&#9472; favicon.ico
+    &#9474;       &#9500;&#9472;&#9472; images
+    &#9474;       &#9474;   &#9492;&#9472;&#9472; tapestry.png
+    &#9474;       &#9492;&#9472;&#9472; mybootstrap
+    &#9474;           &#9500;&#9472;&#9472; css
+    &#9474;           &#9474;   &#9500;&#9472;&#9472; bootstrap-responsive.css
+    &#9474;           &#9474;   &#9492;&#9472;&#9472; bootstrap.css
+    &#9474;           &#9500;&#9472;&#9472; img
+    &#9474;           &#9474;   &#9500;&#9472;&#9472; glyphicons-halflings-white.png
+    &#9474;           &#9474;   &#9492;&#9472;&#9472; glyphicons-halflings.png
+    &#9474;           &#9492;&#9472;&#9472; js
+    &#9474;               &#9492;&#9472;&#9472; bootstrap.js
     &#9500;&#9472;&#9472; site
-    &#9474;&#160;&#160; &#9500;&#9472;&#9472; apt
-    &#9474;&#160;&#160; &#9474;&#160;&#160; &#9492;&#9472;&#9472;
index.apt
-    &#9474;&#160;&#160; &#9492;&#9472;&#9472; site.xml
+    &#9474;   &#9500;&#9472;&#9472; apt
+    &#9474;   &#9474;   &#9492;&#9472;&#9472; index.apt
+    &#9474;   &#9492;&#9472;&#9472; site.xml
     &#9492;&#9472;&#9472; test
         &#9500;&#9472;&#9472; conf
-        &#9474;&#160;&#160; &#9500;&#9472;&#9472; testng.xml
-        &#9474;&#160;&#160; &#9492;&#9472;&#9472; webdefault.xml
+        &#9474;   &#9500;&#9472;&#9472; testng.xml
+        &#9474;   &#9492;&#9472;&#9472; webdefault.xml
         &#9500;&#9472;&#9472; java
-        &#9474;&#160;&#160; &#9492;&#9472;&#9472; PLACEHOLDER
+        &#9474;   &#9492;&#9472;&#9472; PLACEHOLDER
         &#9492;&#9472;&#9472; resources
             &#9492;&#9472;&#9472; PLACEHOLDER
-</pre>
-</div></div><p>A Tapestry application is composed of pages, each page consisting
of one template file and one Java class.</p><p>Tapestry page templates have the
.tml extension and are found within src/main/<strong>resources</strong>/ under
the app's <strong>pages</strong> package (src/main/resources/com/example/newapp/pages,
in this example). Templates are essentially HTML with some special markup to reference properties
in the corresponding Java class and to reference ready-made or custom components.</p><p>Similarly,
Tapestry page classes are found in within the src/main/<strong>java</strong> under
the app's <em><strong>pages</strong></em> package (src/main/java/com/example/newapp/pages,
in this example) and their name matches their template name (Index.tml -&gt; Index.java).</p><p>In
the skeleton project, most of the HTML is not found on the pages themselves but in a Layout
component which acts as a global template for the whole site. Java classes for components
live in src/main/<
 strong>java</strong>/com/example/newapp/<strong>components</strong>
and component templates go in src/main/<strong>resources</strong>/com/example/newapp/<strong>components</strong>.</p><h2
id="GettingStarted-What'snext?">What's next?</h2><p>To deepen your understanding,
step through the <a shape="rect" href="tapestry-tutorial.html">Tapestry Tutorial</a>,
which goes into much more detail about setting up your project as well as loading it into
Eclipse... then continues on to teach you more about Tapestry.</p><p>Be sure to
read about the core <a shape="rect" href="principles.html">Tapestry Principles</a>,
and browse the extensive <a shape="rect" href="user-guide.html">User Guide</a>.</p><h2
id="GettingStarted-ObtainHelp">Obtain Help</h2><p>Tapestry has an active user
mailing list on which you can find a lot of valuable support, commonly within just a few minutes.
You can subscribe by sending e-mail to <a shape="rect" class="external-link" href="mailto:users-subscribe@tapestry.apache.o
 rg" >users-subscribe@tapestry.apache.org</a> or look for an answer in the <a
shape="rect" class="external-link" href="http://markmail.org/search/list:org.apache.tapestry.users"
>archives</a>. <a shape="rect" href="mailing-lists.html">More Options</a>...</p><p>Having
trouble? Try our <a shape="rect" href="frequently-asked-questions.html">Frequently Asked
Questions</a>.</p><hr><p>&#160;</p><p>&#160;</p></div>
+30 directories, 39 files</pre>
+</div></div><p>A Tapestry application is composed of pages, each page consisting
of one template file and one Java class.</p><p>Tapestry page templates have the
.tml extension and are found within src/main/<strong>resources</strong>/ under
the app's <strong>pages</strong> package (src/main/resources/com/example/newapp/pages,
in this example). Templates are essentially HTML with some special markup to reference properties
in the corresponding Java class and to reference ready-made or custom components.</p><p>Similarly,
Tapestry page classes are found in within the src/main/<strong>java</strong> under
the app's <em><strong>pages</strong></em> package (src/main/java/com/example/newapp/pages,
in this example) and their name matches their template name (Index.tml -&gt; Index.java).</p><p>In
the skeleton project, most of the HTML is not found on the pages themselves but in a Layout
component which acts as a global template for the whole site. Java classes for components
live in src/main/<
 strong>java</strong>/com/example/newapp/<strong>components</strong>
and component templates go in src/main/<strong>resources</strong>/com/example/newapp/<strong>components</strong>.</p><p>The
archetype includes a few optional extras:</p><ul><li>The bundled version
of the <a shape="rect" class="external-link" href="http://getbootstrap.com/" >Bootstrap
CSS library</a> has a per-project override. You can see the files in src/webapp/context/mybootstrap,
and the overrides to enable that in AppModule.java.</li><li>By default, Tapestry
users <a shape="rect" class="external-link" href="http://prototypejs.org/" >Prototype</a>
as its client-side library, the archetype overrides this to <a shape="rect" class="external-link"
href="https://jquery.org/" >jQuery</a>, which is preferred for new projects.</li><li>The
archetype adds a simple filter that shows the timing of each request.</li><li>The
archetype sets up not just for builds with Maven, but also via <a shape="rect" class="external-link"
hr
 ef="http://gradle.org/" >Gradle</a>.</li></ul><h2 id="GettingStarted-What'snext?">What's
next?</h2><p>To deepen your understanding, step through the <a shape="rect"
href="tapestry-tutorial.html">Tapestry Tutorial</a>, which goes into much more detail
about setting up your project as well as loading it into Eclipse... then continues on to teach
you more about Tapestry.</p><p>Be sure to read about the core <a shape="rect"
href="principles.html">Tapestry Principles</a>, and browse the extensive <a shape="rect"
href="user-guide.html">User Guide</a>.</p><h2 id="GettingStarted-ObtainHelp">Obtain
Help</h2><p>Tapestry has an active user mailing list on which you can find a lot
of valuable support, commonly within just a few minutes. You can subscribe by sending e-mail
to <a shape="rect" class="external-link" href="mailto:users-subscribe@tapestry.apache.org"
>users-subscribe@tapestry.apache.org</a> or look for an answer in the <a shape="rect"
class="external-link" href="http://markmail.org/s
 earch/list:org.apache.tapestry.users" >archives</a>. <a shape="rect" href="mailing-lists.html">More
Options</a>...</p><p>Having trouble? Try our <a shape="rect" href="frequently-asked-questions.html">Frequently
Asked Questions</a>.</p><hr><p>&#160;</p><p>&#160;</p></div>
 </div>
 
 <div class="clearer"></div>



Mime
View raw message