jcr:primary type is the value that needs to be passed to the addNode method
when a new node is created.
I named the request parameter sling:primaryType as to not collide with the
automagic node.setProperty("jcr:primaryType", "mytype") which will fail as
primary type is a protected property.
Sent via BlackBerry by AT&T
-----Original Message-----
From: "David Nuescheler" <[EMAIL PROTECTED]>
Date: Tue, 5 Feb 2008 09:39:08
To:[email protected]
Subject: Re: Need to have the ability to add primary content type to PUT in
UjaxPostServlet
hi eric,
what do you mean by sling:primaryType? are you referring to jcr:primaryType?
regards,
david
On 2/5/08, Marts, Eric <[EMAIL PROTECTED]> wrote:
> I updated class to handle sling:primaryType request parameter. Need to get
> into main branch.
>
> addNode(node, type);
>
> Eric
>