[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Advanced Zope Scripting

webmaster at zope.org webmaster at zope.org
Fri Mar 5 23:01:52 EST 2004


A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx#3-40

---------------

      If you edit your scripts via FTP, you will notice that these
      bindings are listed in comments at the top of your script
      files. For example::

        ## Script (Python) "example"
        ##bind container=container
        ##bind context=context
        ##bind namespace=
        ##bind script=script
        ##bind subpath=traverse_subpath
        ##parameters=name, age
        ##title=
        ##
        return "Hello %s you are %d years old." % (name, age)

        % Anonymous User - Mar. 5, 2004 11:01 pm:
         Note -- "This variable refers in which the script is defined." should be "This variable refers to the folder
         in which the script is defined."



More information about the ZDP mailing list