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

REESG
REESG
Offline

Badges

Badges
7

Accepted Solutions

Accepted Solutions
1

Likes

Likes
2

Posts

Posts
7

Discussions

Discussions
0

Questions

Questions
7

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by REESG
Customize the badges you want to showcase on your profile
Re: AEM 6.1 Touch UI: Datepicker Field not prepopulated with stored value - Adobe Experience Manager 14-03-2017
Thanks-a-lot for your help, Vinay. Problem solved.

Views

1.5K

Likes

0

Replies

0
Re: AEM 6.1 Touch UI: Datepicker Field not prepopulated with stored value - Adobe Experience Manager 14-03-2017
Hi Vinay, these are the properties of the datepicker:type=date (string)displayedFormat=YYYY-MM-DD (string)jcr:primaryType=nt:unstructured (name)name=./jcr:startdate (string)sling:resourceType=granite/ui/components/foundation/form/datepicker (string)fieldLabel=Start Date (string)fieldDescription=Enter Start Date (string) I'm using "java.util.Date startdate = properties.get("jcr:startdate", java.util.Date.class);" to get the input and use it in my JSP component file.This is an example output of th...

Views

1.5K

Likes

0

Replies

0
AEM 6.1 Touch UI: Datepicker Field not prepopulated with stored value - Adobe Experience Manager 14-03-2017
Hi! I'm currently facing a strange issue:I've a component that includes text inputs and a date picker (Resource Type: granite/ui/components/foundation/form/datepicker).I can add and edit values for all input fields and they are shown properly on the component on the edited webpage.The system also stores all values properly. But when I re-open the dialog the value for the date selected via date picker is not shown. The date picker input field remains empty.All other inputs are prepopulated with t...

Views

7.2K

Likes

2

Replies

8
Re: Read out and use node parameters from other components via JS Use API - Adobe Experience Manager 07-03-2017
Thanks for your replies.After a lot of trial & errors I've found a JSP solution that provide the respective values:<%@ page import="com.day.cq.commons.jcr.JcrUtil, com.day.cq.wcm.api.WCMMode, org.apache.sling.api.resource.ResourceUtil, org.apache.sling.api.resource.ResourceResolver" %><%@ include file="/libs/foundation/global.jsp"%><%String resourcePath = "/path/to/settings";Resource res = resourceResolver.getResource(resourcePath);Node node = resource.adaptTo(Node.class);properties = res.adaptT...

Views

1.4K

Likes

0

Replies

0
Re: Read out and use node parameters from other components via JS Use API - Adobe Experience Manager 01-03-2017
Hi Daniel,many thanks for your response.I've tried the ValueMap approach before and tried it again today in several variants:Using the getValueMap() function returns this error message:"org.apache.sling.scripting.sightly.SightlyException: org.mozilla.javascript.EcmaError: TypeError: Cannot find function getValueMap in object /content/www/en-eu/about/events2/jcr:content/eventSettings."This sounds strange to me as the function should be available.Using .valueMap returns this error:"org.apache.slin...

Views

1.4K

Likes

0

Replies

0
Read out and use node parameters from other components via JS Use API - Adobe Experience Manager 01-03-2017
Hi! my current task is to read out the properties set in a component and use these values in another component:I created a common component for some settings like date format or some translations that should be used in other components that are also used on that page.The user should add another component to that page and the settings made before are being used inside this new component.For example: If we have a setting for a date format in the settings component this format replaces the standard...

Views

3.8K

Likes

0

Replies

5
Likes from