Switch foundation parsys to Sighly parsys
I want to switch from the old foundation parsys to the Sightly parsys without having to update the existing content we have.
I first tried the ACS Commons Delegating Servlet:
<?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="sling:OsgiConfig" prop.target-resource-type="wcm/foundation/components/parsys" sling.servlet.extensions="html" sling.servlet.methods="GET" sling.servlet.resourceTypes="foundation/components/parsys" sling.servlet.selectors=""/>
But this doesn't work.
Then I tried adding an overlay directly in the JCR
/apps/foundation/component/parsys
This works but I need to copy the all the code in to it (from wcm/foundation/components/parsys). I can't use the sling:superResourceType as wcm/foundation/components/parsys.