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.
See line 88 of this script: http://svn.apache.org/viewvc/sling/trunk/samples/espblog/src/main/resources/initial-content/apps/espblog/edit.esp?revision=949738&view=markup Regards, Eric On Tue, Aug 10, 2010 at 7:58 AM, Federico Paparoni < [email protected]> wrote: > Hi all, > > I see from the espblog example that when there a query among all nodes, the > results are ordered by created property descending > > var query = > queryManager.createQuery("/jcr:root/content/espblog/posts/element(*, > nt:unstructured) order by @created descending", "xpath"); > > Is this an implicit property of every node? > I don't see it using a JCR browser. > If it isn't, how is it created in the espblog example? > > Bye, > > -- > Federico >
