@Mario248 : You want to make a servlet call when you opened a component dialog right . So that you can write a JS as below inside you can make ajax call to your servlet. (function ($, $document) {"use strict";$document.on("dialog-ready", function() {alert('Its coming here on dialog open');});})($, $...