Hi,

On Mon, Mar 23, 2009 at 9:10 PM, Tyson Norris <[email protected]> wrote:
> ... Similarly, sling requires (albeit fewer)
> special nodes to help dictate rendering (correct me if I'm wrong on
> this...).....

The sling:resourceType property is the standard way of telling Sling
how to process a resource, but it's not the only one.

The sample bundle at [1] demonstrates a way of generating this
information based on the resource path, requiring no special
repository data. Custom implementations should not be a problem - you
basically just need an OSGi service that implements
JcrResourceTypeProvider, as in that example which is just one java
class.

-Bertrand

[1] 
http://svn.apache.org/repos/asf/incubator/sling/trunk/samples/path-based-rtp/

Reply via email to