Solved
beforeinsert / beforechildinsert cq:listener does not fire up
Hi!
I have the following cq:editConfig file:
<?xml version="1.0" encoding="UTF-8"?><jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="cq:EditConfig"><cq:listeners jcr:primaryType="cq:EditListenersConfig" afteredit="REFRESH_PAGE" beforeinsert="function (){ return OrderModule.prototype.checkCountBeforeAdd(); }" beforedelete="function (){ return OrderModule.prototype.checkCountBeforeRemove(); }" /></jcr:root>
'beforedelete' event is fired up ok, but 'beforeinsert' doesn't not fire up, 'beforechildinsert' neither.
Could you please direct me to the correct direction?
Thank you in advance.