Author: tomekr
Date: Mon Sep 25 10:43:58 2017
New Revision: 1809602
URL: http://svn.apache.org/viewvc?rev=1809602&view=rev
Log:
SLING-6676: Get more documentation for Sling Query
Fixed broken links in the Sling Query documentation.
Modified:
sling/site/trunk/content/documentation/bundles/sling-query/examples.mdtext
sling/site/trunk/content/documentation/bundles/sling-query/selectors.mdtext
Modified:
sling/site/trunk/content/documentation/bundles/sling-query/examples.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/sling-query/examples.mdtext?rev=1809602&r1=1809601&r2=1809602&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/sling-query/examples.mdtext
(original)
+++ sling/site/trunk/content/documentation/bundles/sling-query/examples.mdtext
Mon Sep 25 10:43:58 2017
@@ -1,6 +1,6 @@
Title: Examples
-Get containing page (like
[PageManager#getContainingPage](http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/PageManager.html))
+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)))
$(resource).closest("cq:Page")
Modified:
sling/site/trunk/content/documentation/bundles/sling-query/selectors.mdtext
URL:
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/sling-query/selectors.mdtext?rev=1809602&r1=1809601&r2=1809602&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/sling-query/selectors.mdtext
(original)
+++ sling/site/trunk/content/documentation/bundles/sling-query/selectors.mdtext
Mon Sep 25 10:43:58 2017
@@ -30,7 +30,7 @@ will return only children of type `cq:Pa
$(resource).children("cq:Page[jcr:content/jcr:title*=title]")
-See the [fulll list of operators](Operator list).
+See the [fulll list of operators](operators.html).
### Modifiers
@@ -50,11 +50,11 @@ and
In the first case we create a new collection consisting of children of the
`resource1` and `resource2` and then we get the first element of the merged
collection. On the other hand, the second example takes *first child* of each
resource and creates a collection from them.
-See the [full list of modifiers](Modifier list).
+See the [full list of modifiers](modifiers.html).
## Joining selectors
-Selectors can be joined together using [hierarchy operators](Hierarchy
operator list). This feature enables the developer to create sophisticated
filters describing desired resource structure, eg.:
+Selectors can be joined together using [hierarchy
operators](hierarchy-operators.html). This feature enables the developer to
create sophisticated filters describing desired resource structure, eg.:
$(resource).children("cq:Page foundation/components/parsys >
foundation/components/richtext")