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

bel_evg
bel_evg
Offline

Badges

Badges
9

Accepted Solutions

Accepted Solutions
0

Likes

Likes
4

Posts

Posts
14

Discussions

Discussions
0

Questions

Questions
14

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by bel_evg
Customize the badges you want to showcase on your profile
Re: How to create a RESTful API using servlet in CQ? - Adobe Experience Manager 15-10-2015
we use smth like this@Component(immediate = true) @Service @Properties({ @Property(name = "service.description", value = "My Test Service"), @Property(name = "sling.servlet.paths", value = "/bin/myapp/test.json")}) public class TestService extends SlingAllMethodsServlet { public final static String PARAMETER_KEY = "id"; @Override protected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws ServletException, IOException { String id = request.getParameter(PARAMET...

Views

1.2K

Like

1

Replies

0
Re: Sticky connections do not work - Adobe Experience Manager 15-10-2015
I found it is works when I set sticky connections for the root of my site:/stickyConnectionsFor "/"But I need it for particular pages only.Also we set url mapping for resource resolver/content/mysite/en/

Views

415

Like

1

Replies

0
Re: Sticky connections do not work - Adobe Experience Manager 15-10-2015
Thanks you for reply!1) Yes, I seeSticky Connections enabled below /content/mysite/en/event for farm: mysite2) I deleted underscore, did not help3) seems like it is not valid config, because I did not see cookie renderid after I set this like you suggestOK, I will contact with support.

Views

394

Likes

0

Replies

0
Re: Sticky connections do not work - Adobe Experience Manager 15-10-2015
seem like no, here is my dispatcher.any file# name of the dispatcher /name "dispatcher-prod-001" # each farm configures a set off (loadbalanced) renders /farms { # first farm entry (label is not important, just for your convenience) /mySite { # client headers which should be passed through to the render instances # (feature supported since dispatcher build 2.6.3.5222) /clientheaders { "x-via" "via" "referer" "user-agent" "authorization" "from" "content-type" "content-length" "accept-charset" "ac...

Views

385

Likes

0

Replies

0
Sticky connections do not work - Adobe Experience Manager 15-10-2015
Hi guys!I am trying to configure dispatcher module to use stiky connection for two pages:/content/mysite/en/event/main.html/content/mysite/en/event/login.htmlSo I added to dispatcher.any this code:/stickyConnectionsFor "/content/mysite/en/event"After it I restarted apache, opened a page /content/mysite/en/event/main.html in browser and saw that renderId cookie was set. Also in dispatcher.log there was this message:Setting sticky connection to publisher_pub1response.headers[Set-Cookie] = "renderi...

Views

1.0K

Like

1

Replies

5
Re: Field Level Inheritance - MSM - Adobe Experience Manager 15-10-2015
Set "fieldEditLockMode" property to "true" to your component dialog to enable cancelling of properties inheritance. Works with AEM 6.0 [img]2015-08-19 13_39_54-CRXDE Lite.png[/img][img]2015-08-19_12_02_29.png[/img]

Views

1.1K

Likes

0

Replies

0
Re: How to open a component dialog with custom button or link? - Adobe Experience Manager 15-10-2015
Thank you.But I don't have the edit link there.I'll try use cq:layout editbar and customize buttons view with CSS and JS.

Views

145

Likes

0

Replies

0
Re: How to open a component dialog with custom button or link? - Adobe Experience Manager 15-10-2015
Hi Sham, thank you for reply.But I didn't see such link there[img]2013-09-20_054511.jpg[/img]Could you please specify where is it placed?

Views

141

Likes

0

Replies

0
How to open a component dialog with custom button or link? - Adobe Experience Manager 15-10-2015
Hi guys!I'd like to open a component dialog when I click a button or a link. Could you please give me some pieces of advice how to implement it? cq:layout rollover and editbar are not suitable for me.I've found out, that it is opened with this code:CQ.wcm.EditBase.showDialog(this, CQ.wcm.EditBase.EDIT);where this - is CQ.wcm.EditRollover object for a corresponding component. So all that I need - somehow create or get somewhere CQ.wcm.EditRollover object?Thanks.

Views

280

Likes

0

Replies

4
Re: How to upload an image with html5smartimage to DAM? - Adobe Experience Manager 15-10-2015
HI Scott, thank you for your reply!I use something similar to your code: upload an image from a component dialog with CQ.form.FileUploadField and then in java class, which implement javax.jcr.observation.EventListener interface on NODE_ADDED event move this file to where I want: import com.day.cq.commons.jcr.JcrUtil; import org.apache.felix.scr.annotations.* import org.apache.sling.jcr.api.SlingRepository; import org.osgi.service.component.ComponentContext; import javax.jcr.* @Component(immediat...

Views

145

Likes

0

Replies

0
Likes from