[Zope3-Users] 4 questions from a newcomer

2006-09-05 Thread Christophe Combelles
ctive 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 http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] your questions => KPUG wiki

2006-09-09 Thread Christophe Combelles
First, thanks to all the z3-experienced people who answer beginners' questions here, and particularly to Stephan Richter who answered my own ones. I have added his answers on the kpug wiki. May I suggest that all people asking something on the list also spend a few minutes to copy-paste their

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

[Zope3-Users] How to find something in the apidoc ?

2006-10-08 Thread Christophe Combelles
Hi, the /++apidoc++ is the main and greatest source of documentation for the zope 3 API, but sometimes I spend a lot of time to find something. So I have 3 questions: Take an example: Say I've heard about the function getMultiAdapter, and I want to know how to use it. So I first go to the api

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

[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

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

2006-10-18 Thread Christophe Combelles
rs de Zope 2 et je ne voudrais 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 --

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 alre

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

Re: [Zope3-Users] Problems with Zope3 on (K)Ubuntu 6.10 Edgy Eft

2007-01-03 Thread Christophe Combelles
This is an incompatibility between the version of zope3 and the version of python you are using. There is an answer here : http://mail.zope.org/pipermail/zope3-users/2006-October/004742.html regards, Christophe Arne Nordmann a écrit : Hey guys. I have a problem with my Zope3 installation on

[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 BarContainer:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 curre

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

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

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

  1   2   >