[CPS-devel] renderObject + renderEditObjectDetailed depreciated ?

Florent Guillaume fg at nuxeo.com
Tue Sep 5 17:17:49 CEST 2006


See the source of FlexibleTypeInformation.
renderObject is not deprecated.
ti.renderEditObjectDetailed (called by doc.renderEditDetailed) is  
replaced by calls to ti.validateObject then ti.renderObject  
(doc.validate then doc.render). See how it's used in  
cpsdocument_edit.py for instance.

Florent

On 3 Sep 2006, at 16:58, Joachim Schmitz wrote:

> hi,
>
> when I call renderEdit for a CPSDocument I find in the log:
>
> /ZP/i29/Products/CPSDocument/CPSDocument.py:106:  
> DeprecationWarning: renderEditObject is obsolete and will be  
> removed in CPS 3.5.0
>   return self.getTypeInfo().renderEditObject(self, **kw)
> /ZP/i29/Products/CPSDocument/FlexibleTypeInformation.py:919:  
> DeprecationWarning: renderEditObjectDetailed is obsolete and will  
> be removed in CPS 3.5.0
>   rendered, ok, ds = self.renderEditObjectDetailed(*args, **kw)
>
> is renderObject also depreciated ? Or will it call the replacements  
> for
> renderObject ?
>
> -- 
> Mit freundlichen Grüßen                                Joachim Schmitz
> ......................................................................
> AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
> Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
>
>
> _______________________________________________
> cps-devel mailing list
> http://lists.nuxeo.com/mailman/listinfo/cps-devel

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com




More information about the cps-devel mailing list

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