Author: buildbot
Date: Fri Jan 23 16:12:08 2015
New Revision: 937441
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Fri Jan 23 16:12:08 2015
@@ -1 +1 @@
-1654253
+1654255
Modified:
websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
(original)
+++
websites/staging/sling/trunk/content/documentation/the-sling-engine/url-to-script-resolution.html
Fri Jan 23 16:12:08 2015
@@ -170,7 +170,7 @@ covered there, please let us know via th
<li>A script found earlier matches better than a script found later in the
processing order. This means, that script closer to the original resource type
in the resource type hierarchy is considered earlier. </li>
</ul>
<h2 id="examples">Examples</h2>
-<p>Taking up again the list of potential script paths for a request of a
resource whose resource type is <code>sling\sample</code> and the request
selectors are <em>print.a4</em> and the request extension is <em>html</em>
could be: </p>
+<p>Let's consider the following script paths for a request of a resource whose
resource type is <code>sling\sample</code> and the request selectors are
<em>print.a4</em> and the request extension is <em>html</em>: </p>
<ul>
<li>(0) GET.esp </li>
<li>(1) sample.esp </li>
@@ -184,7 +184,7 @@ covered there, please let us know via th
</ul>
<p>The priority of script selection would be (starting with the best one): (6)
- (4) - (5) - (3) - (2) - (1) - (0). Note that (4) is a better match than (5)
because it matches more selectors even though (5) has an extension match where
(4) does not. (7) is not a candidate because it does not include the first
selector (print) and (8) is not a candidate because it has the wrong order of
selectors.</p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1654253 by kwin on Fri, 23 Jan 2015 16:07:43 +0000
+ Rev. 1654255 by kwin on Fri, 23 Jan 2015 16:12:01 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project