On 29.03.2013, at 20:14, Dan Klco <dan.k...@sixdimensions.com> wrote:
> @SlingProperty(name=”jcr:created”) > public Date getCreationDate(); Is this really worth the additional complexity compared to the following? public Date getCreationDate() { return properties.get("jcr:created", Date.class); } This is far more flexible in case you want to do more complex things for certain getters... Granted, you also need an adapter factory for that, but once that's set up, it's easy to add new adapters. Cheers, Alex