This is an automated email from the ASF dual-hosted git repository.
kwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-site.git
The following commit(s) were added to refs/heads/master by this push:
new 588dfb0 SLING-7321 document new behaviour of ChildResourceViaProvider
of being able to deal with SlingHttpServletRequest as well
588dfb0 is described below
commit 588dfb0f497a560f044fa71731481dc13f5f8680
Author: Konrad Windszus <[email protected]>
AuthorDate: Mon Jan 15 16:45:21 2018 +0100
SLING-7321 document new behaviour of ChildResourceViaProvider of being
able to deal with SlingHttpServletRequest as well
---
src/main/jbake/content/documentation/bundles/models.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/jbake/content/documentation/bundles/models.md
b/src/main/jbake/content/documentation/bundles/models.md
index 31269e5..f4afca3 100644
--- a/src/main/jbake/content/documentation/bundles/models.md
+++ b/src/main/jbake/content/documentation/bundles/models.md
@@ -596,7 +596,7 @@ As discussed in the [Via](#via) section above, it is
possible to select a differ
`@Via` type value | Description
----------------------------- | ------------------------------
`BeanProperty` (default) | Uses a JavaBean property from the adaptable.
-`ChildResource` | Uses a child resource from the adaptable,
assuming the adaptable is a `Resource`.
+`ChildResource` | Uses a child resource from the adaptable,
assuming the adaptable is a `Resource`. In case the adaptable is a
`SlingHttpServletRequest` uses a wrapper overwriting the `getResource()` to
point to the given child resource
([SLING-7321](https://issues.apache.org/jira/browse/SLING-7321)).
`ForcedResourceType` | Creates a wrapped resource with the provided
resource type. If the adaptable is a `SlingHttpServletRequest`, a wrapped
request is created as well to contain the wrapped resource.
`ResourceSuperType` | Creates a wrapped resource with the resource
type set to the adaptable's resource super type. If the adaptable is a
`SlingHttpServletRequest`, a wrapped request is created as well to contain the
wrapped resource.
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].