Whenever we submit or cancel a dialog for any particular component what piece of code exactly works there. Any sources from where I can get a complete understanding about this.
According to my understanding it comes from "/libs/cq/gui/components/authoring/dialog/clientlibs/dialog/js".
Is it correct?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @Manasi29
I believe this is the JSP responsible to process further
/libs/cq/gui/components/authoring/dialog/dialog.jsp
However, I couldn't found any documentation which explains the flow, but you can try understanding by debugging using developer tool.
Regards,
Santosh
Hi @Manasi29
I believe this is the JSP responsible to process further
/libs/cq/gui/components/authoring/dialog/dialog.jsp
However, I couldn't found any documentation which explains the flow, but you can try understanding by debugging using developer tool.
Regards,
Santosh
Hi @Manasi29 -
When you submit a dialog, the properties entered into the dialog will be saved to that particular component using a POST call to the specific component path on the page. You can observe this in the Network tab of your browser Dev tools.
Additionally, all clientlibs that have been marked with the category 'cq.authoring.dialog' and the custom clientlibs included as 'extraClientLibs' on your dialog get executed.
Views
Likes
Replies
Views
Like
Replies