Displaying warning message to authors when adding Asset to the page
Please tell me If there is a way to provide a warning message to the authors if an author tries to add an asset to a page
Please tell me If there is a way to provide a warning message to the authors if an author tries to add an asset to a page
Here is another way to implement your use case. You can use the PageEvent class to write app logic that is fired when someone modifies a page. See:
http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/api/PageEvent.html
To see an example of this Java class -- see this example that comes with CQ:
/apps/geometrixx/src/impl/src/main/java/com/day/cq/wcm/apps/geometrixx/impl/PageEventListener.java
Good luck.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.