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
BedrockMission!

Learn More

View all

Sign in to view all badges

mohanr80993572
Community profile mohanr80993572 Level 2
Job title here
Location here
2 BADGES
Level 2

Level 2

Learn more
Joined the community 28-09-2016 5:43:59 AM
Offline
Top badges earned by mohanr80993572
Customize the badges you want to showcase on your profile
Re: How to declare sightly java classes globally and include/use their references in all html files?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Thanks Feike, it worked. It is very helpful.

Views

311

Likes

0

Replies

0
How to declare sightly java classes globally and include/use their references in all html files?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
When we declare/instantiate a java class in htl/sightly in a html (similar to global.jsp) file and include it in another html, we are not able to access the reference of java class created in the included file.For Ex:Create a java class that extends WCMUse with some getters.com.company.sightly.components.WcmUseSample.javapublic Map getMyHashMap() {return myHashMap;}Declare/instantiate the java class in htl in a html file (similar to global.jsp)i18n-template.htmlInclude it in another html and try...

Views

702

Likes

0

Replies

3
Re: How to pass basename for getResourceBundle(...) in case of sightly
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Feike, thanks for your response. I want to pass both basename and locale. The one you mentioned accepts only locale but not basename.Thanks,Mohan

Views

486

Likes

0

Replies

0
Re: How to pass basename for getResourceBundle(...) in case of sightly
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Mac, thanks for your response. The method getResourceBundle(Locale locale) accepts only Locale. I want to pass both basename, locale where basename would be the application/brand name. Based on brand/base name I want to load different dictionaries for different applications. I am new to HTL. Anyhow I will try using HTL as you suggested and see if I can achieve that.Thanks,Mohan

Views

486

Likes

0

Replies

0
How to pass basename for getResourceBundle(...) in case of sightly
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
In sightly, for example, we use ${'lbl.global.loginText' @ i18n} to use I18N keys. Where is "i18n" defined in this case? In jsps we use as follows: final ResourceBundle resourceBundle = slingRequest.getResourceBundle("basename", currentPage.getLanguage(true)); I18n i18n = new I18n(resourceBundle);Where/how do we do this in sightly?Help would be greatly appreciated.Thanks,Mohan

Views

747

Likes

0

Replies

5
Re: How to GZip dictionaries?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Vijayraj, we are using dictionaries' keys in javascript using Granite library. In this case dictionary json is generated. We are looking to compress these jsons.Mohan

Views

328

Likes

0

Replies

0
Re: How to GZip dictionaries?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Jörg, thanks for the reply. Yeah, gzip I mean compression only. AEM doesn't compress files other than CSS, JS. Will try with webserver.Mohan

Views

330

Likes

0

Replies

0
How to GZip dictionaries?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
As we GZip CSS and JS files in AEM, we would like to GZip dictionaries (dict.en_US.json, dict.fr_US.json, etc) as well. How can we achieve that? Help would be greatly appreciated.Thanks,Mohan

Views

943

Like

1

Replies

5
Re: How to load only part of the dictionary in AEM 6.0?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Ok, thank you - Mohan

Views

1.2K

Likes

0

Replies

0
Re: How to load only part of the dictionary in AEM 6.0?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Thanks Alex, for the info. Did you deactivate dictionaries at /libs/wcm/core/i18n in publish instance or using Guide Localization Service or overlayed /libs/wcm/core/i18n with your custom or blank dictionaries?- Mohan

Views

1.2K

Likes

0

Replies

0
Re: How to load only part of the dictionary in AEM 6.0?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Alex, could you find any solution for this? Even we are facing same issue.Thanks,Mohan

Views

1.2K

Likes

0

Replies

0
Re: An error occurred while moving page in AEM6.1
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Properties like cq:allowedTemplates, allowedParents, allowedPaths, allowedChildren for the template of the page (being moved) and the destination parent page might be causing the issue. Please check them once.

Views

916

Likes

0

Replies

0
Re: An error occurred while moving page in AEM6.1
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
How are you trying to move the page, from CRXDE Lite or from SiteAdmin?

Views

919

Likes

0

Replies

0
Re: How to view Responsive pages in Emulator (along with simulator)?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
One more attachment...

Views

188

Likes

0

Replies

0
How to view Responsive pages in Emulator (along with simulator)?
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
We have a requirement to show both adaptive pages and responsive pages in emulator as well as simulator. How can I achieve this? When I tried this with responsive pages (geometrixx-media), content of the page is rendered outside the emulator. When I tried this with non responsive pages (geometrixx) pages are rendered inside the emulator. Please find attachment for the same. Any help is greatly appreciated.

Views

207

Likes

0

Replies

1
Re: How to disable Sidekick in sightly page component
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Dubey,Thanks, it was helpful...

Views

265

Likes

0

Replies

0
Re: How to disable Sidekick in sightly page component
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Dubey,Thanks for your reponse. What you said is true. But following is my usecase.1. I created a template using the page component wcm/foundation/components/page and created a page using this template. When I access this page, I am able to see the sidekick. I want to hide this sidekick. Where is the code that is enabling this sidekick?

Views

262

Likes

0

Replies

0
How to disable Sidekick in sightly page component
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
We can hide/disable sidekick in author mode in page component by removing/commenting or by not including "/libs/wcm/core/components/init/init.jsp" in any of the jsps of the page or its super/parent resource. But how to achieve the same in sightly page component? What/where is the line of code that enables/disables the sidekick in a sightly page? Any help would be greatly appreciated.

Views

968

Like

1

Replies

4
Re: Looks like AEM RedirectFilter doesn't use WURFL database by default when "cq:deviceIdentificationMode" is set to "server-side"
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Hi Scott, I am following the article [1], for this. Also I am trying to understand its behaviour from logs, and wurfl, device, devicegroups data in CRX nodes.[1] http://docs.adobe.com/docs/en/cq/5-6/developing/mobile.html

Views

191

Likes

0

Replies

0
Looks like AEM RedirectFilter doesn't use WURFL database by default when "cq:deviceIdentificationMode" is set to "server-side"
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Does AEM Mobile RedirectFilter uses WURFL database by default for device detection and redirection or does it use only the Devices(created as emulators) and the DeviceGroups created and mapped to the root page of mobile website when "cq:deviceIdentificationMode" property set to "server-side". When I analyzed "geometrixx_mobile" site, I didn't see any usage of WURFL database though it is available in AEM. The behaviour is same with and without (when I removed devices data from WURFL xml) WURFL da...

Views

279

Likes

0

Replies

2
Unable to import other blogs by using feeds
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
I am trying to import blogs (external/internal) into my current blogs page using rss feeds. But I am getting the following error and the import is not successful.18.05.2015 17:01:21.753 *INFO* [pool-9-thread-3] com.day.cq.polling.importer.impl.PollingImporterImpl importData: Importing data from rss:http://science.kqed.org/quest/feed/ to /content/geometrixx/en/community/blog as admin by com.adobe.cq.social.blog.impl.importer.FeedImporter@6aa2b418.05.2015 17:01:21.753 *ERROR* [pool-9-thread-3] org...

Views

237

Likes

0

Replies

0
Re: Creating custom template for teaser pages
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
I guess you can achieve this by Overlaying campaign, teaser and brand templates. I tried this and it worked for me. Here are the steps:1. Copy /libs/mcm/templates/brand to /apps/cq/mcm/templates/brand and make the following changes a. Add /apps/cq/personalization/templates/campaign to allowedChildren b. Add /content/demo/campaigns to allowedPaths c. Give your custom "jcr:title" to your "brand" template2. Copy /libs/cq/personalization/templates/campaign to /apps/cq/personalization/templates/campa...

Views

140

Likes

0

Replies

0
Re: OpenDDR/ApacheDeviceMap Integration with AEM to use in emulators for Device Detection
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
Which device database does browsermap use for device capabilities? Does it have any database of its own as WURFL, ApacheDeviceMap have?

Views

199

Likes

0

Replies

0
OpenDDR/ApacheDeviceMap Integration with AEM to use in emulators for Device Detection
Avatar
Validate 1
Level 2
mohanr80993572
Level 2

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
mohanr80993572
- Adobe Experience Manager
We have a requirement to use OpenDDR/ApacheDeviceMap for Server side Device Detection. What would be the effort in integrating OpenDDR/ApacheDeviceMap with AEM so that it replaces WURFL by supporting all the features that are supported by WURFL like managing device groups, supporting emulator, etc along with device detection? Till now I am able to install ApacheDeviceMap bundles, load devicemap database and read the capabilities. Now I am looking for creating Devices, device groups and using the...

Views

224

Likes

0

Replies

2
Likes given to
Likes from