LESS Implementation and Usage in CQ5.5
CQ 5.5 now supports LESS framework in ClientLibs. I couldn't find any documentation on how this is done in CQ 5.5. Do I still need to include less.js on the client side or is there a server side...
View ArticleHow to get href="tel:phonnumber" working? (click on a link and call on mobile)
Hi, I am trying to develop a component for a mobile website which allows users to click on a link and make a phone call on the mobile device. I have tried to use the following code : <a...
View ArticleServlet sample "navimage.png.java" from CQ5-Docu "How to get fully featured...
When working on the sample described in "How to create a fully featured Website", I got an error in the part "Creating the Top Navigation Component". I have discussed this at the page itself (see the...
View ArticleHow to check whether a page is published?
Hi I have a requirement where i need to check a page and print its published date only if the page is published and active. How can i acheive this exactly? What properties in the CRX exactly will...
View ArticleSAML 2.0 Granite SSO authenticator in AEM 5.6
There are only two resource availble for SAML 2.0 SSO...
View Articleservletengine Unable to send back last chunk: Software caused connection...
I have created a bundle for the class com.xxx.cq.wcm.foundation.profile.impl.TnailImages from the foundation file com.day.cq.wcm.foundation.profile.impl.ProfileImages.Here are the changes I made ot...
View ArticleAccess CQ page from J2EE JSP-servlets application
I have a JSP-servlets application which is deployed on tomcat.Now from my html I need to make web(Ajax) call and call the CQ5 webpage(which is entirely running in CQ instance). When i click on submit...
View ArticleCorrect Syntax for Reteriving Current Template
I've been reading over the documentation and I'm have a difficult time getting the template being used on the current page. In my component, all I want to do is use an IF statement to see if template...
View ArticleHow to change the server-agent value
Hi Everyone , We are facing a small challenge in our project and we don’t want a code change right now for the fix (A code change can definitely solve the issue).Let us know if any way we can achieve...
View Articledisabling a multifield based on selection
Hi rush_pawan,I have three tabs dynamically created with the help of ur your suggestion given above. It works fine. I have another requirement. If i select one tab amongt the three, there is a drop...
View ArticleCan I use view frameworks like JSF in CQ5?
For the components I develop for CQ, I'd like to replace JSP as templating framework by another technology, e.g. JSF.Is this possible?If yes, how can I do that? Regards,Benno
View ArticleHow to capture comments and read in next participent steps in Workflow?
I want to capture comments in one of the participent steps of my workflow and read them in the next step . Please share some suggestions on it .I have added a from step as the participent step but it...
View ArticleHow to allow ONLY drag-and-drop of DAM-images? (forbid image upload to parsys)
I'm using a copy of the image-fondation-component (/apps/foundation/components/image/cq:editConfig/cq:dropTargets/image) with accepts image/* and groups media. Now I want to configure the image...
View ArticleHow to get the nodes from session through java program?
Hi, I would like to get the nodes from session objects through java program. I wrote the program like this, package com.mycomp.node; import javax.jcr.Node;import javax.jcr.NodeIterator;import...
View ArticleReplication does not work
I click on "Test connection " button in Default Agent (publish). I got this error. Anyone know why, can you help me.? This is CQ5 5.5.19.03.2013 08:47:45 - Create new HttpClient for Default...
View ArticleXSLT Transformations cannot be performed on CQ
Is it possible to programmatically run XSLT transformations in CQ from withing a sling JSP component? When i try, i get stuck while trying to get a javax.xml.transform.Transformer instance from my...
View Articledate in JSP with date picker
Hi,I am trying to select date through component dialog so that that can be shown in JSP.I dont want to use Calender component . though i am able toget the result through datefield, but i am not able...
View ArticleDispatcher Flush Agent on Publisher not invalidating cache
Hi all, We're having an issue with invalidating that cache apon activation/replication of content, but only from the Publish flush agent. I've copied the default flush agent on the Publish instance,...
View ArticleCustom JS widget not loaded on siteadmin page
Hi, I have created a custom multifield widget (CustomWidget.js) in my clientlibs, which is integrated into a custom tab in the page properties. <information...
View ArticleParse json data from inputstream using org.apache.sling.commons.json library
I had two options to receive the input stream data either xml or json. I decided to go to the json route. I am getting complex input data from an API in the json format. Can someone tell me how do I...
View Article