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/07/04 06:32:48 UTC
svn commit: r418913 - in /tapestry/tapestry4/trunk/src/site: resources/css/
xdoc/QuickStart/ xdoc/UsersGuide/ xdoc/exampleapps/
Author: jkuhnert
Date: Mon Jul 3 21:32:48 2006
New Revision: 418913
URL: http://svn.apache.org/viewvc?rev=418913&view=rev
Log:
Updated documentation to use new info class
Modified:
tapestry/tapestry4/trunk/src/site/resources/css/site.css
tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/directlink.xml
tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/forms.xml
tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/helloworld.xml
tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/bindings.xml
tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/index.xml
tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/listenermethods.xml
tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/template.xml
tapestry/tapestry4/trunk/src/site/xdoc/exampleapps/index.xml
Modified: tapestry/tapestry4/trunk/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/resources/css/site.css?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/resources/css/site.css (original)
+++ tapestry/tapestry4/trunk/src/site/resources/css/site.css Mon Jul 3 21:32:48 2006
@@ -40,4 +40,4 @@
.section ul li {
margin-top: 8px;
-}
\ No newline at end of file
+}
Modified: tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/directlink.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/directlink.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/directlink.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/directlink.xml Mon Jul 3 21:32:48 2006
@@ -571,6 +571,7 @@
</section>
<span class="info">
+ <strong>Note:</strong>
<p>
<sup>1</sup>
This is my (Howard Lewis Ship's) least favorite thing in Tapestry 4.0; it is something
Modified: tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/forms.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/forms.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/forms.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/forms.xml Mon Jul 3 21:32:48 2006
@@ -623,11 +623,14 @@
</section>
<span class="info">
+ <strong>Note:</strong>
+ <p>
<sup>1</sup>
Of course, annotations required JDK 1.5, which you'll need for these tutorials. If
you can't use JDK 1.5 in production, that's OK. Tapestry is compatible with JDK 1.3
and has another approach, based on XML, for injecting pages or doing just about
anything else that shows up as an annotation in the tutorials.
+ </p>
</span>
</section>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/helloworld.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/helloworld.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/helloworld.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/QuickStart/helloworld.xml Mon Jul 3 21:32:48 2006
@@ -397,6 +397,8 @@
</section>
<span class="info">
+ <strong>Note:</strong>
+ <p>
<sup>1</sup>
Session encoding is an aspect of the Servlet API. Encoding a URL adds information about
the server-side session (the HttpSession) if there is one. Although this information can
@@ -405,6 +407,7 @@
for you in Tapestry. It's another example of the basic Tapestry principle:
<em>make the simplest choice the correct choice</em>
.
+ </p>
</span>
</section>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/bindings.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/bindings.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/bindings.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/bindings.xml Mon Jul 3 21:32:48 2006
@@ -185,9 +185,10 @@
<span class="info">
<strong>Note:</strong>
- <br />
+ <p>
You can define your own prefixes by contributing into the
tapestry.bindings.BindingFactories configuration point.
+ </p>
</span>
<p>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/index.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/index.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/index.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/index.xml Mon Jul 3 21:32:48 2006
@@ -152,13 +152,14 @@
<span class="info">
<strong>Note:</strong>
- <br />
+ <p>
Listener methods in Tapestry are very similar in intent to
<em>delegates</em>
in C#. In both cases, a method of a particular object instance is represented as
an object. Calling this a "listener" or a "listener method" is a bit of a naming
snafu; it should be called a "delegate" and a "delegate method" but the existing
naming is too deeply entrenched to change any time soon.
+ </p>
</span>
<p>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/listenermethods.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/listenermethods.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/listenermethods.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/listenermethods.xml Mon Jul 3 21:32:48 2006
@@ -40,7 +40,7 @@
<span class="info">
<strong>Note:</strong>
- <br />
+ <p>
The parameter type for listeners is
<a href="../tapestry-framework/apidocs/org/apache/tapestry/IActionListener.html">
IActionListener
@@ -50,6 +50,7 @@
occasions, it is useful to create objects that implement the interface directly. For
pages, components and the engine, there is a listeners property whose keys are the names
of listener methods, but the listener: binding reference is easier to use.
+ </p>
</span>
<p>
@@ -128,7 +129,7 @@
<span class="info">
<strong>Note:</strong>
- <br />
+ <p>
In Tapestry 3.0 and earlier,
<em>listener parameters</em>
were known as
@@ -139,6 +140,7 @@
IRequestCycle
</a>
and returning void.
+ </p>
</span>
<p>The listener can gain access these parameters in one of two ways:</p>
Modified: tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/template.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/template.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/template.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/UsersGuide/template.xml Mon Jul 3 21:32:48 2006
@@ -238,13 +238,12 @@
<span class="info">
<strong>Note:</strong>
- <br />
-
+ <p>
More correct would be to say "its container's template" as a component may be
contained within another component. For simplicities sake, we'll describe this
as if it was always a simple two-level heirarchy even though practical Tapestry
applications can be many levels deep.
-
+ </p>
</span>
<img alt="Component templates and bodies"
@@ -277,11 +276,12 @@
<span class="info">
<strong>Warning:</strong>
- <br />
+ <p>
If you put a component inside the body of an
<a href="site:Insert">Insert</a>
(or any other component that discards its body), then Tapestry will throw an
exception. You aren't allowed to create a component simply to discard it.
+ </p>
</span>
</subsection><!-- templates.components.body -->
Modified: tapestry/tapestry4/trunk/src/site/xdoc/exampleapps/index.xml
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/src/site/xdoc/exampleapps/index.xml?rev=418913&r1=418912&r2=418913&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/site/xdoc/exampleapps/index.xml (original)
+++ tapestry/tapestry4/trunk/src/site/xdoc/exampleapps/index.xml Mon Jul 3 21:32:48 2006
@@ -30,9 +30,10 @@
<span class="info">
<strong>Note:</strong>
- <br />
+ <p>
While the main source distribution does not require a 1.5 JDK, the examples do as they
make use of features such as annotations.
+ </p>
</span>
<p>