You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2016/04/15 17:25:19 UTC
svn commit: r1739319 -
/sling/site/trunk/content/documentation/bundles/scripting/scripting-sightly.mdtext
Author: radu
Date: Fri Apr 15 15:25:19 2016
New Revision: 1739319
URL: http://svn.apache.org/viewvc?rev=1739319&view=rev
Log:
CMS commit to sling by radu
Modified:
sling/site/trunk/content/documentation/bundles/scripting/scripting-sightly.mdtext
Modified: sling/site/trunk/content/documentation/bundles/scripting/scripting-sightly.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/scripting/scripting-sightly.mdtext?rev=1739319&r1=1739318&r2=1739319&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/scripting/scripting-sightly.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/scripting/scripting-sightly.mdtext Fri Apr 15 15:25:19 2016
@@ -16,8 +16,7 @@ Notice: Licensed to the Apache Softwa
specific language governing permissions and limitations
under the License.
-The Apache Sling Sightly Scripting Engine is the Java reference implementation of the [Sightly HTML Templating Language](https://github.com/Adobe-Marketing-Cloud/sightly-spec), passing all the tests defined by the [Sightly Technology Compatibility Kit](https://github.com/Adobe-Marketing-Cloud/sightly-tck).
-
+The Apache Sling Sightly Scripting Engine is the Java reference implementation of the [Sightly HTML Templating Language](https://github.com/Adobe-Marketing-Cloud/sightly-spec).
[TOC]
# Modules
@@ -69,12 +68,12 @@ However, the Sling implementation provid
## Sling-specific Use-API Extensions
-A full Sightly installation provides the following Use Providers, in the order of their priority:
+A full Sightly installation provides the following Use Providers, in the order of their priority (the higher the service ranking value, the higher the priority):
-| Use Provider | Bundle | Service Ranking | Functionality |Observations|
-|-------------- |-------- |----------------- |--------------- |----------- |
-|`org.apache.sling.scripting.sightly.impl.engine.extension.use.RenderUnitProvider`|`org.apache.sling.scripting.sightly`|100|support for loading Sightly templates through `data-sly-use`||
-|`org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider`|`org.apache.sling.scripting.sightly.models.provider`|95|support for loading Sling Models||
-|`org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider`|`org.apache.sling.scripting.sightly`|90|support for loading Java objects such as: <ol><li>OSGi services</li><li>POJOs adaptable from `SlingHttpServletRequest` or `Resource`</li><li>POJOs that implement `Use`</li></ol>||
-|`org.apache.sling.scripting.sightly.js.impl.JsUseProvider`|`org.apache.sling.scripting.sightly.js.provider`|80|support for loading objects defined in JavaScript||
-|`org.apache.sling.scripting.sightly.impl.engine.extension.use.ScriptUseProvider`|`org.apache.sling.scripting.sightly`|0|support for loading objects returned by scripts interpreted by other Script Engines available on the platform||
+|Service Ranking | Use Provider | Bundle | Functionality |Observations|
+|-------------- |-------------- |----------------- |--------------- |----------- |
+|100|`org.apache.sling.scripting.sightly.impl.engine.extension.use.RenderUnitProvider`|`org.apache.sling.scripting.sightly`|support for loading Sightly templates through `data-sly-use`||
+|95|`org.apache.sling.scripting.sightly.models.impl.SlingModelsUseProvider`|`org.apache.sling.scripting.sightly.models.provider`|support for loading Sling Models||
+|90|`org.apache.sling.scripting.sightly.impl.engine.extension.use.JavaUseProvider`|`org.apache.sling.scripting.sightly`|support for loading Java objects such as: <ol><li>OSGi services</li><li>POJOs adaptable from `SlingHttpServletRequest` or `Resource`</li><li>POJOs that implement `Use`</li></ol>||
+|80|`org.apache.sling.scripting.sightly.js.impl.JsUseProvider`|`org.apache.sling.scripting.sightly.js.provider`|support for loading objects defined in JavaScript||
+|0 |`org.apache.sling.scripting.sightly.impl.engine.extension.use.ScriptUseProvider`|`org.apache.sling.scripting.sightly`|support for loading objects returned by scripts interpreted by other Script Engines available on the platform||