Re: Problem with jcr:created property in initial content loading

2009-03-20 Thread Alexander Klimetschek
2009/3/19 Juan José Vázquez Delgado > > > We want to use these reserved properties (jcr:created, jcr:createdBy, etc.) > > because they are autocompleted by the SlingPostServlet and we are always to > > create content using the SlingPostServlet. > > > > How can initalize the jcr:created with a long

Re: Problem with jcr:created property in initial content loading

2009-03-19 Thread Juan José Vázquez Delgado
> We want to use these reserved properties (jcr:created, jcr:createdBy, etc.) > because they are autocompleted by the SlingPostServlet and we are always to > create content using the SlingPostServlet. > > How can initalize the jcr:created with a long in a json? I don´t know why but "jcr:created" i

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Daniel, de la Cuesta Navarrete
We want to use these reserved properties (jcr:created, jcr:createdBy, etc.) because they are autocompleted by the SlingPostServlet and we are always to create content using the SlingPostServlet. How can initalize the jcr:created with a long in a json? thank you. El 17 de marzo de 2009 12:19, J

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Juan José Vázquez Delgado
Hi Daniel, > The property isn't there > > ** Resource dumped by StreamRendererServlet** > Resource path:/content/mycontent > Resource metadata: {sling.resolutionPathInfo=, > sling.resolutionPath=/content/mycontent} > > ** Resource properties ** > title: My content title > size: > sling:resourceTyp

Re: Problem with jcr:created property in initial content loading

2009-03-17 Thread Daniel, de la Cuesta Navarrete
El 16 de marzo de 2009 20:17, Juan José Vázquez Delgado < juanjo.vazq...@gmail.com> escribió: > > For example, thorugh the browser: > > http.//localhost:/content/mycontent/jcr:created > > What do you get when try this?: > > http.//localhost:/content/mycontent.txt The property isn't there

Re: Problem with jcr:created property in initial content loading

2009-03-16 Thread Juan José Vázquez Delgado
> For example, thorugh the browser: > http.//localhost:/content/mycontent/jcr:created What do you get when try this?: http.//localhost:/content/mycontent.txt In the other hand, have you any error in Sling log? BR, Juanjo.

Re: Problem with jcr:created property in initial content loading

2009-03-16 Thread Daniel, de la Cuesta Navarrete
El 16 de marzo de 2009 19:07, Juan José Vázquez Delgado < juanjo.vazq...@gmail.com> escribió: > Hi Daniel, > > > Hi, > > > > I am loading custom initial-content in the repository using a json file > > > > This is my json: > > > > { > > "jcr:primaryType" : "nt:unstructured", > > "sling:resource

Re: Problem with jcr:created property in initial content loading

2009-03-16 Thread Juan José Vázquez Delgado
Hi Daniel, >  Hi, > > I am loading custom initial-content in the repository using a json file > > This is  my json: > > { >  "jcr:primaryType" : "nt:unstructured", >  "sling:resourceType" : "mycompany/content", >  "jcr:created" : "", >  "jcr:createdBy" : "", >  "jcr:lastModified" : "", >  "jcr:las

Problem with jcr:created property in initial content loading

2009-03-16 Thread Daniel, de la Cuesta Navarrete
Hi, I am loading custom initial-content in the repository using a json file This is my json: { "jcr:primaryType" : "nt:unstructured", "sling:resourceType" : "mycompany/content", "jcr:created" : "", "jcr:createdBy" : "", "jcr:lastModified" : "", "jcr:lastModifiedBy" : "" } It is st