Re: RemoteController and language revisisons
"M.-A. DARCHE" <[email protected]> Tue, 22 May 2007 10:33:55 +0200
| Newsgroups | gmane.comp.web.zope.cps.devel |
|---|---|
| Message-ID | <[email protected]> |
Michael Schulz a écrit : > Hi, > > I am extending the remotecontroller to be able to create language > revisions of documents. At the moment this is not possible. My > extensions are: > - a method createLanguageRevision(rpath, tolang, fromlang) that takes > the proxy at the rpath and create the revision. > - change _editDocument to check the doc_def for a 'Language' key and > if found call getEditableContent with the lang parameter. > > Any caveeats on these changes that I might have missed? > No. This looks good. -- Marc-Aurèle DARCHE Open Source Enterprise Content Management (ECM) http://www.nuxeo.org/ NUXEO (Paris, France) http://nuxeo.com/ _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel