Hi Sumit, I am not sure why the custom message is not getting shown in your application. Please view the below community article where a similar kind of implementation is there which is same as above.https://helpx.adobe.com/experience-manager/using/tips-tricks.htmlThanksTuhin
I think that might be because your listener code is not executing properly.Please place one alert message inside the if statement to see if it is executing at all. if the alert message from the if statement is not coming try using the below code and see. function(dialog){ var value = this.findById...
this below piece code works for me, last one had a typo, if you have copied and pasted that exactly then it might be of some problem. if(Value.length > 0){ CQ.Ext.Msg.show({ title: 'markInvalid', msg: 'The scheduled end date must be set after the scheduled start...
Try the below one for custom error message.CQ.Ext.Msg.show({ title:'Save Changes?', msg: 'You are closing a tab that has unsaved changes. Would you like to save your changes?',icon: CQ.Ext.MessageBox.ERROR, buttons: CQ.Ext.Msg.ERROR, });ThanksTuhin
Most probably this is happening because some of your application CSS might be overriding some of CQ's default CSS classes. Kindly debug in your chrome and see what is that class which is creating that problem.ThanksTuhin
I agree with leeasling,But if you want to access your servlet by those two paths only then thats fine, its only that by the logs you have attached it seems you are trying to access it from a parent path which is not mapped anywhere in OSGI to any servlet. Thus you are getting this exception. Not sur...