You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/01 10:35:00 UTC
[jira] [Resolved] (SLING-1983) Post servlet: Patching multi-value
properties
[ https://issues.apache.org/jira/browse/SLING-1983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-1983.
--------------------------------------
Resolution: Fixed
Can be resolved, documentation to be done as part of SLING-2393
> 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
> Affects Versions: Servlets Post 2.1.0
> Reporter: Alexander Klimetschek
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.1.2
>
> Attachments: SLING-1983.patch
>
>
> 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.
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