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 (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/17 23:38:37 UTC

[jira] [Resolved] (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:all-tabpanel ]

Eric Norman resolved SLING-2415.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Servlets Post 2.1.2

Added ability to match all child nodes for the :applyTo parameter by using '*' as the last segment of the value.  This applies to the delete, move and copy operations.

Please verify this does what you need.
                
> 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
>             Fix For: Servlets Post 2.1.2
>
>
> 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