Sounds reasonable, this would be in line with the usage of sling:resourceType.

Carsten

2013/2/20 Felix Meschberger <[email protected]>:
> Hi all
>
> I just noticed that the query to setup vanity path configurations is like 
> this:
>
>> SELECT sling:vanityPath, sling:redirect, sling:redirectStatus
>>   FROM sling:VanityPath
>>   WHERE sling:vanityPath IS NOT NULL
>>   ORDER BY sling:vanityOrder DESC
>
> Which means that to enable a vanity path the respective node must have the 
> sling:VanityPath mixin property set.
>
> I think the mixin should be used to help configure the vanity path properties 
> but it should not be a requirement to configure such paths. Thus I think the 
> FROM part should actually read:
>
>> FROM nt:base
>
> Thus accepting any node provided the properties are set.
>
> WDYT ?
>
> Regards
> Felix



-- 
Carsten Ziegeler
[email protected]

Reply via email to