This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/sling-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 1e3a03d  Automatic website deployment
1e3a03d is described below

commit 1e3a03dddf9020d82bc7f2a89b190ad4a5e003ee
Author: jenkins <[email protected]>
AuthorDate: Mon Oct 14 10:23:37 2019 +0000

    Automatic website deployment
---
 documentation/the-sling-engine/sling-api-crud-support.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/the-sling-engine/sling-api-crud-support.html 
b/documentation/the-sling-engine/sling-api-crud-support.html
index 5934fda..a43b5da 100644
--- a/documentation/the-sling-engine/sling-api-crud-support.html
+++ b/documentation/the-sling-engine/sling-api-crud-support.html
@@ -143,7 +143,7 @@
 </code></pre>
 <p><strong>Sling API CRUD</strong></p>
 <pre><code>Resource myResource = 
resourceResolver.getResource(&quot;/myresource&quot;);
-ModifiableValueMap properties = myNode.adaptTo(ModifiableValueMap.class);
+ModifiableValueMap properties = myResource.adaptTo(ModifiableValueMap.class);
 properties.put(&quot;title&quot;, {TITLE});
 properties.put(&quot;body&quot;, {BODY});
 resourceResolver.commit();
@@ -256,7 +256,7 @@ resourceResolver.commit();
             </div><footer class="footer">
                 <div class="content has-text-centered is-small">
 <div class="revisionInfo">
-                        Last modified by <span class="author">Bertrand 
Delacretaz</span> on <span class="comment">Fri Sep 29 15:36:08 2017 +0200</span>
+                        Last modified by <span class="author">Thomas 
Morf</span> on <span class="comment">Sat Oct 5 02:13:49 2019 +0200</span>
                     </div>                    <p>
                         Apache Sling, Sling, Apache, the Apache feather logo, 
and the Apache Sling project logo are trademarks of The Apache Software 
Foundation. All other marks mentioned may be trademarks or registered 
trademarks of their respective owners.
                     </p><p>

Reply via email to