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

Carsten Ziegeler commented on SLING-354:
----------------------------------------

Sometimes, you can't make up the post url as the name of the node is defined by 
a request parameter, for instance if the name is user input (I know that in 
this cases only
certain characters are valid)
I think we should have both, the "nodeName" and "nodeHint"

> Better way to define the node name for a newly created node
> -----------------------------------------------------------
>
>                 Key: SLING-354
>                 URL: https://issues.apache.org/jira/browse/SLING-354
>             Project: Sling
>          Issue Type: Improvement
>          Components: ujax
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: 2.0.0
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> The current node name generator checks for a fixed set of request parameters 
> name. While this approach is fine, it creates a problem as even if one of 
> those properties is used to define the name, it is later on still tried to be 
> set as a parameter.
> I propose to add a sling:post:nodeName property to define the name.

-- 
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