Re: [Zope3-Users] how to use invariant/validator? (z3c.form=1.6 and z3c.formui=1.3)

2007-09-21 Thread Michael Howitz
Am 19.09.2007 um 12:49 schrieb [EMAIL PROTECTED]: Hi, I want to use an invariant-check in an analogous manner like it is described at the end of the message. There is answered that the bug is fixed, but the same causes are still active. I'm using z3c.form=1.6 and z3c.formui=1.3 What

[Zope3-Users] How to best include Zope3-based code in Zope3 unrelated Python projects?

2007-09-21 Thread Hermann Himmelbauer
Hi, I have the problem that I cannot include parts of my Zope3 project in external, Zope3-unrelated projects due to import errors. For instance, I currently build a LaTeX converter that automatically converts SQL-Alchemy table definitions into nicely formatted LaTeX that I can then include in

[Zope3-Users] Re: How to best include Zope3-based code in Zope3 unrelated Python projects?

2007-09-21 Thread Philipp von Weitershausen
Hermann Himmelbauer wrote: Hi, I have the problem that I cannot include parts of my Zope3 project in external, Zope3-unrelated projects due to import errors. You have problem and cause mixed up. You get import errors due to the fact that the Zope 3 libraries aren't on your PYTHONPATH. For

[Zope3-Users] Interfaces with circular references

2007-09-21 Thread Hermann Himmelbauer
Hi, Does someone know how to create interfaces with circular references? E.g.: class IHusband(Interface): wife = Object(schema=IWife) class IWife(Interface): husband = Object(schema=IHusband) What's the suggested solution to this problem? Perhaps I should modify the classes after they

Re: [Zope3-Users] Interfaces with circular references

2007-09-21 Thread Markus Kemmerling
Hi Hermann, Am 21.09.2007 um 14:03 schrieb Hermann Himmelbauer: Hi, Does someone know how to create interfaces with circular references? E.g.: class IHusband(Interface): wife = Object(schema=IWife) class IWife(Interface): husband = Object(schema=IHusband) What's the suggested

Re: [Zope3-Users] help using openflow

2007-09-21 Thread Andreas Jung
--On 21. September 2007 10:13:23 -0400 Aryeh Katz [EMAIL PROTECTED] wrote: I've installed openflow into a USER's zope instance, and I'm unable to see the Product from within the zope web pages. Don't see any errors, but the openflow product simply doesn't show up anywhere. I tried

[Zope3-Users] help using openflow

2007-09-21 Thread Aryeh Katz
I've installed openflow into a USER's zope instance, and I'm unable to see the Product from within the zope web pages. Don't see any errors, but the openflow product simply doesn't show up anywhere. I tried installing into $USER/installdir/lib/python/Products and $USER/installdir/lib/python and it

[Zope3-Users] Vocabularies and deleted values

2007-09-21 Thread Douglas Cerna
Hi everyone. I have setup a SimpleVocabulary that extracts its values from a Persistent object with a List attribute (kind like Philip's book example in Chapter 17). I also defined other object that uses the vocabulary in Choice field. It works. I can add and delete values from the Persistent

[Zope3-Users] Trouble installing DocumentLibrary

2007-09-21 Thread John Goerzen
Hi, I am trying to install DocumentLibrary 1.2b2 from http://www.infrae.com/products/documentlibrary My system has Python 2.4 and is running Debian. The box I am attempting to install it on does not now, nor has it ever, had any Zope components. DocumentLibrary is shipped using the buildout

[Zope3-Users] Several points about z3c.form internationalization

2007-09-21 Thread Yuan HOng
Hi, list I stumbled upon several problems with i18n of z3c.form and z3c.formui and would like to have advice from the more experienced. 1. I have a schema field: gender = Choice( title=_(u'Gender'), values=(_(u'male'), _(u'female')), required=False) When rendered,