[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 kno

[Zope3-Users] BlueBream 1.0b4 released

2010-08-26 Thread Christophe Combelles
BlueBream 1.0b4 is now available for download at: http://pypi.python.org/pypi/bluebream/1.0b4 The corresponding buildout version file is located at http://download.zope.org/bluebream/bluebream-1.0b4.cfg Changes from 1.0b3 to 1.0b4 --- * Change custom interpreter name

Re: [Zope3-Users] Assigning Role to User and a question about PAU sessionCredential

2009-02-04 Thread Christophe Combelles
Massimiliano della Rovere a écrit : > Greetings. > I'd like to ask you how to grant a role to an istance of a "User" object. > Maybe my code has major errors, but I am still a newbie and I am using > Zope3 for my thesis. > > In my application, when a User is created/deleted, I create/delete a > Pr

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

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 c

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 th

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 Richte

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 ther

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 is not supported. I don't know if DemoStorage is supposed to work or not, but as a work-around

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"

[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 "/home/ccomb/buildout-eggs/tmp2BwTzl/zope.testin

[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 ge

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 "

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? - Also

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: recipe name goes h

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 zo

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 somewhere in an upper configure.zcml or site.zcml. If the file nam

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

[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 th

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. Th

[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 s

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 are the

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 a

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 curre

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] Zope translation status

2008-02-04 Thread Christophe Combelles
Hermann Himmelbauer a écrit : Am Montag, 4. Februar 2008 22:51 schrieb 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

[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] 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 __

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

[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' from

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 m

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 instruction

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 t

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

[Zope3-Users] PyPI search plugin for Firefox

2008-01-05 Thread Christophe Combelles
Hi ! Since I did not find a Firefox search plugin for PyPI, I quickly made one: http://ccomb.free.fr/searchplugins/pypi.html Please don't blame me if someone already made one months ago, I did not look further than the third result on google, and I just wanted to learn how to do it. all the

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: ((0x03584090>, URL=http://localhost:2

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 c

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 fou

[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

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, wh

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 as the

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 as the

[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] 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 ma

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 started..

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 unders

[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 xran

[Zope3-Users] Large mappings or sequences in ZODB eat all the memory

2007-11-14 Thread Christophe Combelles
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(range(i,i+30)) ...

[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] most useful zope 3 libraries

2007-09-03 Thread Christophe Combelles
Carlos de la Guardia a écrit : Hi, the other day I commented on my blog [1] about the lack of information on the Zope3 wiki about popular/important libraries or modules (I wanted to say products but I hear that's passé). Since I brought this up, I though the least I could do was to create a p

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 the

Re: [Zope3-Users] Problems with internationalization

2007-06-29 Thread Christophe Combelles
Jeremy Cook a écrit : Hi, I have been trying to internationalize my application and add a Norwegian translation but am stuck. By default I am getting only English for things like date in news items and so on. Using chapter 9 of the Philipp von Weitershausen book, I have tried various things

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 expression and return "self.template()" in Python. But it should certainly be "cleaner" and less expensive to get view output directly f

Re: [Zope3-Users] Authentication howto

2007-06-13 Thread Christophe Combelles
Since this is the third time I see this question, I've pasted it on the FAQ. http://wiki.zope.org/zope3/FAQ#i-want-to-quickly-setup-authentication-with-users-and-permissions Feel free to review and correct what I wrote Christophe Christophe Combelles a écrit : The first and simple way t

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 : Hi

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"

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 "__u

[Zope3-Users] error when adding with +/@@

2007-06-10 Thread Christophe Combelles
Hi, I'm wondering why there is an error when adding an object (for ex a file) with +/@@zope.app.file.File or +/++view++zope.app.file.File while there is none when adding with +/zope.app.file.File zope.app.file.File is not a view for "+" ? Christophe ___

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

2007-05-20 Thread Christophe Combelles
f any feedback or exception Christophe 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

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

2007-05-20 Thread Christophe Combelles
1:19 +0200, Christophe Combelles wrote: actually not. :( Pity, it seemed like such an easy answer. I've never struck the problem of only some files uploading. I have a small set of jpg images coming from different sources. Only two of them can be uploaded. The other ones don't upload at all

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

2007-05-20 Thread Christophe Combelles
done, and reuploading a different image does nothing, even if I shift-reload or use a different browser, or work on a new clean instance (without any added code) Christophe Darryl Cousins a écrit : Hey, On Sun, 2007-05-20 at 02:04 +0200, Christophe Combelles wrote: Hi, Is zope.app.file.

[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 Zope3-users

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 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 Second Edition, I'm stuck

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 chann

Re: [Zope3-Users] Problem with @@absolute_url

2007-04-30 Thread Christophe Combelles
You should probably try to set the __parent__ of the adapter to the __parent__ of the adapted object (or to the object itself) Christophe Greg Baker a écrit : I have no idea how to get the absolute url of an adapted object, or even if its possible. If you can, please bear with me and I'll try

[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 w

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 g

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 a

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 b

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

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

2007-04-07 Thread Christophe Combelles
t the containment proxy manage this by itself? 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

[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 perfec

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 Kartnalle

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

2007-04-06 Thread Christophe Combelles
Maciej Wisniowski a écrit : does anyone know a method to get or compute the execution time of a request? Lori - plugin for firefox, or firebug etc? Or do you want to display this on page? I didn't know Lori, thanks But it would be nice to let zope compute itself its own computation time Chri

[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] still filter in addmenuitem

2007-04-04 Thread Christophe Combelles
menu point is still visible (rounded with read drawing). and if you click on it you can see on the article add.gif the screen. to complete the whole story Article can contain other Article objects, only the manual adding needs to be disabled. On 4/4/07, Christophe Combelles <[EMAIL PROTECTED]

Re: [Zope3-Users] still filter in addmenuitem

2007-04-04 Thread Christophe Combelles
I don't really understand, do you want to hide the full Add menu, or just the menu entry for your content object? Remember you can also filter the menu entry by interface and not only with the filter. (btw I've never used this filter yet) Christophe Ivan Horvath a écrit : Dear All, as i wr

Re: [Zope3-Users] using filter in addMenuItem

2007-04-02 Thread Christophe Combelles
I think the context of an adding view is an object providing IAdding. The context of the context might be the container of your object. Try to set isNeedtoDisplay as the container's method, and maybe "context/context/isNeedtoDisplay" as your filter. Christophe Ivan Horvath a écrit : Dear All,

[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] 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 Z

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 mu

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

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

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 ab

[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 voca

Re: [Zope3-Users] adding user newbie ?

2007-03-05 Thread Christophe Combelles
tyson a écrit : Hi, I am unsure how to authenticate and add new users with Zope3. I have seen postings on PAU and some other things, but I can't find much documentation. Is there a simple way just to add a user? You first have to add a PAU (from the Add list of the ZMI). The PAU does no

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, has anyone yet developed a widget for displaying text as HTML and keeping the linebreaks / paragraphs? isn't it just the purp

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 anythi

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

2007-02-25 Thread Christophe Combelles
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). The problem: I want to create a folder, and when this folder is created, s

Re: [Zope3-Users] Problem with macro

2007-02-25 Thread Christophe Combelles
Florian Lindner a écrit : Hello, I have a simple problem. A template: [...] I'm not good with METAL (I'm trying to mainly use viewlets), but is it really valid to have use-macro and define-macro in the same template? I'm only using de

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 part

[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 jus

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 http://oodt.jpl.nasa.gov/better

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. >>>

  1   2   >