incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r905034 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/models.html
Date Sat, 05 Apr 2014 16:01:16 GMT
Author: buildbot
Date: Sat Apr  5 16:01:16 2014
New Revision: 905034

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 Sat Apr  5 16:01:16 2014
@@ -1 +1 @@
-1585104
+1585125

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 Sat Apr  5 16:01:16
2014
@@ -131,7 +131,7 @@
 
 
 <h1 id="client-code">Client Code</h1>
-<p>Client code doesn't need to be aware that YAMF is being used. It just uses the Sling
Adapter framework:</p>
+<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>
 </pre></div>
 
@@ -196,7 +196,8 @@
 </pre></div>
 
 
-<p>In this case, the name is not used -- only the class name. Lists and arrays are
supported:</p>
+<p>In this case, the name is not used -- only the class name.</p>
+<p>Lists and arrays are supported:</p>
 <div class="codehilite"><pre><span class="nd">@Model</span><span
class="o">(</span><span class="n">adaptables</span><span class="o">=</span><span
class="n">Resource</span><span class="o">.</span><span class="na">class</span><span
class="o">)</span>
 <span class="kd">public</span> <span class="kd">class</span> <span
class="nc">MyModel</span> <span class="o">{</span>
 
@@ -365,7 +366,7 @@
 <td><code>ServletRequest</code> objects</td>
 </tr>
 <tr>
-<td>OSGI Services</td>
+<td>OSGi Services</td>
 <td><code>osgi-services</code></td>
 <td>5000</td>
 <td>Lookup services based on class name</td>
@@ -374,7 +375,7 @@
 </tbody>
 </table>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1563050 by justin on Fri, 31 Jan 2014 04:14:34 +0000
+        Rev. 1585125 by olli on Sat, 5 Apr 2014 16:01:10 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message