You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2016/02/18 11:49:02 UTC

svn commit: r1731041 - /sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext

Author: rombert
Date: Thu Feb 18 10:49:02 2016
New Revision: 1731041

URL: http://svn.apache.org/viewvc?rev=1731041&view=rev
Log:
SLING-5434 - WritePipe shoud remove properties at the very end

Submitted-By: Nicolas Peltier

Modified:
    sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext

Modified: sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext?rev=1731041&r1=1731040&r2=1731041&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/sling-pipes.mdtext Thu Feb 18 10:49:02 2016
@@ -119,11 +119,14 @@ execute the pipe referenced in path prop
 ### writers
 
 #### Write Pipe
-writes given properties to current input
+writes given nodes & properties to current input
 
 - `sling:resourceType` is `slingPipes/write`
-- `conf` node tree that will be copied to the current input of the pipe, each node's properties
-names and value will be written to the input resource. Input resource will be outputed. 
+- `conf` node tree that will be copied to the current input of the pipe, each property's
+names and value will be written to the input resource. Input resource will be outputed.
+Note that properties that will be evaluated (in an expression) as `null` for a given input resource will be
+removed from it. E.g. `./conf/some/node@prop=${null}` will add `./conf/some/node` structure
+if not in current input resource, but remove its `prop` property if any).
 
 ### MovePipe
 JCR move of current input to target path (can be a node or a property)