Defining method for cq:listeners | Community
Skip to main content
Level 3
October 16, 2015
Solved

Defining method for cq:listeners

  • October 16, 2015
  • 1 reply
  • 579 views

Hi, 

Could any one please suggest how to define our methods for cq:listeners.(afteredit, afterdelete... for these methods).

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC
  • Define an javascript method in your  client library
  • make sure the library is included in your page
  • call the method in cq:listener
  • There are lot of example oob. On of them at /libs/cq/flow/components/step/start/cq:editConfig/cq:listeners

1 reply

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015
  • Define an javascript method in your  client library
  • make sure the library is included in your page
  • call the method in cq:listener
  • There are lot of example oob. On of them at /libs/cq/flow/components/step/start/cq:editConfig/cq:listeners