Author: kwin
Date: Wed Apr 20 16:04:08 2016
New Revision: 1740163

URL: http://svn.apache.org/viewvc?rev=1740163&view=rev
Log:
clarify that sling:internalRedirect may be a multi-value property

Modified:
    
sling/site/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.mdtext

Modified: 
sling/site/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.mdtext
URL: 
http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.mdtext?rev=1740163&r1=1740162&r2=1740163&view=diff
==============================================================================
--- 
sling/site/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.mdtext
 (original)
+++ 
sling/site/trunk/content/documentation/the-sling-engine/mappings-for-resource-resolution.mdtext
 Wed Apr 20 16:04:08 2016
@@ -16,7 +16,7 @@ When dealing with the new resource resol
 * `sling:match` – This property when set on a node in the `/etc/map` 
tree (see below) defines a partial regular expression which is used instead of 
the node's name to match the incoming request. This property is only needed if 
the regular expression includes characters which are not valid JCR name 
characters. The list of invalid characters for JCR names is: `/, :, [, ], *, ', 
", \, |` and any whitespace except blank space. In addition a name without a 
name space may not be `.` or `..` and a blank space is only allowed inside the 
name.
 * `sling:redirect` – This property when set on a node in the `/etc/map` 
tree (see below) causes a redirect response to be sent to the client, which 
causes the client to send in a new request with the modified location. The 
value of this property is applied to the actual request and sent back as the 
value of `Location` response header.
 * `sling:status` – This property defines the HTTP status code sent to 
the client with the `sling:redirect` response. If this property is not set, it 
defaults to 302 (Found). Other status codes supported are 300 (Multiple 
Choices), 301 (Moved Permanently), 303 (See Other), and 307 (Temporary 
Redirect).
-* `sling:internalRedirect` – This property when set on a node in the 
`/etc/map` tree (see below) causes the current path to be modified internally 
to continue with resource resolution.
+* `sling:internalRedirect` – This property when set on a node in the 
`/etc/map` tree (see below) causes the current path to be modified internally 
to continue with resource resolution. This is a multi-value property, i.e. 
multiple paths can be given here, which are tried one after another until one 
resolved to a resource.
 * `sling:alias` – The property may be set on any resource to indicate an 
alias name for the resource. For example the resource `/content/visitors` may 
have the `sling:alias` property set to `besucher` allowing the resource to be 
addressed in an URL as `/content/besucher`.
 
 #### Limitation of `sling:alias` for Principal with a limited access


Reply via email to