[CPS-devel] RemoteController and language revisisons

Michael Schulz mschulz at webgis.de
Tue May 22 10:28:07 CEST 2007


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?

Cheers, Michael

-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.