Nikolay Kim wrote:
you can create utility in python file and then use component=""
for example utility.py:
class Utility(object):
pass
myUtility = Utility()
configure.zcml:
<utility name="myUtility" component=".utility.myUtility" />
I'm aware of this but it kind of defeats the idea of seperating code and
configuration...
So, other ideas?
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )