You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bw...@apache.org on 2006/05/09 15:25:08 UTC
svn commit: r405426 - in
/tapestry/tapestry4/trunk/src/documentation/content/xdocs:
UsersGuide/configuration.xml UsersGuide/friendly-urls.xml
UsersGuide/hivemind.xml UsersGuide/spec.xml UsersGuide/template.xml
examples/index.xml
Author: bwallace
Date: Tue May 9 06:24:38 2006
New Revision: 405426
URL: http://svn.apache.org/viewcvs?rev=405426&view=rev
Log:
[TAPESTRY-886] Ported fixes to 4.0 branch to tapestry4/trunk
Modified:
tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/configuration.xml
tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/friendly-urls.xml
tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/hivemind.xml
tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/spec.xml
tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/template.xml
tapestry/tapestry4/trunk/src/documentation/content/xdocs/examples/index.xml
Modified: tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/configuration.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/configuration.xml?rev=405426&r1=405425&r2=405426&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/configuration.xml (original)
+++ tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/configuration.xml Tue May 9 06:24:38 2006
@@ -104,11 +104,6 @@
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>My Application</display-name>
- <servlet>
- <servlet-name>myapp</servlet-name>
- <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
- <load-on-startup>0</load-on-startup>
- </servlet>
<servlet-mapping>
<servlet-name>myapp</servlet-name>
@@ -125,6 +120,12 @@
<url-pattern>/</url-pattern>
</filter-mapping>
+ <servlet>
+ <servlet-name>myapp</servlet-name>
+ <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class>
+ <load-on-startup>0</load-on-startup>
+ </servlet>
+
<session-config>
<session-timeout>15</session-timeout>
</session-config>
Modified: tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/friendly-urls.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/friendly-urls.xml?rev=405426&r1=405425&r2=405426&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/friendly-urls.xml (original)
+++ tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/friendly-urls.xml Tue May 9 06:24:38 2006
@@ -60,6 +60,13 @@
ambitious, but more limited, patch was required).
</p>
+ <warning>
+ For security purposes, enabling friendly URLs implies that pages are no longer
+ accessible via their ugly URL counterpart. This is not the case. If a malevolent user
+ can either guess - or via cookies identify - your servlet path, they can construct an
+ ugly URL to a resource that is protected via security and gain access to the protected
+ resource.
+ </warning>
<p>
Friendly URLs are divided into two concerns:
</p>
Modified: tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/hivemind.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/hivemind.xml?rev=405426&r1=405425&r2=405426&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/hivemind.xml (original)
+++ tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/hivemind.xml Tue May 9 06:24:38 2006
@@ -151,6 +151,8 @@
<li>/WEB-INF/<em>applicationId</em>/hivemodule.xml</li>
<li>/WEB-INF/hivemodule.xml</li>
</ul>
+ <note>The descriptor will not be recognized if it is located in META-INF/ in the context root of a web application
+ however it will if it is under the WEB-INF/ locations. The META-INF/ location is specific to libraries.</note>
<p> Both of these files exist in the web application context; the <em>applicationId</em> is the name of the application
servlet, as given in web.xml deployment descriptor (this is only useful in the very rare case that you package
more than one Tapestry application in a single web application). </p>
Modified: tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/spec.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/spec.xml?rev=405426&r1=405425&r2=405426&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/spec.xml (original)
+++ tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/spec.xml Tue May 9 06:24:38 2006
@@ -121,8 +121,6 @@
</li>
<li>The <static-binding> and <message-binding> elements have been removed, replaced with
the &spec.binding; element and the ognl: and message: prefixes, respectively.</li>
- <li>The <inherited-binding> element has been removed; parameters of parent components may be
- accessed as properties.</li>
<li>The <property> element (in 3.0) has been renamed to &spec.meta;.</li>
<li>The <property-specification> element (in 3.0) has been renamed to &spec.property;. The type
attribute has been dropped. The persistent attribute has been renamed to persist, and is a string
@@ -1393,7 +1391,9 @@
<td>
If blank (the default), then the property is transient (i.e., not persistent). Otherwise, the
name of a persistence strategy must be supplied. The most common persistence
- strategy is "session" (the property is stored into an HttpSession attribute).
+ strategy is "session" (the property is stored into an HttpSession attribute) - see
+ <link href="state.html#state.page-properties.types">Managing server-side state</link> for
+ more details.
</td>
</tr>
<tr>
Modified: tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/template.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/template.xml?rev=405426&r1=405425&r2=405426&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/template.xml (original)
+++ tapestry/tapestry4/trunk/src/documentation/content/xdocs/UsersGuide/template.xml Tue May 9 06:24:38 2006
@@ -534,7 +534,7 @@
filtered, so that any reserved
HTML characters in a message string are expanded to HTML entities. For example,
a < will be expanded to &lt; If this is not desired,
-add the attribute value <code>raw="yes"</code> to the &span;.
+add the attribute value <code>raw="true"</code> to the &span;.
This defeats the filtering, and text in the message
is passed through as-is.
</p>
Modified: tapestry/tapestry4/trunk/src/documentation/content/xdocs/examples/index.xml
URL: http://svn.apache.org/viewcvs/tapestry/tapestry4/trunk/src/documentation/content/xdocs/examples/index.xml?rev=405426&r1=405425&r2=405426&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/src/documentation/content/xdocs/examples/index.xml (original)
+++ tapestry/tapestry4/trunk/src/documentation/content/xdocs/examples/index.xml Tue May 9 06:24:38 2006
@@ -28,6 +28,8 @@
<body>
<p> Tapestry's main distribution includes the Tapestry JAR files plus all source code for Tapestry, the Tapestry
documentation, and Tapestry examples. </p>
+ <note> While the main source distribution does not require a 1.5 JDK, the examples do as they make use of features such
+ as annotations.</note>
<p> Because of licensing concerns, JAR dependencies (such as Javassist) and example applications are not distributed
with Tapestry itself. As an Apache Software Foundation project, the Tapestry distributions <em>must</em> be
limited to just software directly provided by the ASF; nothing from outside the ASF is allowed. </p>