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

Vikash_kumar_18
Community profile Vikash_kumar_18 Level 1
Job title here
Location here
4 BADGES
Level 1

Level 1

Learn more
Joined the community 26-05-2021 1:57:46 PM
Offline
Top badges earned by Vikash_kumar_18
Customize the badges you want to showcase on your profile
Translate Timezone name using Timezone JAVA API
Avatar
Give Back
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
import java.util.*; public class HelloWorld{ public static void main(String []args){ Locale locale = new Locale("zh","CN"); TimeZone zone = TimeZone.getTimeZone("America/Chicago"); String displayNameShort = zone.getDisplayName(true, TimeZone.SHORT, locale); System.out.println("Short time zone name - " + displayNameShort); String displayNameLong = zone.getDisplayName(true, TimeZone.LONG, locale); System.out.println("Long time zone name - " + displayNameLong); } } Output - Short time zone name - C...

Views

67

Likes

0

Replies

2
Re: How to adapt OOTB ContentFragmentList sling model in...
Avatar
Give Back
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
Hi @Vijayalakshmi_S I am still getting the same error. Please find the details below - AEM version - 6.5.7 ( Even I tried with 6.5.0)Core Component version - 2.12.0Custom component structure I even tried with adapters = {SlingTestModel.class} but no luck.

Views

148

Like

1

Replies

0
How to adapt OOTB ContentFragmentList sling model in another sling model
Avatar
Give Back
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
Hi,I am trying to adapt OOTB ContentFragmentList sling model.I am extending OOTB ContentFragmentList.At Line 28, While evaluating the right side, I am getting the expected result as a List of content fragments. But it's throwing below exception while assigning the value to the right side.Caused by: java.lang.ClassCastException: com.adobe.cq.wcm.core.components.internal.models.v1.contentfragment.ContentFragmentListImpl cannot be cast to com.adobe.cq.wcm.core.components.models.contentfragment.Cont...

Views

204

Likes

0

Replies

3
Re: AEM 6.4 - Editable templates - Multiple parsys inside...
Avatar
Give Back
Level 1
Vikash_kumar_18
Level 1

Like

1 like

Total Posts

4 posts

Correct reply

0 solutions
Top badges earned
Give Back
Ignite 1
Validate 1
Boost 1
View profile
Vikash_kumar_18
- Adobe Experience Manager
I created a component specific policy and manually added components [] property and added the required component group also.There are three parsys in my components and the only above added components are allowed in those parsys. How I will add another component or group without crx/de or code change because the Allowed Component policy is available only on the template level?

Views

291

Likes

0

Replies

0
Likes from