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 2013/04/03 09:56:37 UTC

svn commit: r857066 - in /websites/staging/sling/trunk/content: ./ documentation/tutorials-how-tos/how-to-manage-events-in-sling.html

Author: buildbot
Date: Wed Apr  3 07:56:37 2013
New Revision: 857066

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Apr  3 07:56:37 2013
@@ -1 +1 @@
-1463857
+1463862

Modified: websites/staging/sling/trunk/content/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html (original)
+++ websites/staging/sling/trunk/content/documentation/tutorials-how-tos/how-to-manage-events-in-sling.html Wed Apr  3 07:56:37 2013
@@ -115,7 +115,8 @@ Sling makes a distinction between events
 <li>Moves the file according to its extension.</li>
 </ul>
 <h2 id="listening-to-osgi-events">Listening to OSGI Events</h2>
-<p>To listen to the specific OSGI event <strong>resource added<em> the property </em>event.topics* needs to be set to </strong>org.apache.sling.api.SlingConstants.TOPIC_RESOURCE_ADDED** in the class annotations.</p>
+<p>To listen to the specific OSGI event <strong>resource added</strong> the property <em>event.topics</em> needs to be set to
+<strong>org.apache.sling.api.SlingConstants.TOPIC_RESOURCE_ADDED</strong> in the class annotations.</p>
 <div class="codehilite"><pre> <span class="nd">@Property</span><span class="o">(</span><span class="n">name</span><span class="o">=</span><span class="s">&quot;event.topics&quot;</span><span class="o">,</span>
     <span class="n">value</span><span class="o">=</span><span class="n">org</span><span class="o">.</span><span class="na">apache</span><span class="o">.</span><span class="na">sling</span><span class="o">.</span><span class="na">api</span><span class="o">.</span><span class="na">SlingConstants</span><span class="o">.</span><span class="na">TOPIC_RESOURCE_ADDED</span><span class="o">)</span>
 </pre></div>
@@ -302,7 +303,7 @@ Sling makes a distinction between events
 
 <p>The complete code for the <strong>DropBoxEventHandler</strong> service is available <a href="DropBoxEventHandler.java">here</a>.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1463857 by fmeschbe on Wed, 3 Apr 2013 07:53:15 +0000
+        Rev. 1463862 by fmeschbe on Wed, 3 Apr 2013 07:56:20 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project