[Zope] ZClass Forms
David Kyte
david.kyte@microamps.com
Tue, 29 Jan 2002 00:41:03 -0000
Hi,
I want to create an ZClass instance method - which is a form
that calls another method in the same instance ie
FAQ ZClass
faq1 is instance of FAQ ZClass
call the AddFaq form using the faq1 instance in a test
dtml method
<dtml-var "faq1.Addfaq( faq1, _ )">
Inside the FAQ ZClass there are two instance methods
1) The form AddFaq
and the action
2) doAddFaq
In the AddFaq form the action property of the form
contains
<form name=fred action=doAddFaq>
The test script finds the AddFaq form but the
doAddFaq instance method is not found.
What do I need to wrap around the form
<dtml-with ....
to get the form to find the instance method?
TIA
Dave