You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bu...@apache.org on 2017/09/25 10:44:10 UTC

svn commit: r1018681 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/sling-query/examples.html documentation/bundles/sling-query/selectors.html

Author: buildbot
Date: Mon Sep 25 10:44:09 2017
New Revision: 1018681

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/sling-query/examples.html
    websites/staging/sling/trunk/content/documentation/bundles/sling-query/selectors.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Sep 25 10:44:09 2017
@@ -1 +1 @@
-1809601
+1809602

Modified: websites/staging/sling/trunk/content/documentation/bundles/sling-query/examples.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/sling-query/examples.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/sling-query/examples.html Mon Sep 25 10:44:09 2017
@@ -115,7 +115,7 @@ h2:hover > .headerlink, h3:hover > .head
   visibility: hidden;
 }
 h2:hover > .headerlink, h3:hover > .headerlink, h1:hover > .headerlink, h6:hover > .headerlink, h4:hover > .headerlink, h5:hover > .headerlink, dt:hover > .elementid-permalink { visibility: visible }</style>
-<p>Get containing page (like <a href="http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/PageManager.html">PageManager#getContainingPage</a>)</p>
+<p>Get containing page (like <a href="https://docs.adobe.com/docs/en/aem/6-3/develop/ref/javadoc/com/day/cq/wcm/api/PageManager.html#getContainingPage(org.apache.sling.api.resource.Resource)">PageManager#getContainingPage</a>)</p>
 <div class="codehilite"><pre>$<span class="p">(</span><span class="n">resource</span><span class="p">).</span><span class="n">closest</span><span class="p">(</span>&quot;<span class="n">cq</span><span class="p">:</span><span class="n">Page</span>&quot;<span class="p">)</span>
 </pre></div>
 
@@ -185,7 +185,7 @@ h2:hover > .headerlink, h3:hover > .head
 <div class="codehilite"><pre>$<span class="p">(</span><span class="n">resource</span><span class="p">).</span><span class="n">children</span><span class="p">(</span>&quot;#<span class="n">en</span><span class="p">,</span> #<span class="n">de</span>&quot;<span class="p">)</span>
 </pre></div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1809599 by tomekr on Mon, 25 Sep 2017 10:28:26 +0000
+        Rev. 1809602 by tomekr on Mon, 25 Sep 2017 10:43:58 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project

Modified: websites/staging/sling/trunk/content/documentation/bundles/sling-query/selectors.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/sling-query/selectors.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/sling-query/selectors.html Mon Sep 25 10:44:09 2017
@@ -142,7 +142,7 @@ h2:hover > .headerlink, h3:hover > .head
 </pre></div>
 
 
-<p>See the <a href="Operator list">fulll list of operators</a>.</p>
+<p>See the <a href="operators.html">fulll list of operators</a>.</p>
 <h3 id="modifiers">Modifiers<a class="headerlink" href="#modifiers" title="Permanent link">&para;</a></h3>
 <p>At the end of the selector one could define any number of modifiers that will be used to filter out the resources matched by the resource type and attributes. Each modifier starts with colon, some of them accepts a parameter set in parentheses. Example:</p>
 <div class="codehilite"><pre>$<span class="p">(</span><span class="n">resource</span><span class="p">).</span><span class="n">children</span><span class="p">(</span>&quot;<span class="n">cq</span><span class="p">:</span><span class="n">Page</span><span class="p">:</span><span class="n">first</span>&quot;<span class="p">);</span>
@@ -162,9 +162,9 @@ $<span class="p">(</span><span class="n"
 
 
 <p>In the first case we create a new collection consisting of children of the <code>resource1</code> and <code>resource2</code> and then we get the first element of the merged collection. On the other hand, the second example takes <em>first child</em> of each resource and creates a collection from them.</p>
-<p>See the <a href="Modifier list">full list of modifiers</a>.</p>
+<p>See the <a href="modifiers.html">full list of modifiers</a>.</p>
 <h2 id="joining-selectors">Joining selectors<a class="headerlink" href="#joining-selectors" title="Permanent link">&para;</a></h2>
-<p>Selectors can be joined together using <a href="Hierarchy operator list">hierarchy operators</a>. This feature enables the developer to create sophisticated filters describing desired resource structure, eg.:</p>
+<p>Selectors can be joined together using <a href="hierarchy-operators.html">hierarchy operators</a>. This feature enables the developer to create sophisticated filters describing desired resource structure, eg.:</p>
 <div class="codehilite"><pre>$<span class="p">(</span><span class="n">resource</span><span class="p">).</span><span class="n">children</span><span class="p">(</span>&quot;<span class="n">cq</span><span class="p">:</span><span class="n">Page</span> <span class="n">foundation</span><span class="o">/</span><span class="n">components</span><span class="o">/</span><span class="n">parsys</span> <span class="o">&gt;</span> <span class="n">foundation</span><span class="o">/</span><span class="n">components</span><span class="o">/</span><span class="n">richtext</span>&quot;<span class="p">)</span>
 </pre></div>
 
@@ -175,7 +175,7 @@ $<span class="p">(</span><span class="n"
 <div class="codehilite"><pre>$<span class="p">(</span><span class="n">resource</span><span class="p">).</span><span class="n">children</span><span class="p">(</span>&quot;#<span class="n">en</span><span class="p">,</span> #<span class="n">de</span><span class="p">,</span> #<span class="n">fr</span>&quot;<span class="p">);</span> <span class="o">//</span> <span class="k">return</span> <span class="n">all</span> <span class="n">direct</span> <span class="n">children</span> <span class="n">named</span> `<span class="n">en</span>` <span class="n">or</span> `<span class="n">de</span>` <span class="n">or</span> `<span class="n">fr</span>`<span class="p">.</span>
 </pre></div>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1809599 by tomekr on Mon, 25 Sep 2017 10:28:26 +0000
+        Rev. 1809602 by tomekr on Mon, 25 Sep 2017 10:43:58 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project