since ‎30-05-2017
‎10-12-2019
abhinav_sinha
Level 1
AEM 6
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
Hi I have created a website using sightly(.html files). When i check viw page source of my page i get lot of empty white spaces. Can you tell me how to remove these white spaces. In AEM 5.6.1 we were using .jsp files where we use <@page trimwhitespaceDirectives = true >. But how do we do it AEM 6 where we are using HTML pages

Views

195

Likes

0

Replies

2
Test classes for AEM 6
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
Hi How do i mock the getCuurentPage.. like methods. I am using Junit4Mockery. ThanksAbhinav

Views

199

Likes

0

Replies

1
Re: AEM 6 granite UI page and dialog
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
HI Gilles 1. I tried using "dialog-success" and just gave an alert function. But it did not work out. Can you give me the node structure.My requirement is when i click on page properties of granite UI page, a granite dialog opens and and on clicking ok (the tick button in the upper right hand corner) it should give an alert message.2. This case is not there in classic UI. The component is editable as it contains the dialog. But the same is not true for Granite UI page.

Views

76

Likes

0

Replies

0
AEM 6 granite UI page and dialog
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
Hi,1. I created a listener with a function that calls servlet on submit of the dialog box. But the listeners is not working for granite UI Page using classic dialog. And how can we create a listeners for the granite dialogs(cq:dialog). Urgent reply would be highly appreciated. 2. When components are included statically in a page (granite UI). The components are not editable.Please help.Urgent reply would be highly appreciated. ThanksAbhinav

Views

497

Likes

0

Replies

4
OSGI Service
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
I have an OsgiService which implements EventHandler . The issue is it works perfectly fine for some time but afterwards it needs a bundle refresh or restart.I have given all the required annotations @Component(immediate=true) . can you please give me some help for its cause or solution.Any help would be highly appreciated.

Views

132

Likes

2

Replies

2
Re: AEM 6
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
Hi Gilles, When trying to use spinner in AEM 6 for touch dialog i am facing the following issue.1.When i give the min value = {Double} 0, max={Double} 1 and step = {Double} 0.1... i am getting values as 0.30000000001 0.79999999999 etc on incrementing or decrementingbut when giving integer values in step.. this works fine.. Is this expected. Do we need to do any any tweeks to fix this.

Views

106

Like

1

Replies

0
Re: AEM 6
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
Hi Gilles, 1. Yes the listeners like cq:listeners(afterEdit,beforsubmit....) are not working .2. But suppose i am using some other component which has one of the tab in the dialog containing images. Then how should i proceed.And i saw a new thing today. When Giving more than 4 tabs in the dialog the dialog is not coming in proper way. I have attached the screens shot. I tried to add width property, but that is also not working. And the OOTB page components has just 2 tabs i.e basic and advanced....

Views

103

Like

1

Replies

0
AEM 6
Avatar

abhinav_sinha

abhinav_sinha
- Adobe Experience Manager
HiI am working on AEM 6 and i am facing certain issues. Can you guys please help me out. The issues are listed below.1. The listners are not working in Granite UI dialog. Or is there some other way that needs to be followed.i am following the way we did it in AEM 5.6.12. In AEM 5.6.1 we have xtype spinner. But there is nothing such thing in AEM 6.0 for granite dialog. Can you help on this.3. We cannot drag and drop any image from the content finder, Image is only being uploaded from local. Is th...

Views

412

Likes

0

Replies

6