You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/19 18:20:43 UTC

[jira] Commented: (SLING-259) Bundle based Resource should be able to adapt to Repository Item

    [ https://issues.apache.org/jira/browse/SLING-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570316#action_12570316 ] 

Felix Meschberger commented on SLING-259:
-----------------------------------------

Implemented support in the BundleResource class to adapt to Node and Property in Rev. 629166.

It is probably still to be decided whether generalized support for JCR "shine-through" might be a good thing:

   * If the BundleResource represents a folder (nt:folder by default) let the underlying Repository Item shine
          through such that adaptTo adapts to Node or Property and the resource type is actually the resource
          type of the underlying node. Likewise the URL and InputStream would actually point to the underlying
          repository item.

   * If the BundleResource represents a file (nt:file) the underlying JCR item should probably be completly
         hidden. Likewise the URL and InputStream point to the bundle file resource.

WDYT ?


> Bundle based Resource should be able to adapt to Repository Item
> ----------------------------------------------------------------
>
>                 Key: SLING-259
>                 URL: https://issues.apache.org/jira/browse/SLING-259
>             Project: Sling
>          Issue Type: Improvement
>          Components: Resource
>            Reporter: Dominique Jäggi
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> When using bundle based Resources, items stored in the repository may be hidden by the actual bundle resources. This is ok for file-like resources but might be problematic in some situations for folders.
> It would probably be helpfull, if bundle based resources would be able to adapt to repository items if an item would exist at the path of the resource.

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