since ‎27-09-2013
‎10-12-2019
viren_pushpanay
Level 2
Sling Dynamic Include (SDI) and AEM 6.1 viren_pushpanay - Adobe Experience Manager
Hi All,I am in the process of migration from AEM 5.6.1 to 6.1. In AEM 6.1 when SDI (2.0.4) is enabled my custom Servlet filters don't get executed. I have increased the ranking on my filters but still now luck.Has anyone experienced this issue before?Thank you.Cheers,Viren.
428
Views
0
Likes
3
Answers and Comments
Building AEM projects with Gradle viren_pushpanay - Adobe Experience Manager Forms
Hello,Has anyone built an AEM project with Gradle instead of Maven? If yes, please share your experience.Thank you.Cheers,Viren.
294
Views
0
Likes
1
Answers and Comments
Re: AEM 6: Extending the link dialog in RTE Component viren_pushpanay - Adobe Experience Manager Forms
Hi Sebastian, did you manage to extend the link plugin? If so please share your solution with me.Than you.Cheers,Viren.http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.html/forum__txmk-how_do_i_addanaddi.html
715
Views
0
Likes
0
Answers
Does the dispatcher cache files with no extension? viren_pushpanay - Adobe Experience Manager
Hi All,Does the the dispatcher in AEM cache files without an extension?Thank you.Cheers,Viren.
653
Views
0
Likes
2
Answers and Comments
setProperty("Name", String[]) viren_pushpanay - Adobe Experience Manager
Hi, When I use the method setProperty("Name", String[]) only the Name and type are added to the JCR. The Value is empty. But if I use setProperty("Name", "Value") everything is fine. pageResource = page.adaptTo(Resource.class); Resource jcrContentResource = pageResource.getChild(JcrConstants.JCR_CONTENT); Node pageNode = jcrContentResource.adaptTo(Node.class); try { String[] tempIds = ids.toArray(new String[ids.size()]); pageNode.setProperty("cq:tags", tempIds); LOG.debug("Stuff of tags: "+tempI...
390
Views
0
Likes
2
Answers and Comments
Building AEM projects with Gradle viren_pushpanay - Adobe Experience Manager
Hello,Has anyone built an AEM project with Gradle instead of Maven? If yes, please share your experience.Thank you.Cheers,Viren.
1705
Views
0
Likes
2
Answers and Comments
Generated class files from JSPs location viren_pushpanay - Adobe Experience Manager
Hi,Where are the generated .class files found in the file system? I am using a windows system.Thank you.Cheers,Viren.
165
Views
0
Likes
1
Answers and Comments
How to read Content ( .json) from the content tree from within a Servlet viren_pushpanay - Adobe Experience Manager
How do I get the content of a node as a JSON string from within a Servlet?Example /content/xxx/customerOrders/2013/11/19/1311191099999.json Thank you.Cheers,Viren.
164
Views
0
Likes
1
Answers and Comments
design_dialog viren_pushpanay - Adobe Experience Manager
Hi,How do I create a text component as a design_dialog? I need to have a place to hold a text that will be the same for the whole website.Thank you.Cheers,Viren.
813
Views
0
Likes
1
Answers and Comments
Reverse replication viren_pushpanay - Adobe Experience Manager
Hi,How do I reverse replicate content that is not under the "usergenerated"? All examples I see say to put the content inside the "usergenerated" but the content I have is not generated by the user and I don't want to put in there.Thank you.Viren.
208
Views
1
Like
2
Answers and Comments
Re: Application specific properties for different environments viren_pushpanay - Adobe Experience Manager
Thanks for the reply. What I want is how to access properties, just as you would when using Java property files.
258
Views
0
Likes
0
Answers
Application specific properties for different environments viren_pushpanay - Adobe Experience Manager
Hi,I need to have a few properties that are application specific and different for to each environment. I currently maintain the properties as a java properties file but feel that using runmode configuration is the way to go. I have found a few articles that have described how to set OSGI configuration values based on the run mode. Please point me to any article or code that will help me.Thank youViren.
300
Views
0
Likes
3
Answers and Comments
Customise RTE Link plugin viren_pushpanay - Adobe Experience Manager
Hi,How do I add an additional checkbox to the hyperlink dialog? (The hyperlink dialog is opened by clicking the hyperlink icon on the RTE dialog). Please see attached diagram.Thank you.
278
Views
0
Likes
1
Answers and Comments
setProperty("Name", String[]) viren_pushpanay - Adobe Experience Manager
Hi, When I use the method setProperty("Name", String[]) only the Name and type are added to the JCR. The Value is empty. But if I use setProperty("Name", "Value") everything is fine. pageResource = page.adaptTo(Resource.class); Resource jcrContentResource = pageResource.getChild(JcrConstants.JCR_CONTENT); Node pageNode = jcrContentResource.adaptTo(Node.class); try { String[] tempIds = ids.toArray(new String[ids.size()]); pageNode.setProperty("cq:tags", tempIds); LOG.debug("Stuff of tags: "+tempI...
1300
Views
0
Likes
2
Answers and Comments
How to add an error page to a CQ5 project? viren_pushpanay - Adobe Experience Manager
Hi,I want to add an error page to a CQ5 project. In normal circumstances I would addjava.lang.Throwable/error.jsp to the web.xml and in the error.jsp insert the <%@ page isErrorPage="true" %> How do I do it in CQ5?Thank you.Cheers,Viren.
1115
Views
0
Likes
2
Answers and Comments
How do I programmatically (in a JSP) set as 'selected' an item in a dropdown? viren_pushpanay - Adobe Experience Manager
Hi,How do I programmatically (in a JSP) set as 'selected' an item in a dropdown? Following is my code. I have a list of countries in the dropdown and want a country to be selected based on a value passed to the JSP.Thank you.Cheers,Viren.
162
Views
0
Likes
1
Answers and Comments
Re: Dispatch request to a page component from Servlet viren_pushpanay - Adobe Experience Manager
What I did was use the SlingHttpServletRequestWrapper class to convert the form method to GET from POST and then dispatch it. The below code worked for me.org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper req = new org.apache.sling.api.wrappers.SlingHttpServletRequestWrapper(request) { public String getMethod() { return "GET"; } }; String path = "/content/mycompany/shippingDetails.html"; javax.servlet.RequestDispatcher dispatcher = request.getRequestDispatcher(path); dispatcher.includ...
320
Views
0
Likes
0
Answers
Dispatch request to a page component from Servlet viren_pushpanay - Adobe Experience Manager
Hi,How to I dispatch a request to a page component (JSP)? I get the following error javax.jcr.nodetype.ConstraintViolationException: no matching property definition found for {}country. I don't want the country value to be persisted.The code I used to dispatch from the servlet is:RequestDispatcher dispatcher = request.getRequestDispatcher("/content/mycompany/cars/audi/a4.html");dispatcher.forward(request, response);Thanks you.Cheers,Viren.
594
Views
0
Likes
3
Answers and Comments
How to add external jars in to the OSGI bundle? viren_pushpanay - Adobe Experience Manager
Hello,I am planning on using Jackson to process JSON. How can I include Jackson libraries in to the OSGI bundle? I am using IntelliJ. Adding the Jackson library as a Maven dependency does not work.Thank you.Cheers,Viren.
3413
Views
1
Like
3
Answers and Comments
Form validation viren_pushpanay - Adobe Experience Manager
Is there any recommended way to perform form validations in a sling Servlet? I was thinking of using Spring Validation framework, please let me know your thoughts on this.Note: I am not using form builder, just plain HTML forms. Thank you.Cheers,Viren.
186
Views
0
Likes
2
Answers and Comments
Re: How do you create a SOAP service in CQ5 (AEM) viren_pushpanay - Adobe Experience Manager
Thanks mate. I rather go with the 2nd option as the 1st seems to be too much of a hack.
414
Views
0
Likes
0
Answers
How do you create a SOAP service in CQ5 (AEM) viren_pushpanay - Adobe Experience Manager
Does anyone know how to publish a SOAP service in CQ5? Found the following link but this looks more like a hack. Is there any other way to do it?
1739
Views
0
Likes
6
Answers and Comments
Re: Submit form to Servlet CQ5 viren_pushpanay - Adobe Experience Manager
Thanks a lot Johan for the quick reply. It works. 
335
Views
0
Likes
0
Answers
Submit form to Servlet CQ5 viren_pushpanay - Adobe Experience Manager
I created a Servlet call ShippingDetailsServlet.java and deployed it. I need to submit a HTML form to it. I am not sure what path I should put in the form action. Below is the form. Country: Quantity: Please let me know what path should I give for the form action so that it can be submitted to the Servlet. Below is the Servlet. package mycompany.servlets; import org.apache.felix.scr.annotations.Properties; import org.apache.felix.scr.annotations.Property; import org.apache.felix.scr.annotati...
1242
Views
1
Like
3
Answers and Comments
Rewriting jcr:content to _jcr_content viren_pushpanay - Adobe Experience Manager
I have an attribute within a DIV tag thats needs to be rewritten (). I tried all steps in the below articles but no success.http://stackoverflow.com/questions/23673616/how-to-add-additional-element-to-htmlparser-generatorhttp://stackoverflow.com/questions/26220078/sling-mapping-rewrite-rules-do-not-rewrite-jcrcontent-pathshttp://helpx.adobe.com/experience-manager/using/creating-link-rewrite.htmlPlease let me know if there is a way that I can do it. I know that for standard html tags it's done OO...
679
Views
0
Likes
2
Replies
Unable to access repo.adobe.com via maven viren_pushpanay - Adobe Experience Manager
Hi,I get the following error when I do a build using maven. This stared a few days back.Failed to read artifact descriptor for com.adobe.aem:aem-api:jar:6.0.0.1: Could not transfer artifact com.adobe.aem:aem-api:pom:6.0.0.1 from/to adobe (http://repo.adobe.com/nexus/content/groups/public/): Received fatal alert: handshake_failure Tried the below to solve the issue but no successImported the certificate a trustedForced Maven to ignore SSL issuesIs anybody else facing the same issue?Thank you.Chee...
634
Views
0
Likes
2
Answers and Comments
Re: Replication of /etc/design/projectname viren_pushpanay - Adobe Experience Manager
Thanks Sham for your prompt reply. Why does the design stuff not get replicated when I use page activate? What is the recommended way to replicate design files?Thank you.Cheers,Viren.
293
Views
0
Likes
0
Answers
Replication of /etc/design/projectname viren_pushpanay - Adobe Experience Manager
Hi,I want to replication changes that are made on a design_dialog to my publish instance. I wrote a launcher to do the replication but this replicates as soon as there is a change in node. I want to only replicate when the author clicks page activation.My launcher users the activate content workflow.Thank you.Cheers,Viren.
560
Views
0
Likes
5
Answers and Comments
Likes from