RE: ResourceProvider not invoked when provider root path is called with HTML extension

2014-01-13 Thread Olaf Otto
Hello Apparently, the behavior that the root path with .html extension was not resolved at all was due to some persistent invalid internal state of the resource resolver. After modifying an arbitrary resolver setting, the root resource is now resolved (I re-installed Sling and the entire applicati

RE: ResourceProvider not invoked when provider root path is called with HTML extension

2014-01-13 Thread Olaf Otto
Hello, Thank you for the quick replies! The /child2 path is exclusively provided by the custom resource provider. Would anyone know a hint why this just happens in case of a .html extension? There must be some other actor influencing this behavior. Kind regards, Olaf -Original Message- F

Re: ResourceProvider not invoked when provider root path is called with HTML extension

2014-01-13 Thread Felix Meschberger
Hi As Alex said, this is not expected, but … Do you happen to have a node /content/child1/child2.html in the repository ? If so, this would overwrite the ResourceProvider because it has a full path match as opposed to just …/child2. Regards Felix Am 13.01.2014 um 14:09 schrieb Olaf Otto : >

Re: ResourceProvider not invoked when provider root path is called with HTML extension

2014-01-13 Thread Alexander Klimetschek
On 13.01.2014, at 13:09, Olaf Otto wrote: > However, when > calling /content/child1/child2.html, the resource provider is never asked > for a resource. This seems wrong - when you register the provider under root /content/child1/child2 it should be asked for the resource as part of the resourc

ResourceProvider not invoked when provider root path is called with HTML extension

2014-01-13 Thread Olaf Otto
Hi all, I have created a resource provider adding content as children into a tree of existing JCR content, like this: /content/child1 ß JCR content /content/child1/child2 ß Provided by ResourceProvider This works as expected: child2 is returned as a child of child1, and invoking /cont

Creating Synthetic resource with both path and metadata

2014-01-13 Thread connuser1 connuser1
Hi Why isn't there a way to create a Synthetic resource with both path and metadata? Currently it has only 2 constructors: *SyntheticResource