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

jorarteag
Community profile jorarteag Level 2
Job title here
Location here
6 BADGES
Level 2

Level 2

Learn more
Joined the community 25-03-2018 10:21:59 AM
Offline
Top badges earned by jorarteag
Customize the badges you want to showcase on your profile
HTML Parser deletes Script tags
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Social
Hi everyone, I am working with html parser to modify some ulr's on my pages, but in this cases deletes the tag almost completely. Here is my config.Example: Result after htmlparser= Any help are wellcome.

Views

2.2K

Likes

0

Replies

0
Re: Adapt resource to Page int unit test
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
Thanks Peter! I will look whats its the more convenient solution for us.

Views

3.0K

Likes

0

Replies

0
Re: Adapt resource to Page int unit test
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
Thanks for the answer Peter.Yes, I already saw that, but I'm wondering if this is possible without wcm.io (that's where it comes from AemContext), now I just use Apache Sling Mocks. I'm looking for solutions using just this dependency, and if is not possible I will jump to the other one.

Views

3.0K

Likes

0

Replies

0
Adapt resource to Page int unit test
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
Hi everyone, I am having problems to test Pages in my unit tests. I have the following code:Resource resource = context.load().json(PAGE_PATH + JSON_EXT, PAGE_PATH);Page page = resource.adaptTo(Page.class);The answer of adapTo is always null.I am working with SlingMocks, and this is my resource public final SlingContext context = new SlingContext();There is a option to do this? I know its possible with wcm.io​ but I don't want to include that just for this kind of tests.Thanks in advance.

Views

5.0K

Likes

0

Replies

5
Re: Different behavior of path/url with sightly
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
Hi, yes, I already know that, but Im looking for a cleaner way, if this exists and it's worth to do.I found this

Views

2.7K

Likes

0

Replies

0
Different behavior of path/url with sightly
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
Hi, I am working with sightly in a template that has a link to redirect to the parent page, I can access the path of the parent wit this: currentPage.parent.path, this give me the complete path of the parent.But also I need that with a extension .html in author environment (wcmmode enabled and disabled), and with a / in production.How can I do that? Its possible with sightly or I should look a SlingModel solution?Thank you in advance

Views

4.3K

Likes

0

Replies

3
Re: Json files with i18n configuration not getting imported with eclipse
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
I think there is a bug, vault does not have any configuration to avoid that, anyways now I am working without the json config to i18n, also I found other similar questions in the forum.Thank you.

Views

11.0K

Likes

0

Replies

0
Re: Json files with i18n configuration not getting imported with eclipse
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
There are some images of the files in the crx, and whe I use the import functionality of the aem plugin for eclipse the i18n folder is still empty, this just its happening with json files with languague properties.

Views

11.0K

Likes

0

Replies

0
Json files with i18n configuration not getting imported with eclipse
Avatar
Give Back 5
Level 2
jorarteag
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Ignite 3
Give Back 3
Give Back
Ignite 1
View profile
jorarteag
- Adobe Experience Manager
Hi, im working with eclipse (last version) and its aem plugin, in crx I created a couple of files inside a component for its i18n configuration (i.e de.json, es.json) and that is working in my pages, but when I want to import that to my local filesystem with eclipse those files are not imported. I check my vault config and its fine, does not exclude any json file, and if I change the name of the file adding something after the .json, like de.json.original eclipsewill recognize that, but does not...

Views

11.3K

Likes

0

Replies

4