You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2008/02/26 11:35:51 UTC

[jira] Closed: (SLING-277) Support redirection

     [ https://issues.apache.org/jira/browse/SLING-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-277.
-----------------------------------

    Resolution: Fixed

Implemented the feature in Rev. 631164.

Additional note: The sling:redirect property may be a string being the path of the resource to redirect to or a REFERENCE property referring to the JCR node to redirect to.

> Support redirection
> -------------------
>
>                 Key: SLING-277
>                 URL: https://issues.apache.org/jira/browse/SLING-277
>             Project: Sling
>          Issue Type: New Feature
>          Components: Launchpad
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: 2.0.0
>
>
> Add support to redirect a request to a another location. This is used to enable simple redirection of the root node to another location, such as an index.html page.
> The implementation is based around this functionality:
>    * Default a new resource type "sling:redirect"
>    * Add a servlet handling GET requests to sling:redirect resources
>    * To be able to dump sling:redirect resources in JSON, handle these resources for .json requests in the JSON renderer
>    * Define a mixin node type sling:Redirect extending sling:Resource defining the sling:redirect property

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.