Hi Vinay, these are the properties of the datepicker:type=date
(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...
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...
Thanks for your replies.After a lot of trial & errors I've found a JSP
solution that provide the respective values:<%@ page
org.apache.sling.api.resource.ResourceResolver" %><%@ include
file="/libs/foundation/global.jsp"%><%String resourcePath =
"/path/to/settings";Resource res =
resourceResolver.getResource(resourcePath);Node node =
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
getValueMap in object
strange to me as the function should be available.Using .valueMap
returns this error:"org.apache.slin...
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...