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

nobody@nowhere.com nobody@nowhere.com
Wed, 04 Sep 2002 12:34:42 -0400

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


      If the *updateInfo* script requires parameters, you must either
      choose a name for the DTML namespace binding (see Binding
      Variables below) so that the parameters will be looked up in the
      namespace, or you must pass the parameters in an expression,
      like this::

        <dtml-call expr="updateInfo(color='brown', pattern='spotted')">

        % Anonymous User - Sep. 4, 2002 12:34 pm:
         Calling a script with hardcoded values is pretty useless in the real world. It would be great to have an
         example that shows how to grab variables from the namespace and insert them into the parameter list in this