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

Jefferson_Setia
Community profile Jefferson_Setia Level 2
Job title here
Location here
9 BADGES
Level 2

Level 2

Learn more
Joined the community 19-08-2016 3:29:28 AM
Offline
Top badges earned by Jefferson_Setia
Customize the badges you want to showcase on your profile
How to pass curly brace inside sightly expression?
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Hi, I have snippet like this: ${svg.html @ context= 'unsafe'} I'd like to pass the handlebars expression using double curly braces '{{ foo }}' to the sightly variable, but I got errortoken recognition error at: '{'I think it because sightly process curly brace and not bypass it. How can I pass that curly brace?Thank you.

Views

1.8K

Likes

0

Replies

1
Re: How to set httponly to the cookie from sling servlet and why the used version of javax.servlet is 2.5?
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Sorry for late reply.I've update the javax.servlet to version 3, but it generate Failure to find javax.servlet:servlet-api:jar:3.1. so I just return it back to version 2.5.

Views

1.6K

Likes

0

Replies

0
Re: How to set httponly to the cookie from sling servlet and why the used version of javax.servlet is 2.5?
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Here is my parent pom file. When I want to add additional dependency, I added it on parent pom file. I tried to add it in the core pom.xml, but it show error, so I just added it to the parent pom file. 4.0.0 id.jeffersonsetiawan.aem training pom 1.0-SNAPSHOT training core ui.apps ui.content it.tests it.launcher localhost 4502 localhost 4503 admin admin admin admin UTF-8 UTF-8 org.apache.maven.plugins maven-release-plugin 2.5.3 [maven-scm] : clean install install release org.apache.m org.apache.sling maven-sling-plugin -->...

Views

1.6K

Likes

0

Replies

0
Re: Install jar bundle to publisher instance.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
I have reinstall the publish server, and still facing the same problem.Maybe my steps to replicate is wrong?This is my step that I used:mvn clean install -P autoInstallPackage (it install the package to the author server).In http://localhost:4502/crx/packmgr/index.jsp I replicate the ui.apps first, then ui.content.Am I miss something?

Views

1.2K

Likes

0

Replies

1
Re: How to set httponly to the cookie from sling servlet and why the used version of javax.servlet is 2.5?
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
I'm using AEM 6.2 @jorgsmacdonald2008​, I'm new in maven world, so that means that the maven repo doesn't have the javax.servlet package version 3.1, isn't it?

Views

1.6K

Likes

0

Replies

0
How to set httponly to the cookie from sling servlet and why the used version of javax.servlet is 2.5?
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
I add cookie to the SlingHttpServletResponse by using code: String accessToken = objectResult.getString("access_token"); Cookie responseCookie = new Cookie("web-token", accessToken); responseCookie.setMaxAge(1000); responseCookie.setPath("/"); response.addCookie(responseCookie);When I want to add responseCookie.setHttpOnly, there is error because the version of javax.servlet in AEM (It's version 2.5) doesn't have that method.I tried to update the version in the parent pom.xml file, but I got err...

Views

3.5K

Likes

2

Replies

10
Re: Install jar bundle to publisher instance.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Thanks for reply @veena_07, here is my code GitHub - jeffersonsetiawan/demo-aem

Views

3.6K

Likes

0

Replies

3
Re: Install jar bundle to publisher instance.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
It just a code from the sample MyModel.java class```package id.jeffersonsetiawan.aem.core.models;import org.apache.sling.api.resource.Resource;import org.apache.sling.models.annotations.Default;import org.apache.sling.models.annotations.Model;import org.apache.sling.settings.SlingSettingsService;import javax.annotation.PostConstruct;import javax.inject.Inject;import javax.inject.Named;/** * Created by jeffersonsetiawan on 7/5/17. */@Model(adaptables=Resource.class)public class MyModel { @Inject ...

Views

3.6K

Likes

0

Replies

2
Re: Install jar bundle to publisher instance.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Hi Jorg, I install the bundle in the author via mvn clean install -P autoInstallPackage and I use autoInstallBundle if I change the java class. In the author it worked well, but when I replicated to the publisher all is there (including app/training/install/XYZ.jar). But when I use it in the component, it showed error "Cannot find a a file corresponding to class id.jeffersonsetiawan.aem.core.models.MyModel in the repository.".I assumed the it not work because the bundle is not exists. So I tried...

Views

3.6K

Likes

0

Replies

4
Re: Install jar bundle to publisher instance.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
I've check that thread before. I've never install the jar before and when icheck in the osgi component or the bundle list, there is not foo package installed, and I can't use the java bundle in my component.

Views

3.6K

Likes

0

Replies

0
Re: Closed User Group doesnt redirect to given Login Page
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Based on zane303, I can make it work.The login screen needs to be added to a list of login screens:host:port/system/console/configMgr/com.day.cq.auth.impl.LoginSelectorHandlerSo adding it to the page properties isn't enough. And it needs to be mapped to that section of the system.

Views

732

Likes

0

Replies

0
Install jar bundle to publisher instance.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
I generate project from maven archetype, when run the command mvn clean install -P autoInstallPackage there are 2 package in the package manager, which are foo.ui-apps and foo.ui-content. In the ui-apps there are apps/foo/install/ that contain jar file. But when I replicate that 2 package to the publisher, the bundle jar file not installed, but exists in the apps/foo/install folder.Any idea how the correct way to do that?I tried to manually install the bundle via /system/console/bundles, upload ...

Views

4.7K

Likes

0

Replies

13
Create custom property for personalization
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
I want to make a custom property for personalization targeting. By default there are age, gender, etc. For example, I want to make a custom property for VIP user. how can I do that??

Views

583

Likes

0

Replies

1
AEM Backend Training Company.zip file doesn't match with the video.
Avatar
Ignite 5
Level 2
Jefferson_Setia
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Ignite 5
Give Back 5
Give Back 3
Give Back
Ignite 3
View profile
Jefferson_Setia
- Adobe Experience Manager
Hi,I just learning the AEM backend training session but in the second video, I can't get the company folder in my crx/de sites.I found this post and they said the file has been updated, but I can't still get the folder in my localhost author site.I found in the company.zip file, it doesn't include content folder in jcr-root folder, and it doesn't have components, config, config.author, and tempaltes folder in apps/company folder either.And 1 more question, I got this error when executing mvn cle...

Views

3.4K

Likes

0

Replies

3
Likes given to
Likes from