[Zope-CMF] Accessing object methods

Dieter Maurer dieter@handshake.de
Sat, 8 Mar 2003 14:24:25 +0100


Braun Brelin wrote at 2003-3-7 04:56 -0800:
 > ...
 > object = <URL to new form instance>
 > object.SetFormAction("action","MyFormActionScript")

The description seems to indicate that "object" is a
string (as an URL is a string).
A string does not have a "SetFormAction" method.

Maybe, you can use "restrictedTraverse" (--> archives,
API-reference) to get at the object.


Dieter