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

jayv25585659
jayv25585659
Online

Badges

Badges
33

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
71

Posts

Posts
187

Discussions

Discussions
46

Questions

Questions
141

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by jayv25585659
Customize the badges you want to showcase on your profile
Re: Java vs Javascript: getting different values for browser cookie - Adobe Experience Manager 13-03-2018
but cookies (at least document.cookies) are supposed to be stored in the device.

Views

1.3K

Likes

0

Replies

0
Java vs Javascript: getting different values for browser cookie - Adobe Experience Manager 13-03-2018
So I have the following Javafor (Cookie cookie : getRequest().getCookies()) { if (cookie.getName().equals((String) Constants.class.getDeclaredField(get('mycookie',String.class)).get(null))) { value = cookie.getValue(); }}and it's returning some value to my HTLbookmark cookie (from java): ${courseBookmarkCookie1.value}The problem is when I do the same thing using javascript, $(document).ready(function(){ console.log(document.cookie); });I've encountered instances (on page refresh) where the cookie from Java is empty while document.cookie (from javascript) has...

Views

1.4K

Like

1

Replies

2
Re: HTL: How to dump the contents of my variable? - Adobe Experience Manager 05-03-2018
why that would work for a custom class? what happens if I want to dump the contents of AEM built-in variables like $properties/$pageProperties?Thanks

Views

729

Likes

0

Replies

0
HTL: How to dump the contents of my variable? - Adobe Experience Manager 04-03-2018
So I have this line in my HTMLmenuItem has many properties like id, activeclass and etc.I would like to dump/show the full contents of menuItem without having to specify the properties (example: menuItem.id) individually.Is this possible? If yes, how?I tried this index: ${itemList.index} value: ${item.title}but I cannot see it in my page. I even tried "view page source" and nothing there.Any ideas? Thanks!

Views

1.4K

Like

1

Replies

4
how to hide header menu item when using mobile devices? - Adobe Experience Manager 27-02-2018
so I have a custom menu item that I'm displaying on my header (it's just an icon that displays a menu on hover)I have a need that I need to omit/hide this menu item while using mobile devices.while I can use Javascript to do this (jQuery + wurlf-js), I'm wondering if this can be done by some sort of something already built-in to AEM (example: Java libraries). If there is something available, can you please provide a link or perhaps a short example?Thanks a lot

Views

1.5K

Like

1

Replies

2
how to configure/modify AEM system config by adding it in my code? - Adobe Experience Manager 27-02-2018
so I found an old commit from our ex-contractorfile: ui.apps/src/main/content/jcr_root/apps/berkeley/configs/config/com.day.cq.wcm.foundation.forms.impl.FormChooserServlet.configcontents:forms.formchooserservlet.advancesearch.require=B"false"service.name="CQ\ Form\ chooser\ servlet"service.pid="com.day.cq.wcm.foundation.forms.impl.FormChooserServlet"sling.servlet.methods=[ \ "GET", \ "POST", \ ]sling.servlet.resourceTypes="sling/servlet/default"sling.servlet.selectors="form"I want to do somethin...

Views

949

Like

1

Replies

1
get function (from com.adobe.cq.sightly.WCMUsePojo) - how to get a long value? - Adobe Experience Manager 19-02-2018
So I have these 3 linesint id1 = get("id", Integer.class); //gets the correct value//long id2 = get("id", Long.class); //code won't compileLong id3 = get("id", Long.class); // id3 is nullWhen I debug my code (Eclipse user here), id1 has the correct value while id3 is null.Any ideas on how to get it work properly?Thanks

Views

462

Likes

0

Replies

1
how to automatically enable drag/drop spots on my page (edit mode)? - Adobe Experience Manager 06-02-2018
So I have the HTL code below. On first use, I cannot drag/drop any component into the drop spots.To make it to work, I have to:1. go to design mode2. click on a drop spot (example: content-left).3. Select the icon that appears (looks like a newspaper icon to me)4. Select the next icon that appears (wrench icon) and tick all the components that I want to show up.5. Repeat steps 2 to 4, for the other drop spotsCan someone please tell me on how to fix this?

Views

492

Like

1

Replies

2
Re: how to have custom content on my custom template (included via data-sly-include)? - Adobe Experience Manager 05-02-2018
Please refer to this screenshot.I've created a custom template that shows up when I want to create a new page. We're using the template so that all content authors wll have a base when writing content.As a I said above, the issue is that I can create a new page using the template without any issues. The issue is that when I want to customize the content (in my example, section2) on my page. The changes are reflected on my template so any pages using it gets the changes.I want to be able to custo...

Views

429

Likes

0

Replies

0
how to have custom content on my custom template (included via data-sly-include)? - Adobe Experience Manager 04-02-2018
So I have the following HTL code that includes section templates I created a new page using this template and it seems to be working fine. My issue is that changes I made on my page are reflected the original file.example:On the section2 part (inside the page I created using the template as base), I added a new RTE for my custom content. When I opened /content/config/section2, my RTE is there. Is there a way to prevent this? or perhaps a workaround?Thanks!

Views

563

Likes

0

Replies

3