add a resourcetype to pages created by PagePersistenceStrategy
At the moment the pages created by the PagePersistenceStrategy are no real pages in an AEM sense, but just have the required node structure from a JCR point of view. Most notably these pages lack a resource type.
It would be great if the PPS could add a (customizable) resourcetype.
(I imagine that we could then invoke the wcm.io configuration editor with it, and so be able to edit the configuration stored in the very page. Not sure if that's easily possible, but even a simple rendering script would be helpfull.)
Looks good, thanks!
there is a new resourceType configuration property in the OSGi configuration of "AEM Page" persistence strategy.
you also need to update the OSGi configuration to prevent the sling:resourceType property to be overwritten when persisting configuration data:
as a starting point we could allow to configure a resource type for the cqage nodes that are created below /conf.
assigning the wcm.io caconfig editor resource type will not work, it's not designed that way.
we could add a simple set of rendering scripts that is the default value for the resource type, they just output the configuration data.