Author: bdelacretaz Date: Mon Dec 15 07:17:04 2008 New Revision: 726709 URL: http://svn.apache.org/viewvc?rev=726709&view=rev Log: Warn against missing java scripting module
Modified: incubator/sling/trunk/samples/javashell/src/main/resources/initial-content/apps/javashell/javashell.esp Modified: incubator/sling/trunk/samples/javashell/src/main/resources/initial-content/apps/javashell/javashell.esp URL: http://svn.apache.org/viewvc/incubator/sling/trunk/samples/javashell/src/main/resources/initial-content/apps/javashell/javashell.esp?rev=726709&r1=726708&r2=726709&view=diff ============================================================================== --- incubator/sling/trunk/samples/javashell/src/main/resources/initial-content/apps/javashell/javashell.esp (original) +++ incubator/sling/trunk/samples/javashell/src/main/resources/initial-content/apps/javashell/javashell.esp Mon Dec 15 07:17:04 2008 @@ -94,6 +94,11 @@ <p class="note">The <a href="<%= fileNode.getPath() %>">complete source code</a> of the generated servlet is available.</p> <h2>Result of execution</h2> + <p class="note"> + If the block below is rendered by the <em>HtmlRendererServlet</em> instead of displaying + the result of executing the above code, it probably means that the <em>Sling - Scripting - Java Support</em> + bundle is not installed or not active. + </p> <pre><% sling.include(currentNode.getPath(), "replaceSelectors=" + servlet.id + ", forceResourceType=javashell/" + servletFolderName); %></pre> </div> </body>