You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Commented) (JIRA)" <ji...@apache.org> on 2012/03/16 23:44:40 UTC

[jira] [Commented] (SLING-2415) Ability to delete child nodes, without deleting the parent node in SlingPostServlet

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

Eric Norman commented on SLING-2415:
------------------------------------

A wildcard as the last segment of the applyTo value makes sense to me.  I'll implement and add a few tests.
                
> Ability to delete child nodes, without deleting the parent node in SlingPostServlet
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-2415
>                 URL: https://issues.apache.org/jira/browse/SLING-2415
>             Project: Sling
>          Issue Type: New Feature
>          Components: Servlets
>            Reporter: Chaitanya Atreya
>            Assignee: Eric Norman
>
> Provide a way to delete all the child nodes of a given node in the SlingPostServlet, without deleting the parent node itself.
> There are many situations where one might want to delete only the child nodes, while keeping the parent node intact. 
> One way to do this now is to use the :applyTo request parameter for each child node. However, this requires first fetching all the child nodes, which can be avoided with this feature.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira