On Wed, Aug 11, 2010 at 10:29, Federico Paparoni
<[email protected]> wrote:
> Hi Eric,
>
> 2010/8/11 Eric Norman <[email protected]>
>
>> Hi Federico,
>>
>> No, the 'created' property is not an implicit property of every node.  The
>> form that creates the blog post in the espblog sample has a hidden input
>> field that adds the created property.  The value of the 'created' property
>> is auto-generated by sling.  The documentation could probably be enhanced
>> to
>> make that more clear.
>>
>>
> Thanks for the explanation. Yes Sling documentation "should" be enhanced :)

>From the code [1], these are properties where a date is auto-generated:

created
createdBy
jcr:created
jcr:createdBy
lastModified
lastModifiedBy
jcr:lastModified
jcr:lastModifiedBy

[1] 
http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/post/src/main/java/org/apache/sling/servlets/post/impl/helper/SlingPropertyValueHandler.java?revision=980958&view=markup

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to