[Erp5-dev] How to call view() on arbitraly chosen portal skin?
Jacek Medrzycki
jacek at erp5.pl
Tue Oct 2 16:38:50 CEST 2007
bartek pisze:
> If you want it work exactly this way, use skin layers - by default,
> there are View, Print and CSS skin. You can add your own, the tricky
> part of it was discussed on this list about a month ago.
>
I want to do exactly like that - i've got my own skin layer - and I want
to call object.view() on specified skin layer.
I other way, it should work like specifying portal_skin=SomeSkin in url,
but should be called from the code!
instead of:
http://blebleble/erp/some_module/some_object/?portal_skin=SomeSkin
(which of course works)
I want to invoke
portal.some_module.some_object.view()
and but on specified skin layer.
J.
More information about the Erp5-dev
mailing list