You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2007/09/19 22:03:49 UTC

[Jackrabbit Wiki] Update of "ApacheSling/SlingGuideDefaultMappings" by edgarpoce

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by edgarpoce:
http://wiki.apache.org/jackrabbit/ApacheSling/SlingGuideDefaultMappings

The comment on the change is:
ScriptedComponent nodetype must start with upper case

------------------------------------------------------------------------------
  
  To summarize, for rapid development you will have to execute the following steps:
  
-    1. Create a {{{sling:scriptedComponent}}} node, for example at {{{/some/sample/component}}}
+    1. Create a {{{sling:ScriptedComponent}}} node, for example at {{{/some/sample/component}}}
     1. Create a JSP script file at {{{jsp/start.jsp}}} below that node; that would be {{{/some/sample/component/jsp/start.jsp}}} in the example
     1. Create one or more nodes of any type, for example {{{nt:unstructured}}}, which have a single value string property named {{{sling:componentId}}} referring to the component via its path
     1. Request the node by typing its path in your browser's address field