[
https://issues.apache.org/jira/browse/SLING-354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588998#action_12588998
]
Bertrand Delacretaz commented on SLING-354:
-------------------------------------------
IIUC the actual parameter names would be
sling:post:nodeName
sling:post:nodeNameHint
Which are IMHO self-explaining and consistent - I'd agree with
sling:post:name
sling:post:nameHint
but those are not self-explaining, one doesn't know what "name" is used for.
> 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: Post Servlets
> Reporter: 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.