[ 
https://issues.apache.org/jira/browse/SLING-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529567
 ] 

Felix Meschberger commented on SLING-17:
----------------------------------------

ScriptedComponent extends Component which is defined in the sling-core bundle 
as follows:

[sling:Component] > nt:base,mix:referenceable

  - sling:contentClass (String)
        = 'org.apache.sling.jcr.content.DefaultContent'
    copy mandatory autocreated
  
  + sling:extensions (sling:ExtensionList)
    = sling:ExtensionList
    copy
  
  // allow for any children  
  + * (nt:base)

Therefore, ScriptComponent allows for any child node of any type and therefore 
creating a "jsp" folder below the ScriptedComponent node should be possible.

Do you get any exceptions/logs ?

> unable to create node to match default script path
> --------------------------------------------------
>
>                 Key: SLING-17
>                 URL: https://issues.apache.org/jira/browse/SLING-17
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Edgar Poce
>            Assignee: Felix Meschberger
>            Priority: Minor
>
> the definition bellow doesn't allow to create the node required by the 
> default script (jsp/start.jsp), the node called jsp can't be created under a 
> ScriptedComponent node.
> [sling:ScriptedComponent] > sling:Component
>   - sling:baseComponent (String)
>       copy
>       
>   + sling:scripts (sling:ScriptList)
>     = sling:ScriptList
>     copy

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to