[Zope3-Users] BlueBream 1.0 released !

2011-01-18 Thread Christophe Combelles
BlueBream 1.0 is now available for download at: http://pypi.python.org/pypi/bluebream/1.0 Website: http://bluebream.zope.org/ The corresponding buildout version file is located at http://download.zope.org/bluebream/bluebream-1.0.cfg What is BlueBream - BlueBream -- formerly

Re: [Zope3-Users] Zope 3 tutorial

2008-11-04 Thread Christophe Combelles
Andreas Jung a écrit : On 04.11.2008 7:05 Uhr, Jaideep Das wrote: I am looking for a good tutorial for latest zope 3. I was following the tutorial http://www.benjiyork.com/quick_start/ but its not working with new version of zope3(3.3.1). So was looking for something latest and up to date.

Re: [Zope3-Users] 3.4 status, how can i help

2008-10-22 Thread Christophe Combelles
JeanMichel FRANCOIS a écrit : Hi there ! i m a plone third products developper at Makina-Corpus. I would like to switch to Zope3 for many reasons. I m impressed by the quality of the code compare to the documentation on http://wiki.zope.org/zope3. I would like to understand why the zope

Re: [Zope3-Users] 3.4 status, how can i help

2008-10-22 Thread Christophe Combelles
Stephan Richter a écrit : On Wednesday 22 October 2008, Christophe Combelles wrote: Another hard(?) task will be to create the tarball version, because it was a promise, and some people will probably find it usefull. No, this is really easy. :-) zope.release contains the necessary scripts

Re: [Zope3-Users] Buildout seems to be broken due to missing back35.py in zope.app.component.

2008-10-15 Thread Christophe Combelles
Hermann Himmelbauer a écrit : Am Mittwoch 15 Oktober 2008 16:59:24 schrieb Benji York: On Wed, Oct 15, 2008 at 10:46 AM, Hermann Himmelbauer [EMAIL PROTECTED] wrote: Hi, It seems that buildout is broken: Are you referring to the Zope 3 trunk buildout? Well, Stephan Richter cleared things

Re: [Zope3-Users] Best Practices - Zopeproject Deployment

2008-05-24 Thread Christophe Combelles
Tim Cook a écrit : Hi All, I have a Zope3 project that I started using 'zopeproject'. I now want to deploy this to an SVN server so other developers can checkout and work on the project. After reviewing the zopeproject and buildout docs as well as some examples like z3hello I still cannot

Re: [Zope3-Users] Versions policy for KGS

2008-04-21 Thread Christophe Combelles
Dan Korostelev a écrit : Hi! I guess this question have been raised before, but I can not find any info on this. What is the process/policy of version update for the zope 3.4 KGS (http://download.zope.org/zope3.4/). Does package maintainers should inform administrator about the update or

Re: [Zope3-Users] demostorage does not support blobs

2008-04-20 Thread Christophe Combelles
Benji York a écrit : On Sat, Apr 19, 2008 at 9:00 PM, Christophe Combelles [EMAIL PROTECTED] wrote: Hello, I can successfully upload a zope.app.file.File with testbrowser, but with zope.file.file.File (blob-based), I get this error 500: add browser.handleErrors = False just before you make

Re: [Zope3-Users] demostorage does not support blobs

2008-04-20 Thread Christophe Combelles
Gary Poster a écrit : On Apr 20, 2008, at 7:13 AM, Benji York wrote: On Sun, Apr 20, 2008 at 4:52 AM, Christophe Combelles [EMAIL PROTECTED] wrote: Unsupported: Storing Blobs in ZODB.DemoStorage.DemoStorage instance at 0xb6fb8dcc is not supported. I don't know if DemoStorage is supposed

[Zope3-Users] error 500 on blob upload with testbrowser

2008-04-19 Thread Christophe Combelles
Hello, I can successfully upload a zope.app.file.File with testbrowser, but with zope.file.file.File (blob-based), I get this error 500: Exception raised: Traceback (most recent call last): File

[Zope3-Users] retrieving zope.conf parameters and paths of buildout dirs

2008-04-17 Thread Christophe Combelles
Hi, I'm looking for reliable ways in my application code to retrieve the path of some directories or files in a zopeproject buildout. When I need to get a sample data file for tests in a package I'm just using join(dirname(package_name.__file__), 'sampledata') and that's ok. But how do I

Re: [Zope3-Users] How to set excutable permission for a container ?

2008-04-12 Thread Christophe Combelles
Fet Biz a écrit : Hi, Suppose a is an instance object of class A which implements interface IA, in the configiure.zcml, b is a view for class A. a is locked by requiring permission A.canEdit. b is intents to be public accessible (zope.Public). My problem is that, since b is below a, it's URL

Re: [Zope3-Users] Stability problem of zope3

2008-03-03 Thread Christophe Combelles
Yuan HOng a écrit : I've heard of the KGS concetp but don't know how to apply it to zopeproject. You can use the versions of the kgs by writing this in your buildout.cfg: [buildout] extends = http://download.zope.org/zope3.4/versions.cfg versions = versions

Re: AW: AW: AW: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form?

2008-02-18 Thread Christophe Combelles
Roger Ineichen a écrit : Hi Herman Betreff: Re: AW: AW: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form? [...] Back to z3c.formwidget: What do you think should this package exactly contain: - Only widgets? - Combinations of schemas and widgets? -

Re: [Zope3-Users] Page Template not rendering the way it should

2008-02-14 Thread Christophe Combelles
Ronaldo Z. Afonso a écrit : Hi there, I'm trying to view the content of an object but it seems that my page template gets nothing from ZODB. It's rendering the same way as if I was seeing the page template from the file system (as I have no persistent content). For example: h2

Re: [Zope3-Users] z3ext

2008-02-13 Thread Christophe Combelles
Nikolay Kim a écrit : Seems not much interest in cms for zope3 in community. I'm sure everybody is enthousiastic about any new app or cms made with zope3. This is a valuable effort, and that's what is currently missing, apart from the doc, so people can have answers to: what can I do with

Re: [Zope3-Users] Configuration via ZCML

2008-02-12 Thread Christophe Combelles
Ronaldo Z. Afonso a écrit : Hi all, I'm trying to configure a content type but it seems my configure.zcml is not being used. Do I have explicitly to tell Zope where this configure.zcml file is? Hi Ronaldo, you should add a include package=yourpackage / somewhere in an upper configure.zcml or

Re: [Zope3-Users] login/logout with z3c.pagelet?

2008-02-11 Thread Christophe Combelles
Christophe Combelles a écrit : Hi, Are there any login/logout/redirect templates for z3c.pagelet? I could reuse the templates from zope.app.authentication, but they obviously contain some macros that need some registrations I don't have, such as @@standard_macros. And my layout template does

[Zope3-Users] eggsplosion again

2008-02-10 Thread Christophe Combelles
Stephan Richter a écrit : On Friday 08 February 2008, Hermann Himmelbauer wrote: Right, that seems to be a perfect solution. Btw., it seems that there are quite some generic widget/field-patterns that a lot of people are needing - such as the PasswordConfirmationWidget. Or, in my case I need a

Re: AW: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form?

2008-02-10 Thread Christophe Combelles
Roger Ineichen a écrit : Hi all Betreff: Re: [Zope3-Users] z3c.form - howto ignore the context for singlewidgets in an Edit form? On Friday 08 February 2008, Hermann Himmelbauer wrote: What's your opinion on this, Stephan? One important design goal for z3c.form is not to be JS dependent.

[Zope3-Users] login/logout with z3c.pagelet?

2008-02-10 Thread Christophe Combelles
Hi, Are there any login/logout/redirect templates for z3c.pagelet? I could reuse the templates from zope.app.authentication, but they obviously contain some macros that need some registrations I don't have, such as @@standard_macros. And my layout template does not contain any macro. Maybe

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-08 Thread Christophe Combelles
Hermann Himmelbauer a écrit : Am Freitag, 8. Februar 2008 00:48 schrieb Stephan Richter: On Thursday 07 February 2008, Christophe Combelles wrote: Maybe the best way to have a password validation would be to let the PasswordWidget display two password fields and check itself the values

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Christophe Combelles
Hermann Himmelbauer a écrit : Hi, I'm creating a simple user-administration, Hi, I'm currently doing exactly the same thing :) (user management with z3c.form, and the class for my users derives from zope.app.authentication.principalfolder.InternalPrincipal ) which requires the user to type

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Christophe Combelles
Maybe the best way to have a password validation would be to let the PasswordWidget display two password fields and check itself the values are the same? Christophe Combelles a écrit : Hermann Himmelbauer a écrit : Hi, I'm creating a simple user-administration, Hi, I'm currently doing

Re: [Zope3-Users] z3c.form - howto ignore the context for single widgets in an Edit form?

2008-02-07 Thread Christophe Combelles
Stephan Richter a écrit : On Thursday 07 February 2008, Christophe Combelles wrote: Maybe the best way to have a password validation would be to let the PasswordWidget display two password fields and check itself the values are the same? Bingo. :-) I Would implement

[Zope3-Users] FAQ to review (KGS / starting a new project)

2008-02-04 Thread Christophe Combelles
Hi, I have added two entries in the FAQ: What is the KGS (Known Good Set)? http://wiki.zope.org/zope3/FAQGeneral#id8 How do I start a new Zope3 project? http://wiki.zope.org/zope3/FAQGeneral#id9 Please review in case I did some error or I forgot something. Christophe

[Zope3-Users] Zope translation status

2008-02-04 Thread Christophe Combelles
Below is the translation status of Zope 3.4.0c1, as generated by the i18nstats tool. Is there anyone willing to update the translation for his/her language before 3.4.0 final is (soon) released? LanguageTotalDoneNot DoneFuzzy Done %

[Zope3-Users] Zope 3.4 KGS leads to ZODB 3.9dev !?

2008-02-03 Thread Christophe Combelles
Hi, I have a very simple buildout that tries to use the KGS: index = http://download.zope.org/zope3.4/ newest = false And my setup.py has (among others) install_requires=[(..) ,'z3c.formui'] a buildout -vv tells me that : (...) Adding find link 'http://download.zope.org/distribution'

Re: [Zope3-Users] Zope 3.4 KGS leads to ZODB 3.9dev !?

2008-02-03 Thread Christophe Combelles
Christophe Combelles a écrit : Hi, I have a very simple buildout that tries to use the KGS: index = http://download.zope.org/zope3.4/ newest = false And my setup.py has (among others) install_requires=[(..) ,'z3c.formui'] a buildout -vv tells me that : (...) Adding find link 'http

Re: [Zope3-Users] Re: [Zope-dev] Zope 3.4.0 candidate 1 Released

2008-02-01 Thread Christophe Combelles
Stephan Richter a écrit : Not responding to anyone in particular: I see there are plenty people with opinions. I would love not to do the Zope 3 releases anymore! I am tired of the endless discussions. Think I am frustrated? Absolutely! All the suggestions made here require more work, more

Re: [Zope3-Users] Re: how to eggify a zopeproject?

2008-01-25 Thread Christophe Combelles
Nando Quintana a écrit : Raphael, Either include a MANIFEST file or make the egg from a subversion/cvs checkout. The former tells explicitly what to include the latter implicitly (everything that's under version control basically). This means calling zopeproject with --svn-repository ...?

Re: [Zope3-Users] Re: [Zope3-dev] z3c.form 1.0.0 released!

2008-01-23 Thread Christophe Combelles
john saponara a écrit : In order to try z3c.form under windows (winxpprosp2), I tried Stephan's instructions below but got an error during the buildout step: ImportError: No module named schemaless (Complete command sequence and error message is attached.) I deviated from the

Re: [Zope3-Users] zmi menu error

2008-01-14 Thread Christophe Combelles
john saponara a écrit : I get reasonable edit screens for my car and driver classes when I use a url like limoService/car1/edit.html but when I try to add the edit screens as zmi menu entries I get an error: File C:\Python24\Lib\site-packages\zope\app\publisher\browser\menu.py, line 62,

Re: [Zope3-Users] Re: how to model a 1-to-1 relation

2008-01-11 Thread Christophe Combelles
Jürgen Kartnaller a écrit : john saponara wrote: I want to allow the user to create car and driver objects in a limoService container. Car objects will stand alone, but each driver object should contain a car object by reference (not by value) and the driver add form should allow the user

Re: [Zope3-Users] How to register a local adapter?

2008-01-06 Thread Christophe Combelles
nixon a écrit : Hi, dear all, The scenario: I have a folder MyFolder created under the root folder of zope3 and make it a site manager. I want to have a different index.html page under MyFolder so that folders under MyFolder look different from the root folder. (It's a common folder and I

Re: [Zope3-Users] want to use ObjectWidget and default add form

2007-12-29 Thread Christophe Combelles
john saponara a écrit : hi, please point me to an example showing how to use ObjectWidget with a default add form. in case there is no example, perhaps my failing attempt below could serve as one, once it's modified to work. [...] ComponentLookupError: ((zope.schema._field.Object object

Re: [Zope3-Users] zopectl debug and deleting objects

2007-12-13 Thread Christophe Combelles
Maybe import transaction transaction.commit() will help? Christophe Justin Fletcher a écrit : Hello all, I am using 'zopectl debug' to run a script that imports data into the ZODB. This part is working fine. However, while testing this import script, I like to delete all the objects I have

Re: [Zope3-Users] buildout and egg depedencies

2007-12-11 Thread Christophe Combelles
Jim Fulton a écrit : (...) issues, but again I find myself fighting against my natural instincts. Where's some end user documentation? http://pypi.python.org/pypi/zc.buildout http://us.pycon.org/common/talkdata/PyCon2007/116/buildout.pdf I've started learning buildout 3 weeks ago and I've

[Zope3-Users] trying to create an ObjectWidget for z3c.form

2007-12-09 Thread Christophe Combelles
Martijn Faassen a écrit : Hey, On Dec 7, 2007 1:54 PM, Christophe Combelles [EMAIL PROTECTED] wrote: [snip] 2- Then I'm trying to create a form for a single Object field. I've understood that this case should be handled by a subform. So I could create such a thing by using a template

Re: AW: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-08 Thread Christophe Combelles
Roger Ineichen a écrit : Hi Stephan, Christophe Betreff: Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform [...] I think as the popularity of z3c.form increases, it would be very interesting to have a z3c.form sprint. Does someone want to volunteer organizing one? Yes,

[Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Christophe Combelles
Hi, z3c.form looks very well thought and extremely customizable, but I find it complicated for some common and simple cases. Does someone have any simple example apart from z3c.formdemo, to get the same result as the ListSequenceWidget and the ObjectWidget in the formlib? 1- The first thing

Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Christophe Combelles
Christophe Combelles a écrit : Hi, Some answers and some other questions: z3c.form looks very well thought and extremely customizable, but I find it complicated for some common and simple cases. Does someone have any simple example apart from z3c.formdemo, to get the same result

Re: [Zope3-Users] z3c.form: ListWidget, ObjectWidget, and subform

2007-12-07 Thread Christophe Combelles
Stephan Richter a écrit : On Friday 07 December 2007, Christophe Combelles wrote: z3c.form looks very well thought and extremely customizable, but I find it complicated for some common and simple cases. Does someone have any simple example apart from z3c.formdemo, to get the same result

Re: [Zope3-Users] formlib vs z3c.form

2007-12-06 Thread Christophe Combelles
Chris Withers a écrit : Chris Withers wrote: I need something like formlib so want to give it a spin. Is there a good how-to or example anywhere? Kapil rightly pointed out off-list that z3c.form is the latest and greatest. Which one is best and where do I go for docs/examples? The main

Re: [Zope3-Users] Local Roles

2007-11-25 Thread Christophe Combelles
Erik Dahl a écrit : In zope2 there was the idea of local roles. I use this extensively in my application. I have poked around the docs I found and some code but I don't see a clear way to implement similar functionality. Can anyone point me in the right direction? Is this the doc you've

Re: [Zope3-Users] A simple upload application

2007-11-17 Thread Christophe Combelles
Jean Revertera a écrit : Hi everbody, Okay, first, just to introduce myself, I started learning zope for 2 weeks nows in the frame of a very small project I have to do. I've read several documentations, including the first chapters of the Zope book, but i still have difficulties to get

Re: [Zope3-Users] Catalog add menu item permission.

2007-11-15 Thread Christophe Combelles
Dan Korostelev a écrit : Hello. I wonder why catalog's (zope.app.catalog.catalog.Catalog) addMenuItem has zope.ManageContent permission when all other interactions (including simple __len__ attribute) is restricted to the zope.ManageServices permission. Is it a bug or I just don't

[Zope3-Users] (solved?) Large mappings or sequences in ZODB eat all the memory

2007-11-14 Thread Christophe Combelles
Christophe Combelles a écrit : Hello, What should I do to have a data structure which is memory scalable? Consider the following large btree: $ ./debugzope from BTrees.OOBTree import OOBTree root['btree']=OOBTree() for i in xrange(70): ... root['btree'][i] = tuple

[Zope3-Users] French translation: request for review!

2007-11-11 Thread Christophe Combelles
Hello, this is a message intended to french users, to review a new updated french translation. (please don't answer here to discuss on the translation itself, but rather on a french list, such as http://lists.afpy.org/mailman/listinfo/zope3-french-user ) Christophe

Re: [Zope3-Users] Containers and ZODB

2007-08-24 Thread Christophe Combelles
Drew Smathers a écrit : I'm new to zope3 and have been writing an application backed by a relational database. I wanted to created a IContainer implementation which essential provides a view of items in the database, but there is no need for to make the container instances manageable through

Re: [Zope3-Users] Getting view result from Python

2007-06-27 Thread Christophe Combelles
Thierry Florac a écrit : Hi, I'd like to get a view output from some Python code. Actually, I don't have any problem if I use a page template with a simple tal:x content=structure context/@@viewname / expression and return self.template() in Python. But it should certainly be cleaner and

Re: Vedr. Re: [Zope3-Users] Authentication howto

2007-06-12 Thread Christophe Combelles
I didn't know kelpi.com, that's a nice example of zope3 app !! I guess this hasn't been online for a long time? I've quickly looked at the code, and I have a question: what's the purpose of MyIntIds compared to the base IntIds? Is this some optimisation? Christophe Nando Quintana a écrit :

Re: [Zope3-Users] Authentication howto

2007-06-11 Thread Christophe Combelles
The first and simple way to add authentication and users via the ZMI is the following : - go to the site manager (in the root, or in your folder/site) - add a Pluggable Authentication Utility (name as you want, prefix empty) - enter it - activate no challenge if auth and session credentials in

Re: [Zope3-Users] what is __used_for__ attribute ?

2007-06-10 Thread Christophe Combelles
I'm not sure, but it looks like the old way of defining what an adapter adapts. Am I wrong? If not it would be better to remove it from the apidoc books, I found a few example based on this. (socket example, and interface/human) Christophe KLEIN Stephane a écrit : Hi, I wonder what is

Re: [Zope3-Users] Does zope.app.file.Image works ?

2007-05-20 Thread Christophe Combelles
Christophe Combelles a écrit : thanks for your answers, I'm trying to investigate on this problem, because the same thing appears on z.a.file.file. I've not yet found why, but self.request.form is empty for certain files, not only images. Christophe Darryl Cousins a écrit : Hey, On Sun, 2007-05-20

[Zope3-Users] Does zope.app.file.Image works ?

2007-05-19 Thread Christophe Combelles
Hi, Is zope.app.file.Image functional ? I'm trying to use it, but uploading or reuploading an image doesn't do anything excepted sometimes when I'm lucky. Is it maintained and tested? (I'm on 3.3.1) Christophe ___ Zope3-users mailing list

Re: [Zope3-Users] Ch 7, lookup error in getMultiAdapter

2007-05-04 Thread Christophe Combelles
The FAQ is here: http://wiki.zope.org/zope3/FAQ Did you activate the browser submodule? By adding a include package=.browser in the recipe configure.zcml, and the __init__.py in the browser submodule? Christophe Robert Norman a écrit : Working through Web Component Development with Zope 3

Re: [Zope3-Users] multi-field text widget

2007-05-02 Thread Christophe Combelles
Aaron Cripps a écrit : I need a custom widget that I can use to display/get an IP for a Computer object that I've written. I've tried looking at zope.schema.TextLine as a starting point to making a widget that can store each octet of the IP address separately, but to no avail. The #zope

[Zope3-Users] MultiCheckBoxWidget: for which schema field?

2007-04-20 Thread Christophe Combelles
Hello, Sometimes I have difficulties to find out which schema fields are associated to which widgets. Let's take the example of the MultiCheckBoxWidget: I could make it work with a List(...value-type=Choice(...)) but I don't know what fields it should normally be associated with. Is there a

Re: [Zope3-Users] Interfaces in Schemas

2007-04-19 Thread Christophe Combelles
There is also a Poll example somewhere in the ++apidoc++ which uses the Object schema field Christophe Sascha Ottolski a écrit : Am Donnerstag 19 April 2007 schrieb Hermann Himmelbauer: Tried it out and it seems to work for Objects() in the schema. However, for Lists(value_type=Object()), I

Re: [Zope3-Users] Re: EditForm fails in SiteManager because of containment constraint

2007-04-09 Thread Christophe Combelles
Philipp von Weitershausen a écrit : Hermann Himmelbauer wrote: Am Samstag, 7. April 2007 18:43 schrieb Christophe Combelles: Jürgen Kartnaller a écrit : Christophe Combelles wrote: Hello, I have a regular content object which uses the formlib for its edit view. Nothing special, just like

Re: [Zope3-Users] Re: execution time of a request?

2007-04-08 Thread Christophe Combelles
Marius Gedminas a écrit : On Sat, Apr 07, 2007 at 01:21:39PM +0200, Jürgen Kartnaller wrote: By the way, marius, thanks for your great profiling library. That's a bit misleading. The profiling library resides in the Python standard library, I just wrote a convenient decorator for it (mostly

Re: [Zope3-Users] Re: execution time of a request?

2007-04-07 Thread Christophe Combelles
You can find interesting things on his blog: http://mg.pov.lt/blog/benchmarking-zope3-apps.html Christophe David Pratt a écrit : Hi Jurgen and Marius. Can you advise whether the profiling library is generally available and if so where to find it. Many thanks. Regards, David Jürgen

[Zope3-Users] EditForm fails in SiteManager because of containment constraint

2007-04-07 Thread Christophe Combelles
Hello, I have a regular content object which uses the formlib for its edit view. Nothing special, just like a Recipe. But I want this object to only reside in the Site Manager, because it will be used as a configurable local utility (some kind of LocalKitchenTools utility) Everything is

Re: [Zope3-Users] EditForm fails in SiteManager because of containment constraint

2007-04-07 Thread Christophe Combelles
? Christophe Christophe Combelles a écrit : Hello, I have a regular content object which uses the formlib for its edit view. Nothing special, just like a Recipe. But I want this object to only reside in the Site Manager, because it will be used as a configurable local utility (some kind

Re: [Zope3-Users] Re: EditForm fails in SiteManager because of containment constraint

2007-04-07 Thread Christophe Combelles
Jürgen Kartnaller a écrit : Christophe Combelles wrote: Hello, I have a regular content object which uses the formlib for its edit view. Nothing special, just like a Recipe. But I want this object to only reside in the Site Manager, because it will be used as a configurable local utility

[Zope3-Users] execution time of a request?

2007-04-06 Thread Christophe Combelles
Hi, does anyone know a method to get or compute the execution time of a request? Christophe ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

Re: [Zope3-Users] Community opinion about search+filter

2007-03-14 Thread Christophe Combelles
Adam Groszer a écrit : Hello, I'd like to ask your opinion, your experiences about searching and filtering in quite large object DBs. We need to add search and filter functions to our current app, where the user might be able to create quite _sophisticated_ filter criterias. (The app is a pure

[Zope3-Users] imports cleanup

2007-03-14 Thread Christophe Combelles
Hello, As I'm experimenting with various components, I'm adding more and more imports in the beginning of the python files, but at the end, most of them are unused. Is there a tool or a method to automatically clean or detect unused imports ? regards, Christophe

Re: [Zope3-Users] Design question (object or interface for category implementation?)

2007-03-09 Thread Christophe Combelles
Christophe Combelles a écrit : Hi, I'm playing again with the notion of categories of objects. I have two main goals: - 1) I must let the user choose the category of an object added to the zodb. For this, I must be able to retrieve the list of categories and present them

Re: [Zope3-Users] Design question (object or interface for category implementation?)

2007-03-09 Thread Christophe Combelles
Garanin Michael a écrit : Christophe Combelles wrote: Christophe Combelles a écrit : Hi, I'm playing again with the notion of categories of objects. I have two main goals: - 1) I must let the user choose the category of an object added to the zodb. For this, I must

Re: [Zope3-Users] Design question (object or interface for category implementation?)

2007-03-07 Thread Christophe Combelles
Bernd Dorn a écrit : But with 4), I guess I won't be able to assign two categories onto an object, An object can have only one ContentType this is not true an object can implement many interfaces so why shouldnt it be possible to assign many subclasses of IInterface (or did i m iss

[Zope3-Users] Design question (object or interface for category implementation?)

2007-03-06 Thread Christophe Combelles
Hi, I'm playing again with the notion of categories of objects. I have two main goals: - 1) I must let the user choose the category of an object added to the zodb. For this, I must be able to retrieve the list of categories and present them in a form field managed by a

Re: [Zope3-Users] Design question (object or interface for category implementation?)

2007-03-06 Thread Christophe Combelles
Bernd Dorn a écrit : On 06.03.2007, at 18:54, Christophe Combelles wrote: Hi, I'm playing again with the notion of categories of objects. I have two main goals: - 1) I must let the user choose the category of an object added to the zodb. For this, I must be able

Re: [Zope3-Users] Widget for displaying Text das HTML

2007-03-01 Thread Christophe Combelles
Florian Lindner a écrit : Hello, has anyone yet developed a widget for displaying text as HTML and keeping the linebreaks / paragraphs? Like a text becomes: Hello,br / has anyone yet developed a widget for displaying text as HTML and keeping the linebreaks / paragraphs?br / isn't it just

Re: [Zope3-Users] Problem with macro

2007-02-25 Thread Christophe Combelles
Florian Lindner a écrit : Hello, I have a simple problem. A template: html metal:use-macro=views/standard_macros/view i18n:domain=xgm.de/Blog body metal:block metal:define-macro=Blog metal:block metal:fill-slot=body h1 tal:content=context/title / div

Re: [Zope3-Users] Re: NotYet error when creating content during container creation

2007-02-25 Thread Christophe Combelles
Jürgen Kartnaller a écrit : Christophe Combelles wrote: Hello, I've been spending several hours on a problem which is probably trivial for advanced zope3ers, but it was not for me, so I'm posting the solution in case it's useful for someone (I've not found anything on it). http

Re: [Zope3-Users] Schema fields vs custom metadata

2007-02-23 Thread Christophe Combelles
Svenn Helge Grindhaug a écrit : Hi, I'm trying to make a system for course registration. The user will get a list of available courses, select one and register for the course. I have the following interfaces: class ICourse(IContainer): Store information about the course and store

[Zope3-Users] unique integer id as a Token for ITerms ?

2007-02-21 Thread Christophe Combelles
Hello, When using a vocabulary, one needs to generate a token for each term, then to be able to get the value again from the token. (getTerm/getValue needed by ITerms) Is there a problem using the Unique Integer Id generated by the IntIds utility directly as the token? thanks, Christophe

Re: [Zope3-Users] Blog for Zope3

2007-01-14 Thread Christophe Combelles
I'm currently playing with zblog. It's very basic, you can just add blog entries as text and display them. But it's a good starting point and I'm currently adding category management. Christophe Florian Lindner a écrit : Hello, is there a blog package for Zope3? It doesn't need to mature

Re: [Zope3-Users] selling zope to a CTO

2007-01-10 Thread Christophe Combelles
Roy Mathew a écrit : Hi all, Does anyone know of a canned presentation or slides/papers that would help convince an openminded CTO/CIO that Zope (z3) makes business sense in a world dominated by huge J2EE and .NET projects. yes :) but I guess everybody knows it

Re: [Zope3-Users] question about a constraint conflict

2007-01-07 Thread Christophe Combelles
FB a écrit : Hi, On Sat, Jan 06, 2007 at 01:35:35AM +0100, Christophe Combelles wrote: Hello I define the following interfaces: class IFoo(Interface): pass class IBar(Interface): pass class IFooContainer(IContainer): contains(IFoo) class IBarContainer(IContainer): contains(IBar

[Zope3-Users] very simple problem with getUtility

2007-01-07 Thread Christophe Combelles
Hi There is probably something that I don't understand with registration. I'm doing the very simple thing: - I start zope with an empty zodb - I add a Folder - I go to the registration tab and register it for IFolder as 'foo' - I stop zope, and start debugzope: from zope.component import

Re: [Zope3-Users] very simple problem with getUtility

2007-01-07 Thread Christophe Combelles
Stephan Richter a écrit : On Sunday 07 January 2007 08:17, Christophe Combelles wrote: - I start zope with an empty zodb - I add a Folder - I go to the registration tab and register it for IFolder as 'foo' - I stop zope, and start debugzope: These steps are okay. from zope.component

[Zope3-Users] question about a constraint conflict

2007-01-05 Thread Christophe Combelles
Hello I define the following interfaces: class IFoo(Interface): pass class IBar(Interface): pass class IFooContainer(IContainer): contains(IFoo) class IBarContainer(IContainer): contains(IBar) Then I would like to configure a class Test to to be both a FooContainer and a

[Zope3-Users] containment constraints via ZCML ?

2007-01-03 Thread Christophe Combelles
Hello and happy new year! Actually I was just writing this message to ask a question, but in the meantime I found the solution. So I'm posting it anyway in case it helps. I have two independant classes Foo and Bar, defined in two different modules. In the beginning, I want Foo to be a

Re: [Zope3-Users] 2nd edition of Zope 3 book available!

2006-12-02 Thread Christophe Combelles
Thanks for this book, that's just what I was waiting for since I started learning zope3 this summer. I've been reading and reading again everything I've found online on the subject, but it is not engough. It will bring me some fresh air. It's been 1 week since I ordered one, and I hope it's

[Zope3-Users] linuxfr news proposal / Proposition de news linuxfr

2006-10-18 Thread Christophe Combelles
pas trop parler de Zope 2 ni de Five. Si vous pensez que certains points sont inexacts ou si j'ai oublié de parler de trucs essentiels, dites-le moi, et dès que c'est ok je soumets ! cordialement, Christophe Combelles -- * titre

[Zope3-Users] ForbiddenAttribute or unknown attribute?

2006-10-15 Thread Christophe Combelles
In the link below, it is said that the ForbiddenAttribute exception is ALWAYS a problem of permission. http://kpug.zwiki.org/Zope3Faq#what-is-forbiddenattribute-exception-error But if you try to access an attribute that simply does not exist, you also get this error. In this case, it is has

[Zope3-Users] error on registration in the zmi

2006-10-15 Thread Christophe Combelles
each time I want to register any object from the ZMI I get this error. (zope 3.3.0 Python 2.4.4c0) Do you have any clue? 2006-10-15T17:49:03 ERROR SiteError http://localhost:9676 Traceback (most recent call last): File /usr/lib/python2.4/site-packages/zope/publisher/publish.py, line 126, in

Re: [Zope3-Users] error on registration in the zmi

2006-10-15 Thread Christophe Combelles
Christophe Combelles a écrit : each time I want to register any object from the ZMI I get this error. (zope 3.3.0 Python 2.4.4c0) Do you have any clue? I've found something: the 2.4.4c0 version of debian is actually 2.4.3-9 I've reverted to 2.4.3-8 and the problem has disappeared! There's

[Zope3-Users] absolute_url in the viewlet ?

2006-10-02 Thread Christophe Combelles
Hi, How can I obtain the absolute_url of the context object in a content provider or in a viewlet ? For example, in the demo3 of zope3demos, the render() method of the viewlet returns self.context.__name__. ( http://zope3demos.googlecode.com/svn/trunk/demo3/demo.py ) How could I tell it

[Zope3-Users] 4 questions from a newcomer

2006-09-05 Thread Christophe Combelles
. The order directive does not work for that. How can I reorder the tabs so that my new tab appears in the 2nd position? 4) workflow: Where is zope.app.workflow? thanks, Christophe Combelles ___ Zope3-users mailing list Zope3-users@zope.org