Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Browsing all 12476 articles
Browse latest View live

Only a type can be imported. org.apache.felix.scr.annotations.Component...

I copied the example code exactly, but it won't compile. I receive errors on all the annotations, like:"Only a type can be imported. org.apache.felix.scr.annotations.Component resolves to a...

View Article


How to get SlingScriptHelper in servlet?

I need to get a SlingScriptHelper instance from within my servlet. Either a ComponentContext or BundleContext will do as well, as my only goal is to get sling services using it. Using SCR @Reference...

View Article


Cache not invalidated after package replication

Hi all, I've noticed that when I install and replicate packages from my Author instance that modify existing files, the cache of the dispatcher does not get invalidated.  I understand that I need to...

View Article

form 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 Article

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 Article


Image may be NSFW.
Clik here to view.

Some bad patterns in CQ?

A good technology often makes it easy to do the "right thing" While the "right thing" is a highly controversial subject and conventional wisdom can often turn out wrong, and it can be unclear what...

View Article

CQ5.4, about compiled jsp files

Hi guys, I have problems with caching and compiled versions, this is because of installing a package on a publish server with an older version of the same web app. This is CQ5.4, so I read you...

View Article

How to add a document to the JCR Repository via Java API

I'm trying to get started with the JCR 2.0 " Content Repository Java Technology API Specification" It's really a great document but I miss a minimum of examples to visualize how it is all fits...

View Article


How can I create a design dialog for a component that is site wide and not...

How would I use design dialogs on a componet to create a global setting and not a setting that is bound per template?  I want to save a property for a component globably and not have 5 different...

View Article


i18n - how to add support for more languages (CQ 5.4)

I have a number of questions around adding support for more languages. We are already using multiple languages and would like to add more. 1. Standard languages providedin /libs/wcm/core/i18n I can see...

View Article

Setting Eclipse Environment: required jar file for

Hi, I am setting up Eclipse development environment for CQ 5.4, and am facing an issue with finding the exact jar files that will parse the <cq:defineObjects>  tag. I have the followed the...

View Article

Vanity URLs in multiple domains with one CQ5 instance

I have two websites which are in different domains but use the same CQ5 author instance. How can I setup the same Vanity URLs for both websites.For example, one.com/shorturl and two.com/shorturl. I...

View Article

CQ5.5 Session Timeout

Hello, We would like to change the session timeout value for the Author server so that if an Author doesn't do anything for 30 minutes the CQ session expires.  Seems the default is several hours.

View Article


Fail to access CRX with JcrUtils.getRepository

I just started with CQ5/CRX/JCR, so I beg your pardon if asking silly questions.I'm running a CQ5 Standalone Server (CQ_5_5_Quickstart.jar) on my Windows 7 and am fine with accessing it with my browser...

View Article

REGARDING EXTRACTING OF PROPERTIES

Hi,I am fairly new to ADOBE DAY CQ.. I want to extract properties of a particular node...  I am using the following code.... Node aName= session.getNode(absPath);String propertyName=...

View Article


Encounter with "requested URL /dispatcher/invalidate.cache was not found on...

The dispatcher was working fine all along when suddenly none of my pages are being pushed to the dispatched when activated.The dispatche agent reports that it's queue is block. When i checked the logs,...

View Article

some libs can not found

Hello, I'm new  to CQ5 and I'm following the "cq5_guide_developer" to practice my first project. It's very smooth until I want to download "cq5libs" from my local CQ5.5 server.  Here are the content of...

View Article


Configuring DAM and Dispatcher - shorten URL

Hello all, I'm trying to configure CQ DAM with Apache 2.2 and Dispatcher, to serve only assets. I've successfully configured them, as when I upload a new asset, it automatically replicates in Publish...

View Article

JQuery - Multiple versions

Hi, CQ5.4 uses jQuery version 1.4.4, and the latest version available is 1.7.2. For some reasons we would like to use 1.7.2 version of the jQuery, but its clashing with the OOB jQuery version. I would...

View Article

CQ5.5 ecommerce integration

I am working on integrating Hybris with CQ ecommerce. I am following the documentation on - http://dev.day.com/docs/en/cq/current/ecommerce/eCommerce-framework.ht ml However one of the steps is to...

View Article
Browsing all 12476 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>