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 2014/06/24 21:37:23 UTC

svn commit: r913551 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/models.html

Author: buildbot
Date: Tue Jun 24 19:37:22 2014
New Revision: 913551

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 Tue Jun 24 19:37:22 2014
@@ -1 +1 @@
-1605163
+1605164

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 Tue Jun 24 19:37:22 2014
@@ -143,9 +143,11 @@ individually, e.g. the header above will
 </pre></div>
 
 
-<p>Or
-    ::jsp
-    ${sling:adaptTo(resource, 'org.apache.sling.yamf.it.models.MyModel')}</p>
+<p>Or</p>
+<div class="codehilite"><pre>${sling:adaptTo(resource, &#39;org.apache.sling.yamf.it.models.MyModel&#39;)}
+</pre></div>
+
+
 <p>As with other AdapterFactories, if the adaptation can't be made for any reason, <code>adaptTo()</code> returns null.</p>
 <h1 id="other-options">Other Options</h1>
 <p>If the field or method name doesn't exactly match the property name, <code>@Named</code> can be used:</p>
@@ -377,7 +379,7 @@ individually, e.g. the header above will
 </tbody>
 </table>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1605163 by justin on Tue, 24 Jun 2014 19:35:09 +0000
+        Rev. 1605164 by justin on Tue, 24 Jun 2014 19:37:13 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project