2014-09-03 21:41 GMT+02:00 Alexander Klimetschek <aklim...@adobe.com>:

> On 03.09.2014, at 07:30, Carsten Ziegeler <cziege...@apache.org> wrote:
>
> > While it's true that all changes go to /apps in my case, the ui logic
> needs
> > to decide whether to remove a node in apps, whether to create/update the
> > node in apps and whether to add the special hide property. it's not that
> > trivial - a simple post to /apps does not work.
>
> Hmm, good point, but AFAIK this should be easy and in line with how the
> sling post servlet works:
> - a modification is a complete write (POST)
> - a delete is a write "sling:hide" (don't remember the actual property)
> (POST)
>
>
And how do you know what to do? You get a resource from /mnt/merge/bla and
want to delete it, this is either:
- delete the note from /apps/bla
- create a node add /apps/bla and add the hide property

Carsten


> Cheers,
> Alex
>
>


-- 
Carsten Ziegeler
Adobe Research Switzerland
cziege...@apache.org

Reply via email to