Re: [ZIZope] python scripts, estensioni file, passaggio parametri a zpt

Yuri <[email protected]> Tue, 22 Jan 2008 13:14:11 +0100
Newsgroups gmane.comp.web.zope.italian
Message-ID <[email protected]>
Stefano Guglia wrote:
> ormai che mi sono fatto una reputazione..
>
> ...
> pt	= context.miotemplate
> s	= pt(param=valore)
> return s
>
> per passare la variabile param dallo script python allo template zope di
> nome miotemplate. e funziona.
>
> ma se si chiamasse miotemplate.zpt oppure miotemplate.zpt.html..quale e'
> la sintassi corretta per non incorrere nell' inevitabile errore??
>   

context[<una stringa]

> Abbiate pazienza e grazie!
>
> Bye,
> Stefano.
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Zope mailing list
> [email protected]
> http://lists.zope.it/cgi-bin/mailman/listinfo/zope
>