Author: kwin
Date: Fri Jan 22 13:50:22 2016
New Revision: 1726211
URL: http://svn.apache.org/viewvc?rev=1726211&view=rev
Log:
clarify when validation can be used
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=1726211&r1=1726210&r2=1726211&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/models.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/models.mdtext Fri Jan 22
13:50:22 2016
@@ -320,7 +320,7 @@ You can use the attribute `validation` o
`OPTIONAL` | validate the resource bound to the Model (if a validation model
is found) | Model not instantiated | Model instantiated | Model not instantiated
In case the model is not instantiated an appropriate error message is logged
(if `adaptTo()` is used) or an appropriate exception is thrown (if
`ModelFactory.createModel()` is used).
-Validation is only supported on models which are adapted from a `Resource` and
if the Sling Validation Bundle is deployed.
+Validation is only supported on models which are adapted from either
`Resource` or `SlingHttpServletRequest` and if the Sling Validation Bundle is
deployed.
# Custom Injectors