You are not logged in Log in Join
You are here: Home » Members » Torped » ZWikiZC » Howto do dtml-with in Python » tip_view

Log in
Name

Password

 

Created by ZopeOrgSite . Last modified 2000-10-16 08:29:35.

In a method called (from the web) and including the namespace:
def __call__(self,client=None,REQUEST=None):
  """From the web calls"""

  # To do the dtml-with, push the self to the client with the __of__ method.

  client = self.__of__(client)

  # client now has self on the top of it's namespace