[CPS-devel] How to get the proxy from a widget

Miguel Sánchez Beato miguel.sanchez at iavante.es
Tue Jun 19 12:23:55 CEST 2007


  
Hello. I'm dealing with a Method Widget and I want to use a custom page 
tamplate to render the content of this widget. The point is that I need 
the proxy that contains the widget, but I can't  "see" it from the widget.

I've tried context.getDataModel(context) but the 'proxy' here is None 
(the 'context' vble is the widget)

Any ideas for taking the proxy from a widget?
CPS version: 3.4.4

Thank you!!
-- 

*Miguel Sánchez Beato * 
*Técnico de Software Libre * 
FUNDACIÓN IAVANTE

miguel.sanchez at iavante.es
Tel. 951 015 358 *(915358)*

 

Este correo electrónico y, en su caso, cualquier fichero anexo, contiene 
información confidencial exclusivamente dirigida a su(s) 
destinatario(s). Toda copia o divulgación deberá ser autorizada por IAVANTE.

This e-mail and any attachments are confidential and exclusively 
directed to its adressee(s). Any copy or distribution will have to be 
authorized by IAVANTE.

 




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