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

Ojjis
Ojjis
Offline

Badges

Badges
20

Accepted Solutions

Accepted Solutions
95

Likes Received

Likes Received
77

Posts

Posts
198

Discussions

Discussions
2

Questions

Questions
196

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by Ojjis
Customize the badges you want to showcase on your profile
Re: How to get page in cq5 on the basis of their creation date - Adobe Experience Manager 15-10-2015
Hi there Amit,You can sort the entries by their property: "jcr:created".The query for this (you can e.g. check in the debugger) would be: path=/content/mysite/ type=cq:Page orderby=@jcr:content/jcr:created orderby.sort=descOr if you want it in java code: Map map = new HashMap(); map.put("path", "/content/mysite"); map.put("type", "cq:Page"); map.put("orderby", "@jcr:content/jcr:created"); map.put("orderby.sort", "desc"); Query query = builder.createQuery(PredicateGroup.create(map), session); Sea...

Views

820

Like

1

Replies

0
Re: Creating multidomain CQ mapping - Adobe Experience Manager 15-10-2015
This is how it could be done:On the dispatcher server, in the vhost you'll have to have this://........... in the VHOST file RewriteRule ^/$ /content/mysite/en/start.html [PT,L] RewriteCond %{REQUEST_URI} !^/apps RewriteCond %{REQUEST_URI} !^/content RewriteCond %{REQUEST_URI} !^/etc RewriteCond %{REQUEST_URI} !^/home RewriteCond %{REQUEST_URI} !^/libs RewriteCond %{REQUEST_URI} !^/tmp RewriteCond %{REQUEST_URI} !^/var RewriteRule ^/(.*)$ /content/mysite/en/$1 [PT,L] //.....And on the publisher ...

Views

1.2K

Like

1

Replies

0
Re: JcrResourceResolverImpl in Adobe CQ 5.4. Url mappings problem - Adobe Experience Manager 15-10-2015
The pattern seems to be wrong, have you tried with "/content/brand/:/brand" and "/content/mobile/:/mobile". One way of doing it would be to have like "/content/mybrand/-/" and "/content/myotherbrand/-/". That worked for me.Good Luck/Johan

Views

731

Likes

0

Replies

0
Re: Asynchronous component interactions in AEM - Adobe Experience Manager 15-10-2015
Sounds like the usage of backbone.js in combination with AEM would be a great idea here IMO.http://backbonejs.org/http://recipeswithbackbone.com/This could solve the update problems that you are thinking about with and MVC kind of thinking and special event handlings.Good Luck/Johan

Views

1.2K

Likes

0

Replies

0
Re: Doubts on LDAP integration - Adobe Experience Manager 15-10-2015
Hello,good points from Justin there.What you would do is to create the user groups in the LDAP corresponding to the groups in CQ. Eg. have a group in the LDAP that is named "supergroup". Then when the first user belonging to that group is logging into CQ, that group will also be created in CQ. Set the right permissions to that group and the rest of the people logging in with that group as their group will get the right permissions. Always try to set permissions on group level and not on a single...

Views

878

Likes

0

Replies

0
Re: Issue with Textarea xtype picking value from the JSP - Adobe Experience Manager 15-10-2015
Hi,it will be difficult to use this since you can't really have several elements on a page with the same id (or you can but definitely should not).You need to create a unique id for each element if you want to user getElementById. Otherwise it will just pick the first element with that id on the page./Johan

Views

755

Likes

0

Replies

0
Re: creating servlet in CQ - cannot be cast to javax.servlet.Servlet , Failed getting the service for reference - Adobe Experience Manager 15-10-2015
Thats quite strange, have tried it both in 5.6 and 5.5 with the exact code i wrote above and it works fine :SIs there anything indicating that there might be something wrong in the OSGi console about the servlet ?Now the logs clearly points out that the servlet handling your request is not your servlet but the default get servlet.This would lead to the error you get since there is actually no resource there. Is there any other things that you have added to your servlet ?Scotts great example work...

Views

1.1K

Likes

0

Replies

0
Re: How to add an error page to a CQ5 project? - Adobe Experience Manager 15-10-2015
Take a look at this: http://adobe-consulting-services.github.io/acs-aem-commons/features/errorpagehandler.htmlWorks perfect and can be used in combination with setting the correct error pages in the dispatcher configurations in the vhost files.Good Luck/Johan

Views

890

Like

1

Replies

0
Re: Siteadmin loaded with an empty page in 5.5 - Adobe Experience Manager 15-10-2015
Can you please elaborate a bit on the error messages.Would be great to see what it is complaining about in the js files.Try to clear the var cache and your browser cache and see if the problem dissapears./Johan

Views

781

Likes

0

Replies

0
Re: Sling Servlet Resolver has issue with Post method - Adobe Experience Manager 15-10-2015
Ah thats nice to hear, probably just something that was not updated correctly

Views

1.5K

Likes

0

Replies

0