Author: kwin
Date: Wed Apr  5 09:00:26 2017
New Revision: 1790193

URL: http://svn.apache.org/viewvc?rev=1790193&view=rev
Log:
SLING-6727 validatedResourceType -> validatingResourceType

Modified:
    sling/site/trunk/content/documentation/bundles/validation.mdtext

Modified: sling/site/trunk/content/documentation/bundles/validation.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/bundles/validation.mdtext?rev=1790193&r1=1790192&r2=1790193&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/bundles/validation.mdtext (original)
+++ sling/site/trunk/content/documentation/bundles/validation.mdtext Wed Apr  5 
09:00:26 2017
@@ -68,7 +68,7 @@ The resources should have the following
 Property/Resource Name      | Property or Resource |  Type   |  Description   
|  Mandatory   |  Example 
 -------------------- | ------- | -------------- | -------------| --------- | 
------
 `sling:resourceType` | Property | `String` | Always `sling/validation/model`, 
otherwise model will never be picked up by Sling Validation. | yes | 
`sling/validation/model`
-`validatedResourceType` | Property | `String` | The resource type of the 
resource for which this validation model should be applied. Must always be 
relative (i.e. not start with a "/"). | yes | `my/own/resourcetype` 
+`validatingResourceType` | Property | `String` | The resource type of the 
resource for which this validation model should be applied. Must always be 
relative to the resource resolver's search path (i.e. not start with a "/"). | 
yes | `my/own/resourcetype` 
 `applicablePaths` | Property |  `String[]` | Path prefixes which restrict the 
validation model to resources which are below one of the given prefixes. No 
wildcards are supported. If not given, there is no path restriction. If there 
are multiple validation models registered for the same resource type the one 
with the longest matching applicablePath is chosen. | no | `/content/mysite`
 `properties\<propertyName>` | Resource | - | This resource ensures that the 
property with the name `<propertyName>` is there. The resource name has no 
longer a meaning if the property `nameRegex` is set on this node. | no | `false`
 `properties\<propertyName>\optional` | Property | `Boolean` | If `true` it is 
not an error if there is no property with the given `<propertyName>` or none 
matching the  `nameRegex`. If not set or `false` the property must be there.  | 
no | `false`


Reply via email to