[Zope-CMF] Accessing object methods

Braun Brelin bbrelin@yahoo.com
Fri, 7 Mar 2003 04:56:52 -0800 (PST)


Hello,

I've got a python script that copies a CMFForm (based
on Portal Forms) form from one folder to another. 
What I also want to do in this script is call a method
that sets the action for the copied form
programmatically rather than have the user do it
manually.  I can't quite figure out how to do this...

I've tried doing something like:

object = <URL to new form instance>
object.SetFormAction("action","MyFormActionScript")

But that doesn't seem to work. I just get attribute
errors on SetFormAction.

anyone have any thoughts on how to do this???

Thanks,

Braun Brelin


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/