[Zope] Feedback to user with PageTemplateFile()

Pupeno pupeno at pupeno.com
Fri Aug 13 17:47:41 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm doing this in a Zope product to have tool that is in a tab of that product 
and where the templates are made with zpt:

manage_importForm = PageTemplateFile('www/manage_importForm', globals())
def manage_import(self, REQUEST):
	message="Work done"
	return self.manage_importForm(REQUEST)

Now, my question is, how do I get the variable message to be usable in the 
template www/manage_importForm ? Do I pass it as a variable for 
manage_importForm() ? and PageTemplateFile() ? and how do I use it in the 
template.

Thanks.
- -- 
Pupeno: pupeno at pupeno.com - http://www.pupeno.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHTb/fW48a9PWGkURAhZvAJ9EretenYewYFUGe4OhqJ5Ft/OVrACfUWzh
eME9I8zQcAclQxVhRoerSOM=
=LN0+
-----END PGP SIGNATURE-----


More information about the Zope mailing list