> I would like to propose to create a ResourceWrapper class in the Sling > API, which is just a simple wrapper around a delegatee resource > analogous to what we have for servlet requests and responses. This > simplifies the creation of pseudo-resources, for example to create > resource based on another resource but with a different resource type. great.
> Second, I propose to move the SyntheticResource class from the > jcr/resource project to the Sling API because this class is by now way > related to a JCR repository. Rather it is very usefull in general > projects. could the synthetic resource be more intelligent? i would be very convenient if it could adapt to node (if the node at the path exists.) i suggest a: ResourceResolver.createSynthetic(String path, String resorceType); regards, toby -- -----------------------------------------< [EMAIL PROTECTED] >--- Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel T +41 61 226 98 98, F +41 61 226 98 97 -----------------------------------------------< http://www.day.com >---
