http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/resource-merger.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/resource-merger.html b/documentation/bundles/resource-merger.html index f91c5b0..6acbac3 100644 --- a/documentation/bundles/resource-merger.html +++ b/documentation/bundles/resource-merger.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Resource Merger (org.apache.sling.resourcemerger) - </h1><div class="tags"><a href="/tags/resources.html" class="label">resources</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/resources.html" class="label">resources</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h1><a href="#introduction" name="introduction">Introduction</a></h1> <p><strong>This documentation only applies to versions >= 1.2 (due to major changes done in <a href="https://issues.apache.org/jira/browse/SLING-3423">SLING-3423</a>)</strong></p> @@ -243,7 +245,9 @@ resulting order: child1, child5, child2, child3, child4 +-- child3 (nt:folder) | +-- property1 = "property from /libs/sling/example/child3" | +-- property2 = "property from /apps/sling/example/child3" -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/scheduler-service-commons-scheduler.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/scheduler-service-commons-scheduler.html b/documentation/bundles/scheduler-service-commons-scheduler.html index 66b52bb..2f146e3 100644 --- a/documentation/bundles/scheduler-service-commons-scheduler.html +++ b/documentation/bundles/scheduler-service-commons-scheduler.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Scheduler Service (commons scheduler) - </h1><div class="tags"><a href="/tags/scheduling.html" class="label">scheduling</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The scheduler is a service for scheduling other services/jobs (it uses the open source Quartz library). The scheduler can be used in two ways, by registering the job through the scheduler API and by leveraging the whiteboard pattern that is supported by the scheduler. In most cases the whiteboard pattern is preferred</p> + </h1><div class="tags"><a href="/tags/scheduling.html" class="label">scheduling</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The scheduler is a service for scheduling other services/jobs (it uses the open source Quartz library). The scheduler can be used in two ways, by registering the job through the scheduler API and by leveraging the whiteboard pattern that is supported by the scheduler. In most cases the whiteboard pattern is preferred</p> <div class="note"> The notion of Job used in this context is a different one than the one used for <a href="/documentation/bundles/apache-sling-eventing-and-job-handling.html">Sling Jobs</a>. The main difference is that a scheduler's job is not persisted. </div> @@ -255,7 +257,9 @@ public class HelloWorldScheduledService { } } -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/scripting.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting.html b/documentation/bundles/scripting.html index 17ca8f0..3724fdd 100644 --- a/documentation/bundles/scripting.html +++ b/documentation/bundles/scripting.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Scripting - </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <p>Sling Scripting allows the easy development and usage of different scripting (aka templating) engines.</p> <h1><a href="#sling-scripting-engines" name="sling-scripting-engines">Sling Scripting Engines</a></h1> @@ -91,7 +93,9 @@ <li>Velocity *</li> <li>XProc *</li> </ul> -<p>* in contrib</p></section></div></div> +<p>* in contrib</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/scripting/scripting-htl.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/scripting-htl.html b/documentation/bundles/scripting/scripting-htl.html index 2c0994f..9acfefa 100644 --- a/documentation/bundles/scripting/scripting-htl.html +++ b/documentation/bundles/scripting/scripting-htl.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/scripting.html">Sling Scripting</a> » </div> <h1 class="pagetitle"> HTL Scripting Engine - </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/htl.html" class="label">htl</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling HTL Scripting Engine, <a href="https://issues.apache.org/jira/browse/SLING-6028">formerly known as Sightly</a>, is the reference implementation of the <a href="https://github.com/Adobe-Marketing-Cloud/htl-spec">HTML Template Language</a>.</p> + </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/htl.html" class="label">htl</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling HTL Scripting Engine, <a href="https://issues.apache.org/jira/browse/SLING-6028">formerly known as Sightly</a>, is the reference implementation of the <a href="https://github.com/Adobe-Marketing-Cloud/htl-spec">HTML Template Language</a>.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h1><a href="#modules" name="modules">Modules</a></h1> @@ -520,7 +522,9 @@ use // the use function </ul> </td> </tr> -</table></section></div></div> +</table></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/scripting/scripting-jsp.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/scripting-jsp.html b/documentation/bundles/scripting/scripting-jsp.html index bca2843..3fb7933 100644 --- a/documentation/bundles/scripting/scripting-jsp.html +++ b/documentation/bundles/scripting/scripting-jsp.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/scripting.html">Sling Scripting</a> » </div> <h1 class="pagetitle"> JSP Scripting Engine - </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/jsp.html" class="label">jsp</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling JSP Scripting Engine is implemented by the <a href="https://github.com/apache/sling/tree/trunk/bundles/scripting/jsp"><code>org.apache.sling.scripting.jsp</code></a> bundle, based on the Jasper 2 JSP engine.</p> + </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/jsp.html" class="label">jsp</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling JSP Scripting Engine is implemented by the <a href="https://github.com/apache/sling/tree/trunk/bundles/scripting/jsp"><code>org.apache.sling.scripting.jsp</code></a> bundle, based on the Jasper 2 JSP engine.</p> <p>On top of that Apache Sling also provides its own JSP Taglib, implemented by the <a href="https://github.com/apache/sling/tree/trunk/bundles/scripting/jsp-taglib"><code>org.apache.sling.scripting.jsp.taglib</code></a> bundle.</p> <p>The Sling Scripting JSP Taglib supports the use of Sling as an application in JSP pages. The Sling Taglib provides the ability to invoke JSP scripts, include Resources and interact with the Sling Repository, all with JSP tags and <a href="http://docs.oracle.com/javaee/6/tutorial/doc/gjddd.html">Expression Language (EL)</a> functions.</p> <h2><a href="#use" name="use">Use</a></h2> @@ -423,7 +425,9 @@ </ul> <p><em>Example Usage</em></p> <pre><code><sling:listChildren resource="${resource}" var="children" /> -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/scripting/scripting-thymeleaf.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/scripting/scripting-thymeleaf.html b/documentation/bundles/scripting/scripting-thymeleaf.html index ef9207a..177402f 100644 --- a/documentation/bundles/scripting/scripting-thymeleaf.html +++ b/documentation/bundles/scripting/scripting-thymeleaf.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/scripting.html">Sling Scripting</a> » </div> <h1 class="pagetitle"> Sling Scripting Thymeleaf - </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/thymeleaf.html" class="label">thymeleaf</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling Scripting Thymeleaf is the scripting engine for <a href="http://www.thymeleaf.org"><em>Thymeleaf</em></a> (3.0) templates.</p> + </h1><div class="tags"><a href="/tags/scripts.html" class="label">scripts</a> <a href="/tags/thymeleaf.html" class="label">thymeleaf</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling Scripting Thymeleaf is the scripting engine for <a href="http://www.thymeleaf.org"><em>Thymeleaf</em></a> (3.0) templates.</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h1><a href="#features" name="features">Features</a></h1> @@ -129,7 +131,9 @@ mvn:org.javassist/javassist/3.20.0-GA <p><a href="Scripting-Thymeleaf-Class-Diagram.png"><img src="Scripting-Thymeleaf-Class-Diagram.png" alt="Class Diagram" /></a></p> <h1><a href="#sample" name="sample">Sample</a></h1> <p>The <a href="http://svn.apache.org/repos/asf/sling/trunk/samples/fling/">Sling Fling Sample</a> is a sample using Sling Scripting Thymeleaf with <a href="/documentation/bundles/models.html">Sling Models</a> and <a href="/documentation/bundles/sling-query.html">Sling Query</a>.</p> -<p><img src="sling-fling-sample.png" alt="Sling Fling Sample" /></p></section></div></div> +<p><img src="sling-fling-sample.png" alt="Sling Fling Sample" /></p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/servlet-helpers.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/servlet-helpers.html b/documentation/bundles/servlet-helpers.html index 36a5073..94a2161 100644 --- a/documentation/bundles/servlet-helpers.html +++ b/documentation/bundles/servlet-helpers.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Servlet Helpers - </h1><div class="tags"><a href="/tags/servlets.html" class="label">servlets</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Sling Servlet Helpers bundle provides mock implementations of the <code>SlingHttpServletRequest</code>, <code>SlingHttpServletResponse</code> and related classes.</p> + </h1><div class="tags"><a href="/tags/servlets.html" class="label">servlets</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The Sling Servlet Helpers bundle provides mock implementations of the <code>SlingHttpServletRequest</code>, <code>SlingHttpServletResponse</code> and related classes.</p> <p>Those mock implementations are meant to be used in tests and also with services like the <code>SlingRequestProcessor</code> when making requests to that service outside of an HTTP request processing context.</p> <p>See the <a href="https://svn.apache.org/repos/asf/sling/trunk/bundles/extensions/servlet-helpers">automated tests</a> of the <code>servlet-helpers</code> module for more info.</p> <h2><a href="#usage" name="usage">Usage</a></h2> @@ -134,7 +136,9 @@ assertEquals(TEST_CONTENT, response.getOutputAsString()); // validate response body as binary data assertArrayEquals(TEST_DATA, response.getOutput()); -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/3d5fdfe">Fri Sep 29 15:36:08 2017 +0200</a> : <span class="comment">First shot at adding some tags +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-health-check-tool.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-health-check-tool.html b/documentation/bundles/sling-health-check-tool.html index 2058042..f2768eb 100644 --- a/documentation/bundles/sling-health-check-tool.html +++ b/documentation/bundles/sling-health-check-tool.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Health Check Tools - </h1><div class="tags"><a href="/tags/healthchecks.html" class="label">healthchecks</a> <a href="/tags/operations.html" class="label">operations</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Based on simple <code>HealthCheck</code> OSGi services, the Sling Health Check Tools ("hc" in short form) are used to check the health of live Sling systems, based on inputs like JMX MBean attribute values, OSGi framework information, Sling requests status, etc.</p> + </h1><div class="tags"><a href="/tags/healthchecks.html" class="label">healthchecks</a> <a href="/tags/operations.html" class="label">operations</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Based on simple <code>HealthCheck</code> OSGi services, the Sling Health Check Tools ("hc" in short form) are used to check the health of live Sling systems, based on inputs like JMX MBean attribute values, OSGi framework information, Sling requests status, etc.</p> <p>Health checks are easily extensible either by configuring the supplied default <code>HealthCheck</code> services, or by implementing your own <code>HealthCheck</code> services to cater for project specific requirements.</p> <p>However for simple setups, the out of the box health checks are often sufficient. <a href="#executing-health-checks">Executing Health Checks</a> is a good starting point to run existing checks and to get familiar with how health checks work.</p> <p>See also:</p> @@ -278,7 +280,9 @@ servletPath = /system/health <p>It requires the <code>org.apache.sling.junit.core bundle</code> which provides the server-side JUnit tests infrastructure.</p> <p>The idea is to implement the smoke tests of your system, for example, as health checks. You can then run them as part of integration testing, using the <a href="/documentation/development/sling-testing-tools.html">Sling Testing Tools</a><br/>remote testing utilities, and also as plain Health Checks for monitoring or troubleshooting Sling instances.</p> <p>To use this module, configure sets of tags at <code>/system/console/configMgr/org.apache.sling.hc.junitbridge.HealthCheckTestsProvider</code> using the standard <code>includeThisTag,-omitThatTag</code> syntax, and JUnit tests will be available at /system/sling/junit/HealthChecks.html to run the corresponding Health Checks.</p> -<p>To run the Health Check tests at build time, see the <a href="http://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests">testing/samples/integration-tests</a> sample module.</p></section></div></div> +<p>To run the Health Check tests at build time, see the <a href="http://svn.apache.org/repos/asf/sling/trunk/testing/samples/integration-tests">testing/samples/integration-tests</a> sample module.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-oak-restrictions.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-oak-restrictions.html b/documentation/bundles/sling-oak-restrictions.html index 722dcd0..1a3670d 100644 --- a/documentation/bundles/sling-oak-restrictions.html +++ b/documentation/bundles/sling-oak-restrictions.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Oak Restrictions - </h1><div class="tags"><a href="/tags/oak.html" class="label">oak</a> <a href="/tags/jcr.html" class="label">jcr</a> <a href="/tags/security.html" class="label">security</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/oak.html" class="label">oak</a> <a href="/tags/jcr.html" class="label">jcr</a> <a href="/tags/security.html" class="label">security</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#introduction" name="introduction">Introduction</a></h2> <p>Oak introduced plugability of restrictions as described in <a href="https://jackrabbit.apache.org/oak/docs/security/authorization/restriction.html#Pluggability">Oak Restriction Management</a>. The bundle sling-oak-restrictions provides additional restrictions that generally make sense for sling applications. Currently sling restrictions for exact resource type match and resource type match including all descendants are supplied.</p> @@ -153,7 +155,9 @@ <ul> <li><code>/content/myprj</code></li> <li><code>/content/myprj/mynode2</code></li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-pipes.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-pipes.html b/documentation/bundles/sling-pipes.html index a307905..133ba57 100644 --- a/documentation/bundles/sling-pipes.html +++ b/documentation/bundles/sling-pipes.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Pipes - </h1><div class="tags"><a href="/tags/pipes.html" class="label">pipes</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>tool set for doing extract - transform - load operations by chaining proven code bits.</p> + </h1><div class="tags"><a href="/tags/pipes.html" class="label">pipes</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>tool set for doing extract - transform - load operations by chaining proven code bits.</p> <p>often one-shot data transformations need sample code to be written & executed. This tiny tool set intends to provide ability to do such transformations with proven & reusable blocks called pipes, streaming resources from one to the other.</p> <h2><a href="#what-is-a-pipe" name="what-is-a-pipe">What is a pipe</a></h2> <pre><code> getOutputBinding @@ -381,7 +383,9 @@ mkdir('/content/${demo.val}.run() <li>java 8 (Nashorn is used for expression)</li> <li>slingQuery (3.0.0) (used in SlingQueryPipe)</li> <li>jackrabbit api (2.7.5+) (used in AuthorizablePipe)</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/444eb63">Mon Oct 2 10:38:33 2017 +0200</a> : <span class="comment">Resync with old svn content revisions 1809724..1810077 +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query.html b/documentation/bundles/sling-query.html index c7b5bcb..6d60a7c 100644 --- a/documentation/bundles/sling-query.html +++ b/documentation/bundles/sling-query.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Query - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>SlingQuery is a Sling resource tree traversal tool inspired by the <a href="http://api.jquery.com/category/traversing/tree-traversal/">jQuery</a> JavaScript API.</p> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>SlingQuery is a Sling resource tree traversal tool inspired by the <a href="http://api.jquery.com/category/traversing/tree-traversal/">jQuery</a> JavaScript API.</p> <h2><a href="#introduction" name="introduction">Introduction</a></h2> <p>The recommended way to find resources in the Sling repository is using tree-traversal methods, like <code>listChildren()</code> and <code>getParent()</code> rather than JCR queries. The latter are great for listing resources with given properties, but we can't leverage the repository tree structure with such queries. On the other hand, using tree-traversal method is quite verbose. Consider following code that takes an resource and returns its first ancestor, being <code>cq:Page</code>, with given <code>jcr:content/cq:template</code> attribute:</p> <pre><code>Resource resource = ...; @@ -130,7 +132,9 @@ $(resource).closest("cq:Page[jcr:content/cq:template=my/template]") <ul> <li>See the <a href="http://sling.apache.org/">Apache Sling website</a> for the Sling reference documentation. Apache Sling, Apache and Sling are trademarks of the <a href="http://apache.org">Apache Software Foundation</a>.</li> <li>Method names, selector syntax and some parts of documentation are inspired by the <a href="http://jquery.com/">jQuery</a> library.</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/basic-ideas.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/basic-ideas.html b/documentation/bundles/sling-query/basic-ideas.html index 74fe022..ec95680 100644 --- a/documentation/bundles/sling-query/basic-ideas.html +++ b/documentation/bundles/sling-query/basic-ideas.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Basic Ideas - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h3><a href="#collections" name="collections">Collections</a></h3> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h3><a href="#collections" name="collections">Collections</a></h3> <p><code>SlingQuery</code> class represents a collection of resources. Basic collection can be created explicitly via a dollar method:</p> <pre><code>$(resource1, resource2, resource3) </code></pre> @@ -124,7 +126,9 @@ for (Resource child : firstChild) { /* will display the first child */ } "[property=value][property2=value2]" // two attributes ":even" // modifier ":even:not(:first)" // two modifiers, the second one is nested -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/examples.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/examples.html b/documentation/bundles/sling-query/examples.html index 8735b4c..5e7cde3 100644 --- a/documentation/bundles/sling-query/examples.html +++ b/documentation/bundles/sling-query/examples.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Examples - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Get containing page (like [PageManager#getContainingPage](https://docs.adobe.com/docs/en/aem/6-3/develop/ref/javadoc/com/day/cq/wcm/api/PageManager.html#getContainingPage(org.apache.sling.api.resource.Resource)))</p> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Get containing page (like [PageManager#getContainingPage](https://docs.adobe.com/docs/en/aem/6-3/develop/ref/javadoc/com/day/cq/wcm/api/PageManager.html#getContainingPage(org.apache.sling.api.resource.Resource)))</p> <pre><code>$(resource).closest("cq:Page") </code></pre> <p>Get first ancestor with a given template</p> @@ -116,7 +118,9 @@ breadcrumbs = $(resource).parentsUntil( </code></pre> <p>Find children named <code>en</code> or <code>de</code></p> <pre><code>$(resource).children("#en, #de") -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/hierarchy-operators.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/hierarchy-operators.html b/documentation/bundles/sling-query/hierarchy-operators.html index c66ad4b..515a924 100644 --- a/documentation/bundles/sling-query/hierarchy-operators.html +++ b/documentation/bundles/sling-query/hierarchy-operators.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Hierarchy operators - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h3>Child operator (<code>parent > child</code>)</h3> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h3>Child operator (<code>parent > child</code>)</h3> <p>Select all direct child resources specified by <code>child</code> of resources specified by <code>parent</code></p> <pre><code>// find all richtext components placed directly into parsys resources $(resource).find('foundation/components/parsys > foundation/components/richtext') @@ -99,7 +101,9 @@ $(resource).closest('cq:Page').next('cq:Page') $(resource).closest('cq:Page ~ cq:Page') // alternative version $(resource).closest('cq:Page').nextAll('cq:Page') -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/methods.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/methods.html b/documentation/bundles/sling-query/methods.html index 61fe9a7..442d5f5 100644 --- a/documentation/bundles/sling-query/methods.html +++ b/documentation/bundles/sling-query/methods.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Method list - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h3><a href="#resource-resources-" name="resource-resources-">$(Resource... resources)</a></h3> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h3><a href="#resource-resources-" name="resource-resources-">$(Resource... resources)</a></h3> <p>Create a new SlingQuery object, using passed resources as an initial collection. Example:</p> <pre><code>$(resource); // a simple SlingQuery collection containing one resource </code></pre> @@ -202,7 +204,9 @@ $(resource).children().last().prevUntil("[jcr:title=Page]"); // return <p>Reduce the collection to a sub-collection specified by a given range. Both <code>from</code> and <code>to</code> are inclusive and 0-based indices. If the <code>to</code> parameter is not specified, the whole sub-collection starting with <code>from</code> will be returned.</p> <pre><code>// let's assume that resource have 4 children: child1, child2, child3 and child4 $(resource).children().slice(1, 2); // return child1 and child2 -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/modifiers.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/modifiers.html b/documentation/bundles/sling-query/modifiers.html index 4327e0d..f78a640 100644 --- a/documentation/bundles/sling-query/modifiers.html +++ b/documentation/bundles/sling-query/modifiers.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Modifiers - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h3><a href="#eq-index-" name="eq-index-">:eq(index)</a></h3> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h3><a href="#eq-index-" name="eq-index-">:eq(index)</a></h3> <p>Reduce the set of matched elements to the one at the specified 0-based index. Example:</p> <pre><code>$(...).find("foundation/components/richtext:eq(2)"); // find the third richtext in the subtree </code></pre> @@ -111,7 +113,9 @@ <h3><a href="#parent" name="parent">:parent</a></h3> <p>Reduce the set of the matched elements to those which have any descendant resource.</p> <pre><code>$(...).children(":parent]"); // get children resources containing any resource -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/operators.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/operators.html b/documentation/bundles/sling-query/operators.html index bf3c6db..7e0b30a 100644 --- a/documentation/bundles/sling-query/operators.html +++ b/documentation/bundles/sling-query/operators.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Operators - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h3>Contains <code>[name*=value]</code></h3> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h3>Contains <code>[name*=value]</code></h3> <p>Select resources that have property <code>name</code> containing <code>value</code>:</p> <pre><code>// select children pages titled 'foo', 'foo bar', 'bar foo bar', 'foofoofoo', etc. $(resources).children("cq:Page[jcr:content/jcr:title*=foo]") @@ -103,7 +105,9 @@ $(resources).children("cq:Page[jcr:content/jcr:title^=foo]") <h3>Has attribute <code>[name]</code></h3> <p>Select resources that have property <code>name</code>:</p> <pre><code>$(resources).find("[markerProperty]") -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/selectors.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/selectors.html b/documentation/bundles/sling-query/selectors.html index 27a0b1b..92fe004 100644 --- a/documentation/bundles/sling-query/selectors.html +++ b/documentation/bundles/sling-query/selectors.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Selectors - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Selector string are something between filters and content descriptors. Selector can filter resources by their <a href="#resource-type">type</a>, <a href="#resource-name">name</a>, <a href="#attributes">attributes</a> and <a href="#modifiers">additional modifiers</a>. They can be also <a href="#joining-selectors">chained together</a> to describe more sophisticated hierarchy structure or <a href="#combining-selectors">combined with comma</a>.</p> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Selector string are something between filters and content descriptors. Selector can filter resources by their <a href="#resource-type">type</a>, <a href="#resource-name">name</a>, <a href="#attributes">attributes</a> and <a href="#modifiers">additional modifiers</a>. They can be also <a href="#joining-selectors">chained together</a> to describe more sophisticated hierarchy structure or <a href="#combining-selectors">combined with comma</a>.</p> <h2><a href="#syntax" name="syntax">Syntax</a></h2> <p>Selector consists of four parts:</p> <h3><a href="#resource-type" name="resource-type">Resource type</a></h3> @@ -114,7 +116,9 @@ $(resource).children(":first"); // modifier can be used alone <h2><a href="#combining-selectors" name="combining-selectors">Combining selectors</a></h2> <p>You may specify any number of selectors to combine into a single result. Use comma to join a few conditions. Comma is treated as <code>OR</code> statement:</p> <pre><code>$(resource).children("#en, #de, #fr"); // return all direct children named `en` or `de` or `fr`. -</code></pre></section></div></div> +</code></pre></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-query/vs-jcr.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-query/vs-jcr.html b/documentation/bundles/sling-query/vs-jcr.html index 2b1f2d4..4f1b08a 100644 --- a/documentation/bundles/sling-query/vs-jcr.html +++ b/documentation/bundles/sling-query/vs-jcr.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » <a href="/documentation/bundles/sling-query.html">Sling Query</a> » </div> <h1 class="pagetitle"> Sling Query vs JCR - </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling Query is not meant to replace JCR queries (XPath, JCR-SQL, JCR-SQL2). It doesn't use indexes and generally in queries traversing large subtrees (like <code>/</code> or <code>/content</code> or <code>/content/mysite/en</code>) it'll be much slower than well written JCR query.</p> + </h1><div class="tags"><a href="/tags/slingquery.html" class="label">slingquery</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Sling Query is not meant to replace JCR queries (XPath, JCR-SQL, JCR-SQL2). It doesn't use indexes and generally in queries traversing large subtrees (like <code>/</code> or <code>/content</code> or <code>/content/mysite/en</code>) it'll be much slower than well written JCR query.</p> <p>Purpose of the SlingQuery is to provide a convenient way to traverse resource tree. All SlingQuery operations are eventually transformed into a series of <code>listChildren()</code> and <code>getParent()</code> operations [1].</p> <p>As a rule of thumb - if you have a complex Java loop reading resource children or parents and processing them somehow, rewritting it to SlingQuery will be a good choice. If you have a recursive method trying to get some resource ancestor, using SlingQuery will be a good choice. On the other hand, if you have a large resource subtree and want to find all <code>cq:Page</code>s, using SlingQuery is a bad choice.</p> <table> @@ -111,7 +113,9 @@ </tr> </tbody> </table> -<p>[1] - Actually, the <code>find()</code> operation uses QUERY strategy by default, which means that the selector string is transformed to a SQL2 query. However, the transformation process is very naïve and simply skips all conditions that can't be easily transformed to SQL2 (eg. selector <code>[jcr:content/jcr:title=some title]</code> won't be transformed as it contains some subresource reference). The result of this query is then filtere manually. See <a href="methods.html#searchstrategystrategy">searchStrategy</a> for more details.</p></section></div></div> +<p>[1] - Actually, the <code>find()</code> operation uses QUERY strategy by default, which means that the selector string is transformed to a SQL2 query. However, the transformation process is very naïve and simply skips all conditions that can't be easily transformed to SQL2 (eg. selector <code>[jcr:content/jcr:title=some title]</code> won't be transformed as it contains some subresource reference). The result of this query is then filtere manually. See <a href="methods.html#searchstrategystrategy">searchStrategy</a> for more details.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/sling-settings-org-apache-sling-settings.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/sling-settings-org-apache-sling-settings.html b/documentation/bundles/sling-settings-org-apache-sling-settings.html index 3578450..7cc2a28 100644 --- a/documentation/bundles/sling-settings-org-apache-sling-settings.html +++ b/documentation/bundles/sling-settings-org-apache-sling-settings.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Settings and Run Modes (org.apache.sling.settings) - </h1><div class="tags"><a href="/tags/configuration.html" class="label">configuration</a> <a href="/tags/runmodes.html" class="label">runmodes</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><h1><a href="#overview" name="overview">Overview</a></h1> + </h1><div class="tags"><a href="/tags/configuration.html" class="label">configuration</a> <a href="/tags/runmodes.html" class="label">runmodes</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><h1><a href="#overview" name="overview">Overview</a></h1> <p>The Sling Settings Bundle exposes the <code>SlingSettingsService</code> which allows access to the following information pertinent to a Sling instance:</p> <table> <thead> @@ -180,7 +182,9 @@ if(expectedRunModes.removeAll(currentRunModes)) { // is active } </code></pre> -<p>Getting run modes in this way is usually not needed, it's better to define bundles or configurations that are only valid in specific run modes, rather than making decisions in code based on run modes.</p></section></div></div> +<p>Getting run modes in this way is usually not needed, it's better to define bundles or configurations that are only valid in specific run modes, rather than making decisions in code based on run modes.</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/subsystem-installer-factory.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/subsystem-installer-factory.html b/documentation/bundles/subsystem-installer-factory.html index 1b6cc24..f6ede3a 100644 --- a/documentation/bundles/subsystem-installer-factory.html +++ b/documentation/bundles/subsystem-installer-factory.html @@ -72,13 +72,17 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Subsystems Installer Factory - </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The subsystems installer factory provides support for subsystems to the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The provisioning of artifacts is handled by installer providers like the file installer or the JCR installer.</p> + </h1><div class="tags"><a href="/tags/installer.html" class="label">installer</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The subsystems installer factory provides support for subsystems to the <a href="/documentation/bundles/osgi-installer.html">OSGI installer</a>. The provisioning of artifacts is handled by installer providers like the file installer or the JCR installer.</p> <h2><a href="#subsystems" name="subsystems">Subsystems</a></h2> <p>The subsystem file must end with ".esa" and the manifest must at least contain the subsystem symbolic name "Subsystem-SymbolicName" header.</p> <h1><a href="#project-info" name="project-info">Project Info</a></h1> <ul> <li>Subsystems installer factory (<a href="http://svn.apache.org/repos/asf/sling/trunk/installer/factories/subsystems">org.apache.sling.installer.factory.subsystems</a>)</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/validation.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/validation.html b/documentation/bundles/validation.html index 359b1bb..f0b8af0 100644 --- a/documentation/bundles/validation.html +++ b/documentation/bundles/validation.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Sling Validation - </h1><div class="tags"><a href="/tags/validation.html" class="label">validation</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> + </h1><div class="tags"><a href="/tags/validation.html" class="label">validation</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <p>Many Sling projects want to be able to validate both Resources and request parameters. Through the Sling Validation framework this is possible with the help of validation model resources which define validation rules for a certain resourceType.</p> <h1><a href="#prerequisites" name="prerequisites">Prerequisites</a></h1> @@ -312,7 +314,9 @@ public void validate() { <h1><a href="#references" name="references">References</a></h1> <ol> <li><a href="http://www.slideshare.net/raducotescu/apache-sling-generic-validation-framework">Apache Sling Generic Validation Framework, adaptTo 2014</a></li> -</ol></section></div></div> +</ol></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/web-console-extensions.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/web-console-extensions.html b/documentation/bundles/web-console-extensions.html index b6ac8fe..6e85e8d 100644 --- a/documentation/bundles/web-console-extensions.html +++ b/documentation/bundles/web-console-extensions.html @@ -72,7 +72,9 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> Web Console Extensions - </h1><div class="tags"><a href="/tags/webconsole.html" class="label">webconsole</a> <a href="/tags/operations.html" class="label">operations</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling project provides two extensions to the <a href="http://felix.apache.org/site/apache-felix-web-console.html">Apache Felix Web Console</a> (in addition to a number of plugins, of course):</p> + </h1><div class="tags"><a href="/tags/webconsole.html" class="label">webconsole</a> <a href="/tags/operations.html" class="label">operations</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>The Apache Sling project provides two extensions to the <a href="http://felix.apache.org/site/apache-felix-web-console.html">Apache Felix Web Console</a> (in addition to a number of plugins, of course):</p> <p><!-- TODO reactivate TOC once JBake moves to flexmark-java --> </p> <h2><a href="#branding-org-apache-sling-extensions-webconsolebranding-" name="branding-org-apache-sling-extensions-webconsolebranding-">Branding (org.apache.sling.extensions.webconsolebranding)</a></h2> @@ -114,7 +116,9 @@ </table> <p>Note, that while the default value explicitly grants the <em>admin</em> user to access the Web Console it is suggested that system administrators define a special group and assign users with Web Console access to this group.</p> <h3><a href="#authentication-handling" name="authentication-handling">Authentication Handling</a></h3> -<p>As long as the web console security provider bundle is not activate and has not installed one of the above mentioned services, the default authentication of the web console is used. Once the bundle is active and a JCR repository service is available, the repository is used for authentication as explained above. But still the login form of the web console is used which is usually basic authentication. Once startup is finished and a Sling authentication service is available as well, the security provider replaces the JCR repository based auth provider with a Sling based auth provider. Both authenticate against the JCR repository, however the Sling based one using Sling to render the login form. Therefore, this provider is not registered until startup is finished</p></section></div></div> +<p>As long as the web console security provider bundle is not activate and has not installed one of the above mentioned services, the default authentication of the web console is used. Once the bundle is active and a JCR repository service is available, the repository is used for authentication as explained above. But still the login form of the web console is used which is usually basic authentication. Once startup is finished and a Sling authentication service is available as well, the security provider replaces the JCR repository based auth provider with a Sling based auth provider. Both authenticate against the JCR repository, however the Sling based one using Sling to render the login form. Therefore, this provider is not registered until startup is finished</p></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. http://git-wip-us.apache.org/repos/asf/sling-site/blob/47a72f1d/documentation/bundles/xml-support.html ---------------------------------------------------------------------- diff --git a/documentation/bundles/xml-support.html b/documentation/bundles/xml-support.html index 96eff02..1f8ebb1 100644 --- a/documentation/bundles/xml-support.html +++ b/documentation/bundles/xml-support.html @@ -72,12 +72,16 @@ </div> <div class="main"> <div class="breadcrumbs"><a href="/">Home</a> » <a href="/documentation.html">Documentation</a> » <a href="/documentation/bundles.html">Bundles</a> » </div> <h1 class="pagetitle"> XML support - </h1><div class="tags"><a href="/tags/xml.html" class="label">xml</a> </div><div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script><div class="row"><div class="small-12 columns"><section class="wrap"><p>Out of the box, Sling provides no special bundles for XML. However, Sling supports multiple mechanisms and libraries. The ones we have validated with integration tests are:</p> + </h1><div class="tags"><a href="/tags/xml.html" class="label">xml</a> </div> +<div id="generatedToC"></div><script src='/res/jquery-3.2.1.min.js' type='text/javascript'></script><script src='/res/tocjs-1-1-2.js' type='text/javascript'></script><script type='text/javascript'>$(document).ready(function() { $('#generatedToC').toc({'selector':'h1[class!=pagetitle],h2,h3'}); } );</script> +<div class="row"><div class="small-12 columns"><section class="wrap"><p>Out of the box, Sling provides no special bundles for XML. However, Sling supports multiple mechanisms and libraries. The ones we have validated with integration tests are:</p> <ul> <li>XPath ( see the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/XpathServlet.java">XPathServlet</a> )</li> <li>SAX ( see the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/SaxServlet.java">SaxServlet</a> )</li> <li>DOM ( see the <a href="http://svn.apache.org/repos/asf/sling/trunk/launchpad/test-services/src/main/java/org/apache/sling/launchpad/testservices/servlets/DomServlet.java">DomServlet</a> )</li> -</ul></section></div></div> +</ul></section></div></div> +<div class="revisionInfo">Last modified by <span class="author">Bertrand Delacretaz</span> on <a href="https://github.com/apache/sling-site/commit/ab134cc">Fri Sep 29 15:57:01 2017 +0200</a> : <span class="comment">Quick pass at adding tags to all pages - probably needs refining +</span></div> <div class="footer"> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
