You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2007/12/18 13:07:05 UTC

svn commit: r605198 - in /incubator/sling/trunk/sling/sample/src/main: resources/SLING-INF/content/sling/scripts/sling/SampleContent/html.jsp scripts/sling/scripts/org/apache/sling/sample/html.jsp

Author: fmeschbe
Date: Tue Dec 18 04:07:00 2007
New Revision: 605198

URL: http://svn.apache.org/viewvc?rev=605198&view=rev
Log:
SLING-134 Use ResourceResolver instead of ResourceManager, which has
  been removed.

Modified:
    incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sling/scripts/sling/SampleContent/html.jsp
    incubator/sling/trunk/sling/sample/src/main/scripts/sling/scripts/org/apache/sling/sample/html.jsp

Modified: incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sling/scripts/sling/SampleContent/html.jsp
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sling/scripts/sling/SampleContent/html.jsp?rev=605198&r1=605197&r2=605198&view=diff
==============================================================================
--- incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sling/scripts/sling/SampleContent/html.jsp (original)
+++ incubator/sling/trunk/sling/sample/src/main/resources/SLING-INF/content/sling/scripts/sling/SampleContent/html.jsp Tue Dec 18 04:07:00 2007
@@ -30,7 +30,7 @@
 <p><%= sampleContent.getText() %></p>
 <table border="1" cellpadding="3" cellspacing="0">
 <%
-	Iterator<Resource> ci = resourceManager.listChildren(resource);
+	Iterator<Resource> ci = resourceResolver.listChildren(resource);
 	while (ci.hasNext()) {
 		Resource child = ci.next();
 		%><tr><td><sling:include resource="<%= child %>" /></td></tr><%

Modified: incubator/sling/trunk/sling/sample/src/main/scripts/sling/scripts/org/apache/sling/sample/html.jsp
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/sample/src/main/scripts/sling/scripts/org/apache/sling/sample/html.jsp?rev=605198&r1=605197&r2=605198&view=diff
==============================================================================
--- incubator/sling/trunk/sling/sample/src/main/scripts/sling/scripts/org/apache/sling/sample/html.jsp (original)
+++ incubator/sling/trunk/sling/sample/src/main/scripts/sling/scripts/org/apache/sling/sample/html.jsp Tue Dec 18 04:07:00 2007
@@ -29,7 +29,7 @@
 <p><%= sampleContent.getText() %></p>
 <table border="1" cellpadding="3" cellspacing="0">
 <%
-	Iterator<Resource> ci = resourceManager.listChildren(resource);
+	Iterator<Resource> ci = resourceResolver.listChildren(resource);
 	while (ci.hasNext()) {
 		Resource child = ci.next();
 		%><tr><td><sling:include resource="<%= child %>" /></td></tr><%