how can get all the components used on the current page
how can list of components being used on current page using javascript. have tried cq.wcm.getcomponentlist(cq.wcm.getpagepath()) seems list components available.
environment cq 5.5 update 1, widnows 7
you have remember once in js, able retrieve markup or representations of dom. markup result of combination of components, technically "server only" concept. components way cq organize executable code, once page rendered component isn't thing. closest thing can think of list of divs represent component wrapper on page, error prone , clunky. make ajax calls server retrieve list of components node name, approach not return synthetic resources (ones render, not have node representing them).
why trying this? maybe has better idea, has bad smell me.
More discussions in Archived Spaces
adobe
Comments
Post a Comment