Author: buildbot Date: Thu Sep 22 12:10:48 2016 New Revision: 997994 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 Thu Sep 22 12:10:48 2016 @@ -1 +1 @@ -1761919 +1761920 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 Thu Sep 22 12:10:48 2016 @@ -129,7 +129,7 @@ h2:hover > .headerlink, h3:hover > .head <p>See also <a href="/documentation/the-sling-engine/servlets.html">Servlets and Scripts</a> which provides detailed info about how to register servlets.</p> <p>First of all Sling looks up the resource identified by the URL - typically a path inside the JCR repository, which is annotated by the <code>sling:resourceType</code> property which defines the resource type of that resource. Using this resource type (which is kind of a relative path, -eg. "myblog/comment"), scripts or servlets are looked up. For more details about how the initial resource is identified for a specific request URL look at [URL decomposition] (/documentation/the-sling-engine/url-decomposition.html).</p> +eg. "myblog/comment"), scripts or servlets are looked up. For more details about how the initial resource is identified for a specific request URL look at <a href="/documentation/the-sling-engine/url-decomposition.html">URL decomposition</a>.</p> <p>Scripts and servlets are itself resources in Sling and thus have a resource path: this is either the location in the JCR repository, the resource type in a servlet component configuration or the "virtual" bundle resource path (if a script is provided inside a bundle without being installed into the JCR repository). </p> @@ -207,7 +207,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. 1761914 by kwin on Thu, 22 Sep 2016 11:59:23 +0000 + Rev. 1761920 by kwin on Thu, 22 Sep 2016 12:10:40 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project