When I select "OK" in a component editor dialog, the component redraws itself, assuming I've got the _cq_editConfig.xml set up:
<cq:listeners
jcr:primaryType="cq:EditListenersConfig"
afteredit="REFRESH_SELF"/>
What I'd like to do is trigger "afteredit" via javascript. I've got a situation where the content has been changed and the author should have an updated view of the rendered component, but I don't know how to do this short of reloading the entire page or opening and closing the edit dialog. Presumably, the function that is represented by the "REFRESH_SELF" constant could be called, but I don't know how to trace the constant back to the function.
Does anyone know how to trigger afteredit from javascript?