On Tue, Dec 10, 2013 at 1:01 PM, Carsten Ziegeler <cziege...@apache.org> wrote: > ...For alternate rendering we can use a resource decorator - instead of using > different scripts for the same resource type, the decorator returns a > resource which has a different resource type. This would require zero > changes to the script handling....
Yes, that's what my HideResourceDecorator prototype [1] does. -Bertrand [1] http://svn.apache.org/repos/asf/sling/whiteboard/bdelacretaz/feature-flags/src/main/java/org/apache/sling/extensions/featureflags/api/HideResourceDecorator.java