This conversation has been locked due to inactivity. Please create a new post.
This conversation has been locked due to inactivity. Please create a new post.
In particular, while at the moment I can define a listener like this:
<linkDialogConfig>
<listeners
jcr:primaryType="nt:unstructured"
show="function() { MyNamespace.myChangeListener(); }"/>
I cannot define it like this:
<linkDialogConfig>
<listeners
jcr:primaryType="nt:unstructured"
show="MyNamespace.myChangeListener"/>
Is there a way to just pass the function literal rather than having to wrap it inside a function() { } expression?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Going back to your original question, you must use a function() {} expression.
Regards,
Justin
Views
Replies
Total Likes
Listeners are documented here: http://docs.adobe.com/content/docs/en/aem/6-0/develop/components.html#cq:listeners
Views
Replies
Total Likes
Hi,
Going back to your original question, you must use a function() {} expression.
Regards,
Justin
Views
Replies
Total Likes
That is not the same listeners node.
I am referring to dialog.xml listeners for Rich Text Editor's linkDialogConfig, e.g.
<linkDialogConfig jcr:primaryType="nt:unstructured" height="{Long}123" x="{Long}123" y="{Long}123"> <listeners jcr:primaryType="nt:unstructured" show="function() { ... }"/>
Thanks.
Views
Replies
Total Likes
All information including supported events for the Rich Text Editor can be found here:
http://dev.day.com/docs/en/cq/current/widgets-api/index.html?class=CQ.form.RichText
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies