Re: Feature Request - edit XML through DAV

Clemens Klein-Robbenhaar <crobbenhaar-S0/[email protected]> Thu, 10 Mar 2005 20:50:57 +0100
Newsgroups gmane.comp.web.zope.formulator.devel
Message-ID <[email protected]>
Hi Ian,

> It'd be useful to be able to edit a formulator object or it's field elements 
> through DAV. I was thinking this could be accomlished by editing the XML 
> directly, and having it translated on upload/download through DAV.
> 

  hm, there is already a "set_xml" helper method in Form.py; maybe one
can implemente a PUT method which calls that helper. This looks like an easy one.

> Editing a field element could be equivalent to editing the subsection of the 
> formulator XML file. The formulator DAV collection could maybe have a dummy 
> element which gave access to the full xml.
> 

  I feel creating xml for the fields separaely would make things much more complicated.
(I guess ot would not be impossible, however, just complicated.)
Would it be sufficient to have Formulator forms editable via WebDAV as a whole, not
as a collection of fields, just to keep things simple?

Cheers,
Clemens