You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2011/10/15 00:02:53 UTC
svn commit: r1183520 -
/tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/resources/pages/Index.tml
Author: hlship
Date: Fri Oct 14 22:02:53 2011
New Revision: 1183520
URL: http://svn.apache.org/viewvc?rev=1183520&view=rev
Log:
Tweak the content of the Quickstart Index page
Modified:
tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/resources/pages/Index.tml
Modified: tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/resources/pages/Index.tml
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/resources/pages/Index.tml?rev=1183520&r1=1183519&r2=1183520&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/resources/pages/Index.tml (original)
+++ tapestry/tapestry5/trunk/quickstart/prototypes/archetype-resources/src/main/resources/pages/Index.tml Fri Oct 14 22:02:53 2011
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html t:type="layout" title="${artifactId} Index"
- t:sidebarTitle="Current Time"
+ t:sidebarTitle="Framework Version"
xmlns:t="http://tapestry.apache.org/schema/tapestry_5_3.xsd"
xmlns:p="tapestry:parameter">
#set( $D = '$' )
@@ -8,35 +8,31 @@
<p>${D}{message:greeting}</p>
- <p>
- You are running Tapestry version <strong>${D}{tapestryVersion}</strong>.
- </p>
+ <p>The current time is: <strong>${D}{currentTime}</strong></p>
- <p:sidebar>
+ <!-- A Zone is a component that can be updated in place, triggered by other components. -->
+ <t:zone t:id="zone">
+ <p>
+ You have clicked the link <strong>${D}{clickCount}</strong> times.
+ </p>
<p>
- Just to prove this is live:
+ [
+ <t:actionlink t:id="increment">increment</t:actionlink>
+ ]
+
+ [
+ <t:actionlink t:id="incrementAjax" zone="^">increment (via Ajax)</t:actionlink>
+ ]
</p>
- <p>The current time is: ${D}{currentTime}.</p>
+ </t:zone>
- <!-- A Zone is a component that can be updated in place, triggered by other components. -->
- <t:zone t:id="zone">
- <p>
- You have clicked the link <strong>${D}{clickCount}</strong> times.
- </p>
-
- <p>
- [
- <t:actionlink t:id="increment">increment</t:actionlink>
- ]
-
- [
- <t:actionlink t:id="incrementAjax" zone="^">increment (via Ajax)</t:actionlink>
- ]
- </p>
+ <p:sidebar>
+ <p>
+ You are running Tapestry version <strong>${D}{tapestryVersion}</strong>.
+ </p>
- </t:zone>
<p>
[