Hello Team,
I have a proxy component, which refers to core/cif/components/structure/breadcrumb/v1/breadcrumb (Note: This component doesnot have any html file)
This CIF breadcrumb refers to: core/wcm/components/breadcrumb/v2/breadcrumb
So, I went to the loction: /libs/core/wcm/components/breadcrumb/v2/breadcrumb/breadcrumb.html
Deleted this html file (Also, tried with deleting the html file content).
Still, my proxy breadcrumb component was displaying the data. Note: Deleted the v1/breadcrumb/breadcrumb.html as well.
Wanted to check, how come this is displayed?
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
The core component deploy scripts as precompiled bundled scripts. This allows developers to precompile their scripts at build-time.
This is happening because the HTL scripts are pre-compiled, stop the bundle aem-precompiled-scripts, which provides precompile scripts and you will see the changes immediately.
hope this help to understand why you can't see the changes.
I've just deleted /apps/core/wcm/components/breadcrumb/v2/breadcrumb/breadcrumb.html, and as expected, the component is not rendered anymore.
Besides v2 does not have sling:resourceSuperType, so I don't see a direct relationship with /apps/core/wcm/components/breadcrumb/v1/breadcrumb.
Are you sure the relationships you mentioned are based on properties sling:resourceSuperType?
Hi @giuseppebag
I am using AEM as a cloud service in local. I mean different jar, where core components are part of /libs/core, not /apps/core.
Thanks
Views
Replies
Total Likes
In my local AEMasCS, I have the following chain: /apps/core/cif/components/structure/breadcrumb/v1/breadcrumb > /apps/core/wcm/components/breadcrumb/v2/breadcrumb > No more sling:resourceSuperType.
Can you explain how your components are placed under libs? What "different jar" means?
Views
Replies
Total Likes
The core component deploy scripts as precompiled bundled scripts. This allows developers to precompile their scripts at build-time.
This is happening because the HTL scripts are pre-compiled, stop the bundle aem-precompiled-scripts, which provides precompile scripts and you will see the changes immediately.
hope this help to understand why you can't see the changes.
Views
Likes
Replies
Views
Likes
Replies