On Thu, 17 Aug 2000 15:42:17 +0200, Marcin Kasperski
<[EMAIL PROTECTED]> wrote:
>Vincent wrote:
>>
>> Is it possible to access Python function within a ZClass ?
>>
>> If yes, how should I do that ?
>>
>
>Two methods
>
>1) create External Method (python code in separate file placed in
>Extensions directory + information which file should be called in Zope
>management interface)
>
>2) create Python Method (you must install non-standard product providing
>Python Methods) - then you edit Python code just via Zope management
>interface (like DTML Documents)
>
3) create a python class that does what provides the methods, and use
that as a base class for your ZClass
pro: easy to add more methods
con: need to restart server after changes
need to do this before you create the ZClass
Toby Dickenson
[EMAIL PROTECTED]
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )