[Zope3-Users] Getting view result from Python

Thierry Florac thierry.florac at onf.fr
Wed Jun 27 05:45:06 EDT 2007


  Hi,

I'd like to get a view output from some Python code.

Actually, I don't have any problem if I use a page template with a
simple <tal:x content="structure context/@@viewname" /> expression and
return "self.template()" in Python.
But it should certainly be "cleaner" and less expensive to get view
output directly from Python code, which I don't actually manage to do...

So any advise to this probably simple problem would be welcome.

Thanks,

  Thierry Florac
-- 
  Chef de projet intranet/internet
  Office National des Forêts - Département Informatique
  2, Avenue de Saint-Mandé
  75570 PARIS Cedex 12
  Mél : thierry.florac at onf.fr
  Tél. : +33 01.40.19.59.64
  Fax. : +33 01.40.19.59.85



More information about the Zope3-users mailing list