[PEAK] ZConfig and peak naming
Roché Compaan
roche at upfrontsystems.co.za
Thu Jul 29 16:38:52 EDT 2004
I need a key in ZConfig file that needs to set a file object as
attribute on a subclass of binding.Component *and* values should be
specifiable as peak urls.
<process>
file pkgfile:jack/somefile.txt
...
</process>
The above configuration, must set 'file' in:
class Process(binding.Component):
file = binding.Make(lambda:None)
if 'file' is defined as key in my schema file:
<sectiontype name="process" datatype=".Process.fromZConfig">
<key name="file" datatype="some.peak.component.fromZConfig"
attribute="file"/>
...
</sectiontype>
Is there a peak component that can do this for me, or do I have to write
one.
--
Roché Compaan
Upfront Systems http://www.upfrontsystems.co.za
More information about the PEAK
mailing list