[
https://issues.apache.org/jira/browse/SLING-3511?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dirk Rudolph updated SLING-3511:
--------------------------------
Attachment: rewriter-selectors-support.patch
I implemented the feature for our project and created a patch for current trunk
of contrib/extensions/rewriter. Any comments would be appreciated.
> Support selectors for pipeline configuration
> --------------------------------------------
>
> Key: SLING-3511
> URL: https://issues.apache.org/jira/browse/SLING-3511
> Project: Sling
> Issue Type: Improvement
> Components: Extensions
> Affects Versions: Extensions Rewriter 1.0.4
> Reporter: Dirk Rudolph
> Priority: Minor
> Fix For: Extensions Rewriter 1.0.6
>
> Attachments: rewriter-selectors-support.patch
>
>
> Currently paths, contentTypes, extensions and resourceTypes are available for
> filtering pipeline configurations. I would be appreciated when filtering by
> selector would also be possible.
> We have an intranet/internet application that sends newsletters to different
> groups of users. Some of the users have to access the links provided in the
> generated mails trough a portal application. Due to some other rewriting we
> apply to the links it is necessary to append a prefix to the links in the
> last step of output rewriting but only for a special selector (we use
> someresource.mail.html as representation of the "this is a mail" view).
--
This message was sent by Atlassian JIRA
(v6.2#6252)