El 16 de marzo de 2009 19:07, Juan José Vázquez Delgado <
[email protected]> 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:resourceType" : "mycompany/content",
> >  "jcr:created" : "",
> >  "jcr:createdBy" : "",
> >  "jcr:lastModified" : "",
> >  "jcr:lastModifiedBy" : ""
> > }
> >
> > It is strange because all properties are created except the jcr:created,
>
> If I understand you properly, you create an initial resource with that
> properties but "jcr:created" is not initialized, is that correct?.


Yes,  the property is not initialized.

>
>
> > I always get a 404 (Resource not found) error when I try to acces this
> > property
> >
> > Any idea?
>
> What do you mean with "when I try to acces this property"?. How are
> you trying to access to the property?


For example, thorugh the browser:
http.//localhost:8888/content/mycontent/jcr:created

or through the jcr api in a JSP



>
> Regards,
>
> Juanjo.
>

Reply via email to