since ‎05-12-2012
Christoph_Walte
Level 1
Re: register sling model exporter at cq:Page with custom...
Avatar

Christoph_Walte

Christoph_Walte
- Adobe Experience Manager
But a model is tied to a specific resourcetype?! The 'model' selector only forwards the request to the sling-model if there is a model registered at the resourcetype of the pages content-resource.

Views

2.3K

Likes

0

Replies

0
Re: register sling model exporter at cq:Page with custom...
Avatar

Christoph_Walte

Christoph_Walte
- Adobe Experience Manager
This is not using the sling-model-exporter framework at all. And worse: It responds to all cq:Pages i.e. default-get-servlet and not only to specific page-resourcetypes!

Views

2.2K

Likes

0

Replies

0
register sling model exporter at cq:Page with custom selector
Avatar

Christoph_Walte

Christoph_Walte
- Adobe Experience Manager
We are currently working with a headless approach and I'm trying to estimate pros & cons of having more selectors in addition to 'model' at the cq:Page component. After digging through the request log and basically discovering what @Jörg_Hoh also mentioned here: https://cqdump.wordpress.com/2019/01/07/how-does-sling-resolve-an-aem-page-to-the-correct-resource-type/ some special magic included within the cq:Page component redirects requests with special selector 'model' to the page-content where ...

Views

4.2K

Likes

0

Replies

6
Re: Sling Resource Merger and granite tab including
Avatar

Christoph_Walte

Christoph_Walte
- Adobe Experience Manager
I had some trouble while using Sling Resource Merger & includes too (in 6.1 though). From my experience I can say: don't use both together! Either use the Resource Merging mechanism or includes separately.

Views

848

Like

1

Replies

0
Re: minifying JS and CSS in 6.2 causing errors
Avatar

Christoph_Walte

Christoph_Walte
- Adobe Experience Manager
Great hint!!!I wonder that I can't find any reference to this within the official docs. Did I miss this feature at the 6.2 release-notes or somewhere else?

Views

2.0K

Like

1

Replies

0
Likes from