[ 
https://issues.apache.org/jira/browse/SLING-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12573868#action_12573868
 ] 

Tobias Bocanegra commented on SLING-295:
----------------------------------------

> > locking at the code, I guess it's easier to use the special prefix "ujax:"
> Ah, you are right. ok. Then ujax: is probably better.
i don't think so.

the jcr:primaryType should be used, since it's already defined by JCR. i don't 
think that introducing a new mechanism is intuitive. 

example:

POST /foo/bar/*
jcr:primaryType="my:nodetype"


> Specify nodetype for node creation
> ----------------------------------
>
>                 Key: SLING-295
>                 URL: https://issues.apache.org/jira/browse/SLING-295
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>         Attachments: patch.txt
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> It would be nice to specify the node type for new nodes when they are created 
> through the post servlet.
> Perhaps by specifying a node type parameter (like ujax:nodetype)?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to