[Erp5-dev] How to call view() on arbitraly chosen portal skin?
Jacek Medrzycki
jacek at erp5.pl
Tue Oct 2 16:05:12 CEST 2007
Hi
When I call object.view(), i get rendered form for the view action of
the object.
But I want it to be rendered not with the default View skin selection,
but on specified one. That is, I want to simulate the call:
/some/object/path/view?portal_skin=SkinName
but from the code of Zope product.
I tried:
object.view(portal_skin='SkinName')
but it doesn't work.
How can I do this?
Regards
Jacek
More information about the Erp5-dev
mailing list