Since Slice version 3.1, CQ related modules have been extracted to separate group named com.cognifide.slice-addon
. There are also separate versions of modules depending on CQ version.
Currently there are three versions of CQ/AEM supported:
- CQ v.5.5 - https://github.com/Cognifide/Slice-CQ55 - by Slice CQ 5.5 Addon, version 1.0.0
- CQ v.5.6 - https://github.com/Cognifide/Slice-CQ56 - by Slice CQ 5.6 Addon, version 1.0.1
- AEM60 - https://github.com/Cognifide/Slice-AEM60 - by Slice AEM60 Addon, version 1.0.0
Tutorial to Slice CQ Addons
What Slice Addons gives you ?
Handy, injectable annotations providing useful objects specific to particular version of CQ/AEM
Annotation | Returns | |
---|---|---|
@CurrentPage | com.day.cq.wcm.api.Page | Current page |
@CurrentPagePath | String | Current page path |
@RequestedPage | String | |
@RequestedPagePath | String | |
@CurrentTemplatePath | String |