Post servlet: Patching multi-value properties
---------------------------------------------

                 Key: SLING-1983
                 URL: https://issues.apache.org/jira/browse/SLING-1983
             Project: Sling
          Issue Type: New Feature
          Components: Servlets
            Reporter: Alexander Klimetschek


As described on the sling list 
http://sling.markmail.org/thread/xxaaqowtx7jgfo3p, allow patching of 
multi-value properties:

New "@Patch" suffix:

my:property@TypeHint=String[]
my:property@Patch=true
my:property=+value1
my:property=-value1

When "@Patch" is present, each of the property values from the request are 
expected to start with either "+" or "-", followed by the actual value. These 
two would represent the operations you want to have executed on the set.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to