On 3 Jan 2009, at 05:07, Felix Meschberger wrote:
"If the selected resource has no special resource type a script
will be
looked up based on the content path. For example, the script for
/content/corporate/jobs.html will be searched in /apps/corporate."
You have to make sure, the "Sample Path Based Resource Type Provider"
(samples/path-based-rtp) is installed.
Ok, I found the configuration for DefaultResourceTypeProvider.
However, looking at the source for this component, it seem to be used
only for node types of type nt:unstructured?
http://svn.apache.org/repos/asf/incubator/sling/trunk/samples/path-based-rtp/src/main/java/org/apache/sling/samples/pathbasedrtp/DefaultResourceTypeProvider.java
--
Torgeir Veimo
torg...@pobox.com