sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r1585125 - /sling/site/trunk/content/documentation/bundles/models.mdtext
Date Sat, 05 Apr 2014 16:01:10 GMT
Author: olli
Date: Sat Apr  5 16:01:10 2014
New Revision: 1585125

URL: http://svn.apache.org/r1585125
Log:
fix some glitches

Modified:
    sling/site/trunk/content/documentation/bundles/models.mdtext

Modified: sling/site/trunk/content/documentation/bundles/models.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/models.mdtext?rev=1585125&r1=1585124&r2=1585125&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/models.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/models.mdtext Sat Apr  5 16:01:10 2014
@@ -44,7 +44,7 @@ In order for these classes to be picked 
 
 # Client Code
 
-Client code doesn't need to be aware that YAMF is being used. It just uses the Sling Adapter
framework:
+Client code doesn't need to be aware that Sling Models is being used. It just uses the Sling
Adapter framework:
 
     ::java
 	MyModel model = resource.adaptTo(MyModel.class)
@@ -116,7 +116,9 @@ OSGi services can be injected:
 	} 
 
  
-In this case, the name is not used -- only the class name. Lists and arrays are supported:
+In this case, the name is not used -- only the class name.
+
+Lists and arrays are supported:
 
 	::java
 	@Model(adaptables=Resource.class)
@@ -266,6 +268,6 @@ Script Bindings    | `script-bindings`  
 Value Map          | `valuemap`              | 2000 | Gets a property from a `ValueMap` |
Any object which is or can be adapted to a `ValueMap`
 Child Resources    | `child-resources`       | 3000  | Gets a child resource by name | `Resource`
objects
 Request Attributes | `request-attributes`    | 4000  | Get a request attribute       | `ServletRequest`
objects	
-OSGI Services      | `osgi-services`         | 5000  | Lookup services based on class name
| Any object | Effectively ignores name.
+OSGi Services      | `osgi-services`         | 5000  | Lookup services based on class name
| Any object | Effectively ignores name.
 	
 



Mime
View raw message