How to get the proxy from a widget

Miguel Sánchez Beato <[email protected]> Tue, 19 Jun 2007 12:23:55 +0200
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <[email protected]>
  
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

[email protected]
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.

 

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel