another idea:

if the parent node is a nt:folder, create a nt:file. otherwise create
an nt:resource.
further should the "/*" suffix use the local filename as hint for
creating the new node.

if the file is not specified in the upload, the node must not be deleted.

btw: in the current ujax servlet, it either deletes or creates stuff.
i suggest to do both: delete first and then create stuff.

regards, toby
-- 
-----------------------------------------< [EMAIL PROTECTED] >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Reply via email to