Hello
my custom component doesn't fire the afterinsert event on Granite UI.
The listeners configuration is
afteredit = function () { console.log('afteredit'); }
afterinsert = function () { console.log('afterinsert'); }
(This are tests function, what I need is to use REFRESH_PAGE)
both events fire well on Classic UI, but afterinsert event doesn't work on Granite UI
Do you have a clue to help me resolve that ?
Is there a way I can debug this event ?
Thank you for your answer
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
I have tried what you said and I'm able to get the alert.
I tried below -
I have created cq:editConfig and under that I have created cq:listeners and added property afterinsert. To this I have added
function(){alert("Hi");}
I'm getting the alert.
Thanks,
AryA.
Views
Replies
Total Likes
Here is Granite API docs:
http://docs.adobe.com/docs/en/cq/current/touch-ui/granite-reference.html
Now if events are not firing in your code where its suppose to be firing - it may be a bug. If this continues - please file a bug -
http://helpx.adobe.com/marketing-cloud/experience-manager.html
Views
Replies
Total Likes
Here is Granite API docs:
http://docs.adobe.com/docs/en/cq/current/touch-ui/granite-reference.html
Now if events are not firing in your code where its suppose to be firing - it may be a bug. If this continues - please file a bug -
http://helpx.adobe.com/marketing-cloud/experience-manager.html
Views
Replies
Total Likes
Hi. afterinsert is working fine for me in touch-ui view with REFRESH_PAGE. For u it's not working with REFRESH_PAGE? I will check it with ur functions and let u know.
Views
Replies
Total Likes
I have a component that has a parsys inside of it.
If the parsys is included in the sightly html component file; afterinsert is not fired.
As soon as I remove the parsys from the component it fires. Please help!
Views
Replies
Total Likes
Hi,
I have tried what you said and I'm able to get the alert.
I tried below -
I have created cq:editConfig and under that I have created cq:listeners and added property afterinsert. To this I have added
function(){alert("Hi");}
I'm getting the alert.
Thanks,
AryA.
Views
Replies
Total Likes
Views
Likes
Replies