Redirecting page
I am using the redirect option in page properties to redirect pages but the page just displays "This page redirects to <Page Name>" in publisher mode. Why is it not working?
View ArticleValue not loading when using checkboxgroup.
Hi I am using a checkboxgroup as xtype. I have a cq:widget node whose xtype is checkboxgroup. Inside the node i have one items node. and inside items i have my individual checkboxes. In my dialog...
View ArticleEmails in CQ5?
I have a requirement in which I have a form that will take inputs from the user and on the submit of that form the details need to be sent to a particular email id. As I am new to CQ5 I don't know how...
View ArticleCreate a new xtype containing html5smartimage
Hi all I'm trying to create an xtype that contains an html5smartimage element. Apart from adding the html5smartimage to a Panel, is there anything else required? The following is rendered to my dialog,...
View ArticleCQ5 quickstart fails to complete with launchpad failure
I am attempting to run the CQ5 quickstart by both double-clicking the jar (in my case, C:\tools\cq\demo\cq-wcm-quickstart-5.4.0.jar) and launching from command prompt (C:\tools\cq\demo>java -Xmx384M...
View ArticleHow 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 Articleredirect from one jsp to another jsp
Hi, I am very new to CQ5 and have a query regarding it. Suppose I want to make a simple login form where I am two text fields.. I want to perform some validations on these text fields and want to...
View ArticleCustom Authentication/Authorization with LoginModulePlugin - Missing Sling 6 API
We have users accessing the publisher instance, whose profiles are managed with an external system and injected on their requests to cq by an upstream proxy (as headers). We do not (and can not) have...
View ArticleCaching Client Libraries
Does CQ have a built in way to deal with client library caching issues? When using the foundation image component, the final src attribute of the image in the clients browser is something like:...
View ArticleTab control component CQ5.5: Move of tabs does not move its containers (text,...
Hi All, There is a deftect in the out of box component "tabctrl" in CQ5.5. I've followed the following steps to use tabctrl component: I have created three tabs (tab1, tab2, tab3) using this...
View ArticleAllowing customers upload data directly into CQ5's DAM/CMS (JCR)?
My client's customers need to submit content back to the website. This content consists of data files, instruments, text attributes that can total ~50MB in some cases. My question has a few parts:1....
View ArticleMaven plugin for managing CQ5 packages
Hi, Here's some new documentation that explains how to use the Content Package Maven plugin. You can package and install content from your maven build...for example, in your POM, add goals for package...
View ArticleHow 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 ArticleError 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 ArticleSet xtype Checkbox Values
Hello, I want to add a checkbox to a component's dialog box but would like the true/false event to store different values, e.g., "yes/no", "0/1" or "fred/tom" instead of "true/false". How do I do this?
View ArticleConnecting DAM with Akamai
Is their any way to connect the Dam system with Akamai? That is currently where all of our videos are hosted and it would be great if we could point the videos folder directly to the Akamai server some...
View Articlehow to do multiple selection in a drop down list?
Hi, I am new to cq and use cq5.4 version.How can i achieve multi selection when i load values dynamically in a drop down list. If i need to select multiple options in drop down,what should be done....
View ArticleInsensitive search using query builder
Hi, I want to convert below sql query so as to use for querybuilder . select * from nt:unstructured where jcr:path like '/content/dam/company/project/data/%' and UPPER(ctn_no) LIKE 'HD%' or...
View Article@Reference annotation causing customised servlet stop getting called
Hi guys, I noticed that as soon as I add the @Reference annotation in my servlet, the sevlet will not be called when the form is submitted. As soon as I remove @Reference the servlet will be called....
View ArticleHow to write an ajax call to a JSP page
Hi In CQ publish side, I want to call a jsp page on click of a button . I know we cant directly call it from script. For that we have to use ajax either directly or using jquery.ajax. Can any one...
View Article