On Mon, Sep 8, 2008 at 11:58 AM, Carsten Ziegeler (JIRA)
<[EMAIL PROTECTED]> wrote:

> ...This can be done by adding a new mixin: sling:VanityUrl
> which has two properties: vanityUrl (which has in the example above the value 
> /products)
> and redirect which is a boolean indication if a redirect should be done or if 
> the content should
> be directly displayed....

Could we also use this to select the resource to display when / is accessed?

Currently we're setting a redirect URL on the root node for this, but
there might be several candidates for /, maybe in a priority order:
display the Sling default homepage, unless there's an application
homepage that has more priority, unless a script has been created to
show a menu of homepages and has more priority, etc.

What you suggest sounds good for this, except that we might need an
additional "priority" property, to be able to resolve conflicts
without having to ask users.

WDYT?

-Bertrand

Reply via email to