Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
I have added a custom checkbox to the page properties and am attempting to invoke a servlet when the author checks this checkbox.
ICurrently searching for the precise code or file that needs to be overridden within the 'apps' directory in order to call the servlet.
Solved! Go to Solution.
@Nilesh_Mali
You can give a unique class name at checkbox field as below. and write jQuery event .
and then in the JS file add a function, to handle the select option on this field
$(document).on("selected", ".cq-dialog-layout", function() {
// ajax call to make servlet
}
Thanks ,
Siva
View solution in original post
Hi @Nilesh_Mali
Instead of overriding in apps file. You can create a clientlibrary which will call a servlet on the checkbox event. Since you have created a custom property you can have a custom class or id name for checkbox.
Views
Likes
Replies