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/04 19:37:35 UTC

svn commit: r1017701 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/sling-pipes.html

Author: buildbot
Date: Mon Sep  4 19:37:35 2017
New Revision: 1017701

Log:
Staging update by buildbot for sling

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

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Sep  4 19:37:35 2017
@@ -1 +1 @@
-1807292
+1807293

Modified: websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html (original)
+++ websites/staging/sling/trunk/content/documentation/bundles/sling-pipes.html Mon Sep  4 19:37:35 2017
@@ -311,11 +311,13 @@ from the input path, output the found au
 on <code>./sub@prop</code> property of the current input, testing if its value matches <code>value</code> regex. If the special <code>slingPipesFilter_noChildren=${true}</code>
 property is there with the value instantiated as a true boolean, then filter will pass if corresponding node has no children.</li>
 <li><code>slingPipesFilter_test='${...}'</code> evaluates the property value, and filters out the stream if the expression is not a boolean or false</li>
-<li>
-<p><code>slingPipesFilter_not='true'</code> inverts the expected result of the filter</p>
-<p>echo('/content/foo').grep('foo','bar','slingPipesFilter_not',true).run()</p>
-</li>
+<li><code>slingPipesFilter_not='true'</code> inverts the expected result of the filter</li>
 </ul>
+<p>as an example,</p>
+<div class="codehilite"><pre><span class="n">echo</span><span class="p">(</span><span class="s">&#39;/content/foo&#39;</span><span class="p">).</span><span class="n">grep</span><span class="p">(</span><span class="s">&#39;foo&#39;</span><span class="p">,</span><span class="s">&#39;bar&#39;</span><span class="p">,</span><span class="s">&#39;slingPipesFilter_not&#39;</span><span class="p">,</span><span class="n">true</span><span class="p">).</span><span class="n">run</span><span class="p">()</span>
+</pre></div>
+
+
 <p>will either return <code>/content/foo</code> either nothing depending on it
 not containing <code>@foo=bar</code></p>
 <div class="codehilite"><pre>echo(&#39;content/foo&#39;).name(&#39;FOO&#39;).grep(&#39;slingPipesFilter_test&#39;,&#39;<span class="cp">${</span><span class="n">FOO</span><span class="o">.</span><span class="n">foo</span> <span class="o">==</span> <span class="s">&quot;bar&quot;</span><span class="cp">}</span>&#39;
@@ -444,7 +446,7 @@ it does </p>
 <li>jackrabbit api (2.7.5+) (used in AuthorizablePipe)</li>
 </ul>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1807292 by npeltier on Mon, 4 Sep 2017 19:34:02 +0000
+        Rev. 1807293 by npeltier on Mon, 4 Sep 2017 19:37:23 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project