You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2008/02/12 22:23:07 UTC

[jira] Reopened: (SLING-244) ujax post servlet should allow relative moves

     [ https://issues.apache.org/jira/browse/SLING-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tobias Bocanegra reopened SLING-244:
------------------------------------


the main problem is that in case of content creation, the move is executed in advance.


> ujax post servlet should allow relative moves
> ---------------------------------------------
>
>                 Key: SLING-244
>                 URL: https://issues.apache.org/jira/browse/SLING-244
>             Project: Sling
>          Issue Type: Improvement
>          Components: microsling
>            Reporter: Tobias Bocanegra
>
> use case:
> 1. upload a file (or files) to a tmp location. eg to /tmp/upload/*
> 2. create a new node and move the tmp files to that location.
> 1. request:
>   POST /tmp/upload/* 
>   [...multipart with some file...]
> 1. response:
>   [...response html with 'path' of new file/resource node...]
> 2. request
>   POST /content/entry/*
>   ujax:moveSrc = "...path of tmp file from 1. response..."
>   ujax:moveDest = "./file"
>   ./title = "Hello, world"
>   ./fileName = "world.jpg"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.