Error when trying to consume OSGI Service
Hi Everyone, This is my first post after attending the developer and advanced developer courses on CQ5.5. Everything has been fine up to the point where I am trying to create and consume an OSGI...
View ArticleReport framework requires at least one grouped column
A Report requires at least one grouped column, otherwise finish button will lead to "The report doesn't contain grouped columns".Is it possible to configure a report not to require grouping?
View ArticleHow can you re-size an image on the fly in CQ?
How can you re-size an image on the fly in CQ? I have a few components that are using the image associated with a page, but all the components require a different size but same aspect ratio of the...
View ArticleHow do I automatically publish new content added to DAM?
My customer wants content that is placed in DAM in authoring to be activated and moved to publish when it is placed in authoring. They are adding content using the Sling post servlet. They been given...
View ArticleBest practices for Full fledged CQ5 Development environment
Hi All, I am working on CQ5.5. The following environemnt we areusing for development. CRXDELite < - > Eclipse Java Content Repository Perspective < - > VLT Check-in/Check out <->...
View ArticleWebservice response encoding issue in CQ5
Hi, We have implemented a RESTful webservice client in CQ5 using Apache Jersey. We have run into an encoding issue in the webservice response for special characters.Special characters in Swedish &...
View ArticleDisabling a tab in a dialog dynamically
I have a dialog with three tabs. There is a selection dropdown on first tab. Based on what selection I make here, one of the second or third tab should be greyed out. So that the user only has one tab...
View ArticleHow to access XSSAPI from custom jsp Java class?
Hi, I am creating a custom tag library using http://www.cqblueprints.com/xwiki/bin/view/Blue+Prints/Writing+A+JSP+Custom+Tag+Library to produce XSS-proof links from my custom components. I have taken...
View Articlesling:ResourceSuperType foundation/components/page
Hi Everybody, I'm new to CQ and really enjoying it. I have a question if someone can please help? Can anyone help me understand how sling resolves a page component that has a resourceSuperType of...
View ArticleDAM image on publish instance to be accessible by anonymous user
Hi all, I have setup a CQ publising instance, and the image at /content/dam/ are returning the 403 erros, and kept redirect me to the sling login page./system/sling/cqform/defaultlogin.html?resource=...
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 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 ArticleHow to Synchronize LDAP groups in CRX
Hello, Help needed urgently. I am trying to authenticate Active directory group using LDAP authentication. The aim of this is to be able to authenticate this group using LDAP and synchronize this...
View ArticleBackground rollouts in CQ5.5
Dear all, I am currently trying to get behind the execution of a rollout task as a background task. The official cq5 documentation states, that the rollout task is splitted into jobs. As far as I...
View ArticleHiding Parsys in Edit Mode
Hello, I'm building a tabbed component and I'm having trouble hiding the parsys section for inactive tabs using CSS styling (whether visibility or display). Even though I set the visibility of the...
View Articleaccessing/stroing file from/to DAm programatically
how do I write java code to upload a file in DAM ? How Do I retrieve a file from DAM to save/export on local system. ?
View Articleform and post as a method to send request parameter?
Hi all, I have question about best practice in the CQ to send between 2 pages a parameter using a post method in the form. I have simple form on page.html like: <form action="page_2.html"...
View ArticleMultiple smartimage widgets in a component dialog
Is there a way to have multiple smartimage widgets in a single dialog? Specifically I'm struggling with the requestSuffix parameter. Most of the other ones I can adapt to get the second widget to save...
View ArticleAEM 5.6 - Sling Osgi Config Issue
Hi,I have created config node with type of sling:osgiConfig inside my application and was able to fetch the values successfully based on the run mode. But the problem is if update the values for any...
View ArticleNo cache invalidation when statsfilelevel > 0 and JCR Resource Resolver URL...
IF :JCR Resource Resolver [1] is used to allow requests missing the initial /content ANDDispatcher has a /statsfilelevel greater than 0 THEN It is impossible for dispatcher to invalidate...
View Article