You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2008/03/03 00:40:28 UTC

svn commit: r632881 - in /tapestry/tapestry5/trunk: quickstart/src/main/resources/archetype-resources/src/main/webapp/Index.tml tapestry-tutorial1/src/site/apt/first.apt

Author: hlship
Date: Sun Mar  2 15:40:27 2008
New Revision: 632881

URL: http://svn.apache.org/viewvc?rev=632881&view=rev
Log:
TAPESTRY-2212: Index.tml generated by Quickstart Archetype is broken due to recent Index page change

Modified:
    tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/webapp/Index.tml
    tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/first.apt

Modified: tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/webapp/Index.tml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/webapp/Index.tml?rev=632881&r1=632880&r2=632881&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/webapp/Index.tml (original)
+++ tapestry/tapestry5/trunk/quickstart/src/main/resources/archetype-resources/src/main/webapp/Index.tml Sun Mar  2 15:40:27 2008
@@ -12,7 +12,7 @@
 
 
         <p>
-            [<t:pagelink t:page="Start">refresh</t:pagelink>]
+            [<t:pagelink t:page="Index">refresh</t:pagelink>]
         </p>
     </body>
 </html>

Modified: tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/first.apt
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/first.apt?rev=632881&r1=632880&r2=632881&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/first.apt (original)
+++ tapestry/tapestry5/trunk/tapestry-tutorial1/src/site/apt/first.apt Sun Mar  2 15:40:27 2008
@@ -196,12 +196,13 @@
   
   The other item is the link used to refresh the page. We're specifying a component as an XML <element> within the Tapestry namespace. The element name, "pagelink",
   defines the type of component.  PageLink (Tapestry is case insensitive) is a component built into the framework; it is part of the
-  core component library.  The attribute, page, is a string - the name of the page to link to.  Here, we're linking back to the same page, page "Start".
+  core component library.  The attribute, page, is a string - the name of the page to link to.  Here, we're linking back to the same page, page "Index".
   
-  This is how Tapestry works; the Start page contains an <instance> of the PageLink component. The PageLink component is configured via its parameters, which controls what
+  This is how Tapestry works; the Index page contains an <instance> of the PageLink component. The PageLink component is configured via its parameters, which controls what
   it does and how it behaves.
   
-  The URL that the PageLink component will render out is <<<http://localhost:8080/tapestry-tutorial1/>>>.    In later examples,
+  The URL that the PageLink component will render out is <<<http://localhost:8080/tapestry-tutorial1/>>> ."Index" pages are special and
+  are identified just by the folder name.    In later examples,
   when we link to pages besides "Index", the page name will be part of the URL.
   
   Tapestry ignores case where ever it can. Inside the template, we configured the PageLink component's page parameter with the name of the page, "Index".  Here too we could be