use com.adobe.cq.sightly.WCMUsePojo from obfuscated-apis. following dependency- <dependency> <groupId>com.adobe.aem</groupId> <artifactId>uber-jar</artifactId> <version>6.1.0</version> <scope>provided</scope> <classifier>obfuscated-apis<...
This seems a classic java python integration use case. I hope following would be helpful-http://stackoverflow.com/questions/1119696/java-python-integrationhttp://www.jython.org/jythonbook/en/1.0/JythonAndJavaIntegration.html
you can include reusable part from other dialog as following- <newtab jcr:primaryType="cq:Widget" path="/apps/common/components/page/common_tab.infinity.json" xtype="cqinclude"/>
you have defined your servlet to respond to POST requests but it looks like you are doing a GET. try adding GET to methods as followingmethods = { "GET", "POST" }if you still get error. look into error.log to find out what happened.
whenever a deactivate button/option is clicked (either from sidekick or siteadmin). it is eventually handled by (AFAIK) CQ.wcm.SiteAdmin.internalDeactivatePage function which in turn makes a call to /bin/replicate.json servlets that deactivates the page.you can override that function to do your stuf...
Try this:connect to your cq jmx port via jconsole. (jconsole is located at $jdk_home/bin/jconsole). open jconsole. connect to your CQ instance from the available process. then in the Mbeans tab see if your MBean is registered there. it will also help determine if anything is wrong with the objectnam...