[Erp5-dev] How to call view() on arbitraly chosen portal skin?

Jérome Perrin jerome at nexedi.com
Tue Oct 2 18:06:13 CEST 2007


Jacek Medrzycki a écrit :
> I want to invoke
> portal.some_module.some_object.view()
> and but on specified skin layer.

Hi, try this:

portal.changeSkin('SomeSkin')
portal.some_module.some_object.view()

Jérome



More information about the Erp5-dev mailing list