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

Report framework requires at least one grouped column

$
0
0

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?


Redirecting page

$
0
0

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?

How to create a query in for lastModifiedDate in Query Builder

$
0
0

I want to create a query to get the Dam Assets those with their lastModifiedDate that match the current date.

 

The usual lastmodified date is of the format yyyy-MM-ddThh:mm:ss etc.

 

With the current date we only have "yyyy-MM-dd"

 

I tried something like this ,

 

            map.put("path","/content/dam");

            map.put("type","dam:Asset");

            map.put("property","cq:lastModified");

            map.put("property.value","yyyy-MM-dd*"); / map.put("property.value","yyyy-MM-dd~"); / map.put("property.value","yyyy-MM-dd");

 

But i was not able to get the desired results.

 

Please suggest if there is a a way to do it if you have already tried anything similar .

 

Thanks in  advance

 

Harish

creating custom tag library- AEM, CQ 5.6

$
0
0

Hi ,

 

I am creating a custom tag library and want to use it in one of the components I have created. I have made a bundle inside src/com.mycompany.test.TestBundle/com.mycompany.test.TestBundle.bnd and created my java tag class inside com.mycompany.test.TestBundle/src/main/java/com/mycompany/test/DateTagClass.java and the tld in com.mycompany.test.TestBundle/src/main/resources/META_INF/dateTaglib.tld. Here is the code for both the java tag class and the tld

 

----------------

tag class

 

 

package com.mycompany.test;

 

import java.io.IOException;

import java.text.DateFormat;

import java.text.SimpleDateFormat;

import java.util.Date;

import javax.servlet.jsp.JspException;

import javax.servlet.jsp.JspWriter;

import javax.servlet.jsp.tagext.SimpleTagSupport;

/**

*

* @author ankit-chandrawat

*/

public class DateTagClass extends SimpleTagSupport {

   

    public void doTag() throws JspException, IOException {

    JspWriter out = getJspContext().getOut();

    out.println(getTodayDate());

    }

   

   private String getTodayDate() {

        DateFormat df = new SimpleDateFormat("dd MMMM yyyy");

        String formattedDate = df.format(new Date());

        return formattedDate;

    }

}

 

--------------

tld file

 

<?xml version="1.0" encoding="UTF-8"?>

<taglib version="2.1" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd">

 

  <tlib-version>1.0</tlib-version>

  <jsp-version>2.0</jsp-version>

  <short-name>date</short-name>

    <uri>src/main/resources/META_INF/dateTaglib.tld</uri>

  <tag>

    <name>todaysDate</name>

    <tag-class>com.mycompany.test.DateTagClass</tag-class>

    <body-content>empty</body-content>

  </tag>

</taglib>

--------------------------------------------------

I am trying to use it inside a component jsp that I have created as :

 

<%@taglib prefix="date" uri="src/main/resources/META_INF/dateTaglib.tld"%>

 

But with the above taglib include in place, all I see is a blank page. I am trying this on author and have not pushed it to publisher yet. I believe it is not able to recognize the tld. Could you please help me on this.

 

Thanks

Ankit

Multiselect widget in CQ

Image Renditions in Content Finder

$
0
0

Hello,

 

Marketing team wants to make use of image renditions feature of DAM, but they want the ability to choose from various rendered images and then drag & drop on to a CQ page from content finder. But I found out that renditions are not available in content finder. I am aware of one solution, which is to customize the image component to have a selection of existing renditions of an asset, so that marketing will have the ability to choose from the existing renditions. But I am wondering what is the use of renditions feature, if they can't be accessible directly by users to drag and drop them on to the page or to access them from creative suite of products.

 

I will appreicate if some one can help me with this.

Inbox Notification from Workflow

$
0
0

Hi,

I've got a problem with Inbox Notification.

I want to inform an author about all steps during the workflow process (activated, deactivated, terminated) using Inbox Notification (not e-mail!)

I found a class InboxManagerImpl (method createMessage) so I create a method in ParticipantStepChooser class:

 

void sendTheNotification(WorkflowSession session) throws IOException {

com.day.cq.wcm.notification.inbox.impl.MessageImpl message = (MessageImpl) new InboxManagerImpl().createMessage(session.getUser());

message.setReason("Workflow has been Terminated");

message.save();

}

 

but after it, on my OSGi Console in CQ5, in the section Bundles I have sth like this:

com.day.cq.wcm.notification.inbox -- Cannot be resolved
com.day.cq.wcm.notification.inbox.impl -- Cannot be resolved

 

Can someone help me?

Question: How to create an Inbox Message (in Notification Inbox) using Java code?

 

Regards

Michal

How to write an ajax call to a JSP page

$
0
0

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 help me how can i acheive dis. A sample working example code will be very much helpful .

 

 

Thanks

 

veena


How do I use ?

$
0
0

Hi,

 

I am trying to <sling:include> a content node wrapped inside <div> on a jsp.

 

For example I have a textimage content node:  "/content/company/en/product/jcr:content/par/textimage"

 

I can access the html content by hitting http://localhost:4502/content/comapny/en/product/jcr:content/part/textimage.html

 

But now, I would like those HTML content to be rendered inside another JSP like this, so I tried using <sling:include>

 

<%@ taglib uri="http://cms.ecom.shc.com/bundles/commerce/global/trends/common" prefix="content" %>

<%@include file="/apps/commerce/global-commerce/global.jsp" %>

<%@page session="false"

        trimDirectiveWhitespaces="true" %>

<div>HELLO</div>

<div><sling:include path="/content/verticalpages/fashiontrends/en/trends/prom-shop/jcr:content/par/textimage" /></div>

<div>WORLD</div>

 

However, I am only seeing empty <div> where the <sling:include> is, no HTML content was returned.

 

What am I doing wrong?

 

 

Thanks in advance.

Set xtype Checkbox Values

$
0
0

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?

Set node property with String[] value, using ECMA script

$
0
0

Hi,

 

I am coding an ECMA script for a workflow in Adobe CQ5.5. I am not able to set a node property with String[] value. Here is an exception occured

 

Caused by: org.mozilla.javascript.EvaluatorException: The choice of Java constructor setProperty matching JavaScript argument types (string,object) is ambiguous; candidate constructors are:

    interface javax.jcr.Property setProperty(java.lang.String,java.lang.String[])

    interface javax.jcr.Property setProperty(java.lang.String,javax.jcr.Value[]) (/etc/workflow/scripts/vanity-url-localizer.ecma#38)

 

Could you please help me to set the node with String [] property value.

 

Thanks!

 

-Ram

Where do you set socket.connectTimeout and socket.receiveTimeout?

ResourceResolverFactory Reference in 5.5

$
0
0

Hi all,

 

In 5.4 I would create a service reference to the ResourceResolverFactory and be able to use that to create a resource resolver to use in workflows and jobs, which aren't able to get a resolver from a request.

 

In 5.5, when I attempt to use ResourceResolverFactory reference, in felix when looking at my component I see the reference marked as:  ["Unsatisfied","Service Name: org.apache.sling.api.resource.ResourceResolverFactory","Multiple: single","Optional: mandatory","Policy: static","No Services bound"]


And since it is unsatsified, my component doesn't register within my bundle.  Can someone let me know if this needs to be done differently in 5.5?

 

Thanks!

How to allow ONLY drag-and-drop of DAM-images? (forbid image upload to parsys)

$
0
0

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 component so that only images from the DAM are allowed (and especially no upload from a Windows Explorer).

 

Also I want to configure the parsys NOT to accept any uploads except into a download-component (/apps/foundation/components/download/cq:editConfig/cq:dropTargets/file accepts .*).

 

I am sure it is possible, thanks for your help.

Cq5.5 Comparing with a previous version does not display the changes

$
0
0

Hi,

 

Someone know the library to insert on a page to enable the differences between two versions.

 

In the Geometrix demo site, it work well, but in my site doesn't work (It does not insert the code to highlight)!

 

Thank you

 

 

Adolfo


CQ5 quickstart fails to complete with launchpad failure

$
0
0

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 -jar cq-wcm-quickstart-5.4.0.jar). The launcher app eventually times out and displays "Server not ready, browser not launched".

 

The login page (http://localhost:4502/login.html) displays...

Service Unavailable

 

In the server.log, I see…

 

...28.11.2011 12:58:49 *MARK * webapp-CRX Launchpad Webapp: Start Filter 'CRXLaunchpadLicenseFilter'

28.11.2011 12:58:49 *MARK * webapp-CRX Launchpad Webapp: Start servlet 'sling'

28.11.2011 12:58:50 *ERROR* webapp-CRX Launchpad Webapp: ERROR: Error parsing system bundle export statement: org.osgi.framework; version=1.5, org.osgi.framework.hooks.service; version=1.0, org.osgi.framework.launch; version=1.0, org.osgi.service.packageadmin; version=1.2, org.osgi.service.startlevel; version=1.1, org.osgi.service.url; version=1.0, org.osgi.util.tracker;version="1.4", org.apache.sling.launchpad.api;version=1.0.0,  ,javax.servlet;javax.servlet.http;javax.servlet.resources; version=2.4 (java.lang.IllegalArgumentException: No paths specified in header: )

java.lang.IllegalArgumentException: No paths specified in header:

                at org.apache.felix.framework.util.manifestparser.ManifestParser.parseStandardHeaderClause(M anifestParser.java:1432)

                at org.apache.felix.framework.util.manifestparser.ManifestParser.parseStandardHeader(Manifes tParser.java:1400)

                at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java: 162)

                at org.apache.felix.framework.ExtensionManager.<init>(ExtensionManager.java:193)

                at org.apache.felix.framework.Felix.<init>(Felix.java:374)

                at org.apache.sling.launchpad.base.impl.SlingFelix.<init>(SlingFelix.java:39)

                at org.apache.sling.launchpad.base.impl.Sling.<init>(Sling.java:235)

                at org.apache.sling.launchpad.base.webapp.SlingBridge.<init>(SlingBridge.java:41)

                at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.init(SlingServletDelegate.jav a:203)

                at javax.servlet.GenericServlet.init(GenericServlet.java:211)

                at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:358)

                at org.apache.sling.launchpad.webapp.SlingServlet.startSling(SlingServlet.java:300)

                at org.apache.sling.launchpad.webapp.SlingServlet.init(SlingServlet.java:111)

                at javax.servlet.GenericServlet.init(GenericServlet.java:211)

                at com.day.j2ee.servletengine.ServletRuntimeEnvironment.doStart(ServletRuntimeEnvironment.ja va:113)

                at com.day.j2ee.servletengine.ServletRuntimeEnvironment.start(ServletRuntimeEnvironment.java :93)

                at com.day.j2ee.servletengine.WebApplication.loadStartupServlets(WebApplication.java:702)

                at com.day.j2ee.servletengine.WebApplication.start(WebApplication.java:631)

                at com.day.j2ee.servletengine.ServletContainer.start(ServletContainer.java:318)

                at com.day.j2ee.servletengine.ServletEngine.start(ServletEngine.java:285)

                at com.day.j2ee.server.Server.start(Server.java:227)

                at com.day.j2ee.server.Server.main(Server.java:607)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at com.day.launcher.Bootstrap.run(Bootstrap.java:118)

                at com.day.crx.quickstart.Quickstart.run(Quickstart.java:680)

                at com.day.crx.quickstart.Main.<init>(Main.java:675)

                at com.day.crx.quickstart.Main.main(Main.java:730)

28.11.2011 12:58:50 *ERROR* webapp-CRX Launchpad Webapp: ERROR: Error starting slinginstall:C:\tools\cq\demo\crx-quickstart\launchpad\startup\1\org.apache.felix.http.br idge-2.2.0.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.http.bridge [1]: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.servlet))

org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.felix.http.bridge [1]: Unable to resolve 1.0: missing requirement [1.0] package; (package=javax.servlet)

                at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3409)

                at org.apache.felix.framework.Felix.startBundle(Felix.java:1719)

                at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1148)

                at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)

                at java.lang.Thread.run(Unknown Source) ...

 

Then a bunch more errors "ERROR: Error starting slinginstall".


I’ve tried the “publisher” and “author” as well as the “generic” quick-start configurations and all fail the same way at the same spot.  Here is the sling.properties file:

 

#Overlay properties for configuration

#Mon Nov 28 14:26:17 PST 2011

org.apache.sling.commons.log.file.number=5

sling.installer.dir=${sling.home}/installer

sling.home=C\:\\tools\\cq\\demo\\crx-quickstart\\launchpad

ds.loglevel=warn

org.osgi.framework.system.packages=${osgi-core-packages}, ${osgi-compendium-services}, org.apache.sling.launchpad.api;version\=1.0.0, ${jre-${java.specification.version}} ${org.apache.sling.launcher.system.packages}

org.apache.sling.commons.log.file.size='.'yyyy-MM-dd

org.osgi.framework.bootdelegation=com.yourkit.*, ${org.apache.sling.launcher.bootdelegation}

felix.service.urlhandlers=true

org.osgi.framework.storage=${sling.home}/felix

org.osgi.framework.bundle.parent=framework

sling.ignoreSystemProperties=true

osgi-core-packages=org.osgi.framework; version\=1.5, org.osgi.framework.hooks.service; version\=1.0, org.osgi.framework.launch; version\=1.0, org.osgi.service.packageadmin; version\=1.2, org.osgi.service.startlevel; version\=1.1, org.osgi.service.url; version\=1.0

osgi-compendium-services=org.osgi.util.tracker;version\="1.4"

sling.context.default=default

ds.factory.enabled=true

org.apache.sling.commons.log.file=${sling.home}/logs/error.log

org.apache.sling.commons.log.level=INFO

org.apache.sling.launcher.system.packages=,javax.servlet;javax.servlet.http;javax.servlet. resources; version\=2.4

sling.bootdelegation.sun.reflect=sun.reflect

org.apache.felix.http.shared_servlet_context_attributes=true

obr.repository.url=http\://sling.apache.org/obr/repository.xml

org.osgi.framework.startlevel.beginning=30

felix.startlevel.bundle=20

felix.cm.dir=${sling.home}/config

 

A problem with my version of Java, maybe?

 

C:\tools\cq\demo>java -version

java version "1.7.0_01"

Java(TM) SE Runtime Environment (build 1.7.0_01-b08)

  Java HotSpot(TM) Client VM (build 21.1-b02, mixed mode, sharing)

 

The crx (http://localhost:4502/crx) and cq admin (http://localhost:4502/admin) sites seem to work.  But, the launchpad (http://localhost:4502/bin/login.html or http://localhost:4502/system/console) doesn’t.

 

Thanks in advance for any help!

~rollo

facing org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException

$
0
0

Hi,

I am facing below issue in Performance testing does anyone guide why this error is coming. Individually these pages are running fine. Attached logs for your reference.

 

 

Thank ,

Yogesh

 

 

17.01.2013 05:10:57.232 *ERROR* [135.215.244.155 [1358421056013] GET /content/Intranet/microsite/innovation/right.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException org.apache.sling.api.SlingException:

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:560)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:496)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:448)

        at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)

        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )

        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)

        at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)

       at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:171)

        at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:199)

        at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)

        at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

        at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)

        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)

        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

        at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:249)

        at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

        at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

        at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:47)

        at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)

        at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)

        at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

        at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)

        at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)

        at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)

        at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)

        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)

        at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)

        at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)

        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)

        at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)

        at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)

        at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )

Caused by: org.apache.sling.api.SlingException:

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspExceptionInterna l(JspServletWrapper.java:560)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.handleJspException(JspSer vletWrapper.java:496)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:448)

        at org.apache.sling.scripting.jsp.JspServletWrapperAdapter.service(JspServletWrapperAdapter. java:59)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java :173)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.j ava:84)

        at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngin eFactory.java:388)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:358)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:170)

        at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:4 56)

        at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:491)

        at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:182 )

        at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:149)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:219)

        at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:280)

        at org.apache.sling.engine.impl.SlingRequestProcessorImpl.dispatchRequest(SlingRequestProces sorImpl.java:320)

        at org.apache.sling.engine.impl.request.SlingRequestDispatcher.dispatch(SlingRequestDispatch er.java:208)

        at org.apache.sling.engine.impl.request.SlingRequestDispatcher.include(SlingRequestDispatche r.java:102)

        at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.include(WCMComponent Filter.java:381)

        at org.apache.jsp.libs.foundation.components.primary.cq.Page.Page_jsp._jspService(Page_jsp.j ava:106)

        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)

        ... 66 more

Caused by: java.lang.NullPointerException

        at com.day.cq.wcm.foundation.ELEvaluator.evaluate(ELEvaluator.java:53)

        at org.apache.jsp.libs.foundation.components.page.page_jsp._jspService(page_jsp.java:126)

        at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

        at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper .java:419)

        ... 90 more

How can I create a design dialog for a component that is site wide and not bound to a templates?

$
0
0

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 references if I have 5 templates.  How can I create a component that has a global configurable setting?

Is there a max # of Sidekick Component Groups?

$
0
0

Our site currently has 5 component groups including 'Other', but if I try to add a new one, they just get added to 'Other' instead of their own component group that I tried to create.

 

Is there a maximun number of component groups that can display in the sidekick?   If there is a maximun number, can this be configured?

Inserting fragments in CQ AEM 5.6

$
0
0

Hello all,

 

Is there a way to retrieve a fragment from apache docroot and place it in CQ,

probably header as a fragment to be inserted to my site developed in CQ5.6

 

Regards,

NZ

Viewing all 12476 articles
Browse latest View live


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