Author: buildbot
Date: Wed Aug 20 16:08:17 2014
New Revision: 919914

Log:
Staging update by buildbot for sling

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

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Aug 20 16:08:17 2014
@@ -1 +1 @@
-1618922
+1619136

Modified: websites/staging/sling/trunk/content/documentation/bundles/models.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/models.html 
(original)
+++ websites/staging/sling/trunk/content/documentation/bundles/models.html Wed 
Aug 20 16:08:17 2014
@@ -147,7 +147,15 @@
 
 
 <p>This header must contain all packages which contain model classes or 
interfaces. However, subpackages need not be listed
-individually, e.g. the header above will also pick up model classes in 
<code>org.apache.sling.models.it.models.sub</code>.</p>
+individually, e.g. the header above will also pick up model classes in 
<code>org.apache.sling.models.it.models.sub</code>. Multiple packages
+can be listed in a comma-separated list (any whitespace will be removed):</p>
+<div class="codehilite"><pre><span 
class="nt">&lt;Sling-Model-Packages&gt;</span>
+  org.apache.sling.models.it.models,
+  org.apache.sling.other.models
+<span class="nt">&lt;/Sling-Model-Packages&gt;</span>
+</pre></div>
+
+
 <h1 id="client-code">Client Code</h1>
 <p>Client code doesn't need to be aware that Sling Models is being used. It 
just uses the Sling Adapter framework:</p>
 <div class="codehilite"><pre><span class="n">MyModel</span> <span 
class="n">model</span> <span class="o">=</span> <span 
class="n">resource</span><span class="o">.</span><span 
class="na">adaptTo</span><span class="o">(</span><span 
class="n">MyModel</span><span class="o">.</span><span 
class="na">class</span><span class="o">)</span>
@@ -488,7 +496,7 @@ the following advantages over using the 
 This interface may be implemented by the same class as implements an injector, 
but this is not strictly necessary. Please refer to the
 injectors in <a 
href="http://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/models/impl/src/main/java/org/apache/sling/models/impl/injectors/";>Subversion</a>
 for examples.</p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; 
text-align: right;">
-        Rev. 1609646 by justin on Fri, 11 Jul 2014 07:59:37 +0000
+        Rev. 1619136 by justin on Wed, 20 Aug 2014 16:08:05 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache 
Sling project


Reply via email to