Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AnkitCh
AnkitCh
Offline
  • Hi HTH,I am already using this dependency though with a different version: com.day.cq cq-commons 5.6.2 provided Do you think version make a difference? Also, for your reference I am including the whole set of dependencies I am using: org.osgi org.osgi.core 4.2.0 provided org.osgi org.osgi.compend...

    Type

    Questions

    Views

    484

    Likes

    0

    Replies

    0
  • Hi HTH,Thank you for your response. I have gone through that already and used the dependency the same way as in the link you sent. I am not able to understand what more dependency I need to use. I used CQ in-built dependency checker to determine the dependency of com.day.cq.wcm.api. Declared it and ...

    Type

    Questions

    Views

    511

    Likes

    0

    Replies

    0
  • Hi All,I have setup my CQ workspace in eclipse and using maven to build the project. I am trying to compile a test java file:package com.mercer.taglibs.tags; import com.day.cq.wcm.api.Page; public class HelloPerson { private Page personPage; public static final String PN_PERSON_NAME = "personName"; ...

    Type

    Questions

    Views

    1.1K

    Likes

    0

    Replies

    8
  • Thanks for you response Yogesh. I just validated the jsp file and getting an error "Fragment "/apps/mercer/components/common/global.jsp" was not found at expected path /MMC/apps/ mercer/components/common/global.jsp"Is there anyways I can fix this.I am also getting error "currentPage cannot be resolv...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • Hi Bruce,I just copied global.jsp from /libs/foundation. But it is still giving errors. However, I have one more thought going on in my mind. Since the APIs used here in this code are all CQ related and this is more of an environment related issue, and hence should work fine in your regular CQ envir...

    Type

    Questions

    Views

    1.2K

    Likes

    0

    Replies

    0
  • What I sometimes do is to reference the global.jsp via ../../ instead of /libs/ etc.Can you try this?What I sometimes do is to reference the global.jsp via ../../ instead of /libs/ etc.Can you try this? This did the trick. Thanks for the response.Ankit

    Type

    Questions

    Views

    1.2K

    Like

    1

    Replies

    0
  • Hi,I am trying to achieve autocomplete feature on JSP in eclipse. I have followed the page http://dev.day.com/docs/en/cq/aem-how-tos/development/howto-develop-aem-projects-using-eclipse.html but still not able to accomplish. Here is a sample jsp I have prepared :<%@ include file="/libs/foundation/gl -->...

    Type

    Questions