You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2013/05/16 11:18:35 UTC

svn commit: r1483270 - /sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext

Author: bdelacretaz
Date: Thu May 16 09:18:34 2013
New Revision: 1483270

URL: http://svn.apache.org/r1483270
Log:
fix lists formatting

Modified:
    sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext

Modified: sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext
URL: http://svn.apache.org/viewvc/sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext?rev=1483270&r1=1483269&r2=1483270&view=diff
==============================================================================
--- sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext (original)
+++ sling/site/trunk/content/documentation/the-sling-engine/resources.mdtext Thu May 16 09:18:34 2013
@@ -25,8 +25,9 @@ The general algorithm of the two methods
 1. Check whether any virtual path matches the absolute path. If such a match exists, the next step is entered with the match.
 1. Apply a list of mappings in order to create a mapped path. The first mapped path resolving to a Resource is assumed success and the Resource found is returned.
 1. If no mapping created a mapped path addressing an existing Resource, the method fails and returns:
- * The `resolve(String)` and `resolve(HttpServletRequest,String)` methods return a `NonExistingResource`
- * The `getResource(String path)` and `getResource(Resource base, String path)` methods return null
+
+   * The `resolve(String)` and `resolve(HttpServletRequest,String)` methods return a `NonExistingResource`
+   * The `getResource(String path)` and `getResource(Resource base, String path)` methods return null
 
 The virtual path mapping may be used to create shortcut URLs for otherwise long and complicated URLs. An example of such an URL might be the main administrative page of a CMS system. So, administrators may access the root of the web application and directed to the main administrative page.