Re: Feature Request - edit XML through DAV

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

[...]
>>  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?
> 
> 
> It might be. Right now, however, the formulator shows up as a collection of 
> elements through DAV. When I mount using davfs, it is a directory, with a 
> bunch of files (one for each element).
> 
> I'm not sure how you would make formulator look like a folder w/ children in 
> the ZMI, but look like a file through DAV.

I guess that's because ZMIForm inherits from ObjectManager, which in turn is a
"webdav.Collection". Maybe additionally inheriting from webdav.Resource
would fix that (just a guess, I did not try ...)

Cheers
Clemens