Slice AEM/CQ Addons - 4.0
Since Slice version 3.1, AEM/CQ related modules have been extracted to separate group named com.cognifide.slice-addon. There are also separate versions of modules depending on AEM/CQ version.
Currently there are two versions of CQ/AEM add-on which are compatible with Slice 4.0:
AEM 6.0 - https://github.com/Cognifide/Slice-AEM60 - by Slice AEM60 Add-on, version 1.0.0
CQ 5.6/5.6.1 - https://github.com/Cognifide/Slice-CQ56 - by Slice CQ 5.6 Add-on, version 2.0.0
CQ 5.5 - https://github.com/Cognifide/Slice-CQ55 currently not supported with Slice 4.0. Let us know if you need it!
What Slice AEM/CQ Add-ons gives you ?
Handy, injectable objects and annotations providing useful objects specific to particular version of AEM/CQ. Objects which you can use (inject) in your class are contained in below table
Class | Annotation | Description | Module |
|---|---|---|---|
| - | CQ's |
|
|
| A page which contains current resource. It doesn't have to correspond to requested page. |
|
|
| Path to a current page |
|
|
| A page which contains originally requested resource. |
|
|
| Path to a requested page |
|
| - | Asset adapted from current resource. |
|
| - | Current WCMMode assigned with the request |
|
|
| Path to a template of current page. |
|