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

mohanr80993572
mohanr80993572
Offline

Badges

Badges
9

Accepted Solutions

Accepted Solutions
0

Likes

Likes
2

Posts

Posts
24

Discussions

Discussions
4

Questions

Questions
20

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by mohanr80993572
Customize the badges you want to showcase on your profile
How to declare sightly java classes globally and include/use their references in all html files? - Adobe Experience Manager 10-10-2016
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

780

Likes

0

Replies

3
Re: How to pass basename for getResourceBundle(...) in case of sightly - Adobe Experience Manager 27-09-2016
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

555

Likes

0

Replies

0
Re: How to pass basename for getResourceBundle(...) in case of sightly - Adobe Experience Manager 27-09-2016
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

555

Likes

0

Replies

0
How to pass basename for getResourceBundle(...) in case of sightly - Adobe Experience Manager 27-09-2016
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

817

Likes

0

Replies

5
Re: How to GZip dictionaries? - Adobe Experience Manager 02-09-2016
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

431

Likes

0

Replies

0
Re: How to GZip dictionaries? - Adobe Experience Manager 02-09-2016
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

433

Likes

0

Replies

0
How to GZip dictionaries? - Adobe Experience Manager 01-09-2016
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

1.0K

Like

1

Replies

5
Re: How to load only part of the dictionary in AEM 6.0? - Adobe Experience Manager 01-09-2016
Ok, thank you - Mohan

Views

1.5K

Likes

0

Replies

0
Re: How to load only part of the dictionary in AEM 6.0? - Adobe Experience Manager 31-08-2016
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.5K

Likes

0

Replies

0
Likes given to
Likes from