Author: hlship
Date: Sat Nov 15 09:33:03 2008
New Revision: 717886
URL: http://svn.apache.org/viewvc?rev=717886&view=rev
Log:
Minor documentation fixes
Modified:
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/archetype.xml
tapestry/tapestry5/trunk/src/site/apt/guide/pagenav.apt
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/ComponentResources.java
Modified:
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/archetype.xml
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/archetype.xml?rev=717886&r1=717885&r2=717886&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/archetype.xml
(original)
+++
tapestry/tapestry5/trunk/quickstart/src/main/resources/META-INF/archetype.xml
Sat Nov 15 09:33:03 2008
@@ -15,7 +15,7 @@
limitations under the License.
-->
- <id>tapestry-simple</id>
+ <id>quickstart</id>
<resources>
<resource>.classpath</resource>
<resource>.project</resource>
Modified: tapestry/tapestry5/trunk/src/site/apt/guide/pagenav.apt
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/src/site/apt/guide/pagenav.apt?rev=717886&r1=717885&r2=717886&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/src/site/apt/guide/pagenav.apt (original)
+++ tapestry/tapestry5/trunk/src/site/apt/guide/pagenav.apt Sat Nov 15 09:33:03
2008
@@ -22,8 +22,8 @@
Component Event Requests
Component event requests may take the form of hyperlinks
-
({{{../component-parameters.html#org.apache.tapestry5.corelib.components.actionlink}ActionLink}})
or form submissions
-
({{{../component-parameters.html#org.apache.tapestry5.corelib.components.form}Form}}).
+
({{{../ref/org/apache/tapestry5/corelib/components/ActionLink.html}ActionLink}})
or form submissions
+ ({{{../ref/org/apache/tapestry5/corelib/components/Form.html}Form}}).
In both cases, the value returned from an {{{event.html}event handler
method}} controls the response sent to the client web browser.
@@ -75,8 +75,7 @@
{{{../apidocs/org/apache/tapestry5/Link.html}Link}} instance directly. The
Link is converted into a URL and a client redirect to that URL is sent to the
client.
The
{{{../apidocs/org/apache/tapestry5/ComponentResources.html}ComponentResources}}
object that is injected into your pages (and components) has methods
- for creating action and page links (they are actually defined in
-
{{{../apidocs/org/apache/tapestry5/ComponentResourcesCommon.html}ComponentResourcesCommon}}).
+ for creating component event and page render links.
* Stream response
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/ComponentResources.java
URL:
http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/ComponentResources.java?rev=717886&r1=717885&r2=717886&view=diff
==============================================================================
---
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/ComponentResources.java
(original)
+++
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/ComponentResources.java
Sat Nov 15 09:33:03 2008
@@ -26,9 +26,10 @@
/**
* Provides a component instance with the resources provided by the framework.
In many circumstances, the resources
- * object can be considered the component itself; in others, it is the [EMAIL
PROTECTED] #getComponent() component property}, and
- * instance of a class provided by the application developer (though
transformed in many ways while being loaded) that
- * is the true component. In reality, it is the combination of the resources
object with the lifecycle instance.
+ * object can be considered the component itself; in others, it is the [EMAIL
PROTECTED] #getComponent() component property},
+ * an instance of a class provided by the application developer (though
transformed in many ways while being loaded)
+ * that is the true component. In reality, it is the combination of the
resources object with the user class instance
+ * that forms the components; neither is useful without the other.
*/
public interface ComponentResources extends ComponentResourcesCommon
{