Re: [Zope3-Users] Re: Anybody has answers to this? Re: Beginner looking for help...

2006-01-22 Thread Thierry FLORAC
Thierry FLORAC [EMAIL PROTECTED] Key fingerprint = DDAB A10C F149 8B95 A954 BBC0 9106 C19F 2C0B F19E uid Thierry FLORAC [EMAIL PROTECTED] sub 1024g/4041F095 2002-02-18 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean

[Zope3-Users] Looking for PathIndex

2006-02-01 Thread Thierry FLORAC
Hi ! I'm actually trying to create a Zope3 application, where I may be able to make queries : - looking for content in the whole site - looking for content in a given sub-site or list of sub-sites, eventually including all it's sub-folders. With Zope2, I was commonly using a PathIndex

Re: [Zope3-Users] updating objects in ZODB

2006-02-10 Thread Thierry FLORAC
On Fri, 2006-02-10 at 11:15 +0100, Lorenzo Gil Sanchez wrote: How do I update the old objects and add the new attribute to them? I can provide a default value for this attribute if that helps. I know this is a common issue with application updates. I also know that during the development

[Zope3-Users] Getting request from subscriber ?

2006-02-13 Thread Thierry FLORAC
Hi, Probably a simple question... I need to extract request's content from an event handler defined via a subscriber. request doesn't seems to be in a subscriber's context. So how can I get it ?? Thanks, Thierry -- This message has been scanned for viruses and dangerous content by

Re: [Zope3-Users] Getting request from subscriber ?

2006-02-13 Thread Thierry FLORAC
On Mon, 2006-02-13 at 12:02 +0100, Thierry FLORAC wrote: Hi, Probably a simple question... I need to extract request's content from an event handler defined via a subscriber. request doesn't seems to be in a subscriber's context. So how can I get it ?? Oops, Sorry ! I've already

Re: [Zope3-Users] factory - but object is not initialized

2006-02-13 Thread Thierry FLORAC
On Mon, 2006-02-13 at 16:31 +0100, Egon Frerich wrote: for a content component I have programmed a factory to be sure numeric fields have 0.0. If I add an object without numeric values the introspectors tells me these fields have type NoneType and the values are None. Logging informations

Re: [Zope3-Users] Newbie question...

2006-03-06 Thread Thierry FLORAC
On Sat, 2006-03-04 at 16:01 +0100, Thierry FLORAC wrote: I've started to create a few components with Zope-3.2. Until now, everything is OK for simple content components and a few utilities. I'm actually trying to develop new adapters. One of these adapters is designed to use annotations

Re: [Zope3-Users] Newbie question...

2006-03-06 Thread Thierry FLORAC
On Tue, 2006-03-07 at 01:20 +0100, Thierry FLORAC wrote: My code is in fact very simple : class IPhotoStorage: identifier = TextLine(...) hostname = TextLine(...) PhotoStorageKey = http://www.ulthar.net/keys/storage; class

[Zope3-Users] Can't make site of a BTreeContainer

2006-03-11 Thread Thierry FLORAC
Hi, I'm currently building a photo management application for which I need to setup local utilities (a catalog...), so I want to make a site of my main folder, which is called a gallery. My current problem is that I can't define the folder as a site manager if it is subclassed from

Re: [Zope3-Users] Can't make site of a BTreeContainer

2006-03-12 Thread Thierry FLORAC
On Sat, 2006-03-11 at 22:54 +0100, Florian Lindner wrote: try to also derive your interface of the object that should become a site from zope.app.component.interfaces.IPossibleSite class IGallery (IGalleryFolder, IPossibleSite): Hope this helps, Yes, it works perfectly ! Just lost a

Re: [Zope3-Users] Check permissions

2006-03-17 Thread Thierry FLORAC
Hi, I think that you can also use something like this : from zope.security.management import getInteraction def checkPermission(object, permission='zope.ManageContent'): interaction = getInteraction() return

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 10:16 -0500, Stephan Richter wrote: On Wednesday 15 March 2006 17:45, Thierry FLORAC wrote: TraversalError: (zc.catalog.catalogindex.SetIndex object at 0xb46bfd2c, 'documentCount') documentCount seems to be defined into the SetIndex class, so I don't

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 09:45 -0500, Stephan Richter wrote: On Saturday 04 March 2006 10:01, Thierry FLORAC wrote: - define editform in browser's configure.zcml = probably bad ! If the for attribute differs from the schema attribute in the edit form, the form will automatically look up

Re: [Zope3-Users] Problem with SetIndex (from zc.catalog)

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 17:37 -0500, Gary Poster wrote: On Mar 20, 2006, at 5:14 PM, Thierry FLORAC wrote: But I'm just trying to use a simple (not subclassed) SetIndex, and then to access my catalog Advanced management page...! I don't build any specific template for this. Should I build

Re: [Zope3-Users] Newbie question...

2006-03-21 Thread Thierry FLORAC
On Mon, 2006-03-20 at 19:02 -0500, Stephan Richter wrote: On Monday 20 March 2006 17:26, Thierry FLORAC wrote: Actually, the only working way I found to update my annotations through my adapters is always to use form directives with the help of a support class using getData/setData methods

Re: [Zope3-Users] Newbie question...

2006-03-21 Thread Thierry FLORAC
On Tue, 2006-03-21 at 17:59 -0500, Stephan Richter wrote: On Tuesday 21 March 2006 17:39, Thierry FLORAC wrote: class IPhotoStorage: Well, this needs to inherit Interface. Of course it is ! I just forgot to put the correct syntax for this inheritance in my post... :-( class

[Zope3-Users] How to prevent several notifications of events ?

2006-05-31 Thread Thierry FLORAC
Hi, I've build a simple adapter that modifies context properties through annotations ; everything works fine. In several cases, when some attributes are updated, I do a notify(ObjectModifiedEvent(self.context)) so that several subscribers are called. My problem is then that if several

Re: [Zope3-Users] How to prevent several notifications of events ?

2006-06-01 Thread Thierry FLORAC
On Thu, 2006-06-01 at 12:27 +0200, Florent Guillaume wrote: Thierry FLORAC wrote: I've build a simple adapter that modifies context properties through annotations ; everything works fine. In several cases, when some attributes are updated, I do a notify(ObjectModifiedEvent(self.context

[Zope3-Users] IEndRequestEvent question

2006-06-05 Thread Thierry FLORAC
Hi, I'd like to ask several questions about IEndRequestEvent, like : - when is this event actually fired ? - what can be done exactly after this event is fired (still query components, update database...) ? - if possible, are modifications done after this event integrated into the main

Re: [Zope3-Users] Re: IEndRequestEvent question

2006-06-06 Thread Thierry FLORAC
On Tue, 2006-06-06 at 13:32 +0200, Philipp von Weitershausen wrote: My goal is to use request annotations to reference several objects that should be treated after the main request process is done, and then to subscribe to this event to fire these final modifications (so that, for

[Zope3-Users] Question about ForbiddenAttribute...

2006-06-12 Thread Thierry FLORAC
Hi, I'm trying to build a sample photos management application for Zope-3.2, with the following interfaces and classes : - class IGalleryPhoto(IContainer) ... - class IGalleryContainer(IContainer) (marker interface used for preconditions) - class IGalleryFolder(IGalleryContainer)

Re: [Zope3-Users] Question about ForbiddenAttribute...

2006-06-14 Thread Thierry FLORAC
On Tue, 2006-06-13 at 08:26 +0200, Marco Mariani wrote: Thierry FLORAC wrote: page name=images.html for=.interfaces.IGalleryFolder allowed_interface=.interfaces.IGalleryPhoto template=folder_images.pt permission=zope.View class=.folder.FolderInfo menu

Re: [Zope3-Users] Re: Question about ForbiddenAttribute...

2006-06-14 Thread Thierry FLORAC
On Tue, 2006-06-13 at 08:28 +0200, Philipp von Weitershausen wrote: As said above, 'result' will be security proxied. Security proxies for lists only allow methods that don't change the lists. result.sort() would change it. Hence it's forbidden. An easy workaround is to use sorted():

[Zope3-Users] Splitting ZODB ?

2006-06-20 Thread Thierry FLORAC
Hi, While using Zope2, I used to split my ZODB into several parts, using the old DBTab product configuration (which was finally included into Zope2). Can I setup this kind of configuration with Zope3 and, if so, how ? Of course, are there also any drawbacks ? Thanks for any information,

[Zope3-Users] Localizing Zope3 content

2006-07-07 Thread Thierry Florac
this problem and the better way it should be handled in Zope3. Thanks for any advise, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64

[Zope3-Users] How to know where a principal received permissions ?

2006-08-21 Thread Thierry Florac
of roles ? Many thanks for any advise or help... Thierry Florac -- Chef de projet intranet/internet Office National des Forts - Dpartement Informatique 2, Avenue de Saint-Mand 75570 PARIS Cedex 12 Ml : [EMAIL PROTECTED] Tl. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

[Zope3-Users] z3c.extfile and ZEO ?

2006-09-01 Thread Thierry Florac
Hi, I just discovered the z3c.extfile package that I'd like to use in my current Zope3 development. My question is simple : what are the requirements to use this package in a ZEO context with several servers ? Thanks for any advise, Thierry Florac -- Chef de projet intranet

Re: [Zope3-Users] 4 questions from a newcomer

2006-09-06 Thread Thierry Florac
Le mercredi 06 septembre 2006 06:54 -0400, Stephan Richter a crit: On Tuesday 05 September 2006 11:10, Christophe Combelles wrote: 2) utf-8 error in i18nfile -- Why do I always get an error when I try to add some utf-8 text into an i18nfile? I just add an

Re: [Zope3-Users] z3c.extfile and ZEO ?

2006-09-06 Thread Thierry FLORAC
On Wed, 2006-09-06 at 14:20 -0300, David Pratt wrote: Thierry, you may want to consider blobs when they become generally available through zodb. It takes care of the management details for ZEO and files. Is there any planned release date for this feature ? Do you think that it could be

Re: [Zope3-Users] Are there some French Zope user here ?

2006-09-22 Thread Thierry Florac
Hi, I'm here :-) +1 Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] Search engine in Zope content component ?

2006-09-28 Thread Thierry Florac
criterias Take a look at zc.catalog from SVN to get access to a set of additionnal indexes, as well as TextIndexNG to get a complete full-text indexer. Thierry Florac -- Chef de projet intranet/internet Office National des Forts - Dpartement Informatique 2, Avenue de Saint-Mand 75570

[Zope3-Users] Looking for best practice in content indexing

2006-10-03 Thread Thierry Florac
, to only get instances of a given class, when queried indexes are applied to several classes (example : I use adapters to handle workflow publication on a wide set of classes, and I want to retrieve contents of a given class in a given workflow step) ?? Thanks for your advises, Thierry Florac

[Zope3-Users] Handling deletion rights ?

2006-10-06 Thread Thierry Florac
objects. But what concerning deletion ? How can I prevent a contributor from removing a sub-folder ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forts - Dpartement Informatique 2, Avenue de Saint-Mand 75570 PARIS Cedex 12 Ml : [EMAIL

Re: [Zope3-Users] Seeking a ZCML Example for a CSSViewlet

2006-10-09 Thread Thierry Florac
t layer=barrysmithgallery.layer.public.IBRSPublicBrowserLayer weight=2 / Maybe I'm wrong, but it seems that the weight parameter is not used by the default implementation of the CSS viewlet manager... Correct ? Thierry Florac -- Chef de projet intranet/internet Office National des Forts

[Zope3-Users] ForbiddenAttribute on locate method

2006-10-10 Thread Thierry FLORAC
Hi, I try to setup a little application but have a probably little problem with a ForbiddenAttribute exception on location.locate method. Here is my setup : class IPhoto(IContainer,IContained): Photo handling interface ... image = Bytes(...)

Re: [Zope3-Users] ForbiddenAttribute on locate method

2006-10-11 Thread Thierry Florac
Le mercredi 11 octobre 2006 00:52 +0200, Thierry FLORAC a crit: Hi, I try to setup a little application but have a probably little problem with a ForbiddenAttribute exception on location.locate method. Here is my setup : class IPhoto(IContainer,IContained): Photo

Re: [Zope3-Users] Custom DateWidget with Month/Day/Year

2006-10-16 Thread Thierry Florac
'normally' says that dates are not correctly formatted while submitting !). Thanks for any help... Thierry Florac P.S. : I also tried to install and configure z3c.language package. Could there be any inter-dependance between these two packages ? -- Chef de projet intranet/internet Office

Re: [Zope3-Users] Custom DateWidget with Month/Day/Year

2006-10-18 Thread Thierry Florac
Le mardi 17 octobre 2006 à 13:46 +0200, FB a écrit : Hi, On Mon, Oct 16, 2006 at 05:46:29PM +0200, Thierry Florac wrote: [snip] Installation is fine, as well as widget, but I can't get dates displayed or entered in a french way (DD/MM/). I've tried to modify browser settings

[Zope3-Users] ForbiddenAttribute problem with viewlet manager and hurry.workflow

2006-10-18 Thread Thierry Florac
. Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] ForbiddenAttribute problem with viewlet manager and hurry.workflow

2006-10-18 Thread Thierry Florac
Le mercredi 18 octobre 2006 à 13:31 +0200, Thierry Florac a écrit : Hi, I'm trying to use the hurry.workflow package (loaded from CVS) to handle a simple workflow. I've created a ViewletManager to display available transitions, but a ForbiddenAttribute exception is raised. I know

Re: [Zope3-Users] Problem with Python 2.4.4

2006-10-24 Thread Thierry Florac
to a security patch applied on cgi.py in Debian's unstable release. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33

[Zope3-Users] Synchronizing with a remote host

2006-10-24 Thread Thierry Florac
be several approachs (using XML-RPC ?) and as I'm not a great ZODB or ZEO specialist, any advise would be greatly welcome. Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél

[Zope3-Users] Problem with ZODB...

2006-10-25 Thread Thierry Florac
, any help would be really appreciated... Thanks in advance, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33

[Zope3-Users] Zope3 database activity

2006-10-27 Thread Thierry Florac
Hi, Zope2 provided a nice tool in his control panel to view database activity (objects loads and stores, cache usage...). Two questions : - is there any way to get access to such information with Zope3 ? - is it possible with Zope3 to setup cache size ?? Thanks for any answer, Thierry

Re: [Zope3-Users] Handling deletion rights ?

2006-10-31 Thread Thierry Florac
Le lundi 30 octobre 2006 à 11:13 -0400, Stephan Richter a écrit : On Friday 06 October 2006 08:40, Thierry Florac wrote: I can easilly give access rights for managers and contributors so that each of them can only create given objects. But what concerning deletion ? How can I prevent

[Zope3-Users] Needed help with zc.table selection column

2006-11-15 Thread Thierry Florac
: as items names are base64 encoded into form widgets and form data, is there an already defined way to easilly get the list of selected keys, without decoding base64 input fields ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département

Re: [Zope3-Users] Utilities naming convention

2006-11-17 Thread Thierry Florac
to get access to functions provided elsewhere... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] how to access the root folder in normal operation

2006-11-17 Thread Thierry Florac
connection = db.open() root = connection.root() root_folder = root.get(ZopePublication.root_name, None) ... And in ZCML : subscriber handler=.handleDatabaseOpenedWithRootEvent / Thierry Florac -- Chef de projet intranet/internet Office

Re: [Zope3-Users] Scheduler package usage

2006-11-22 Thread Thierry Florac
Le mercredi 22 novembre 2006 à 08:12 +1100, Tom Dossis a écrit : Thierry Florac wrote: - as I use virtual hosting, my utilities are located and registered in a sub-site. How can I get access to these components in my scheduler tasks throught zapi functions, without knowing a priori

Re: [Zope3-Users] Database conflicts errors ?

2006-12-08 Thread Thierry Florac
Le vendredi 08 décembre 2006 à 15:08 +0100, Thierry Florac a écrit : Hi, I'm currently writing an image management adapter for Zope3. It's goal is just to create and store thumbnails on the fly when an image is requested with an additional specific traversal name (for example, myimage

Re: [Zope3-Users] Periodically refresh RSS feeds

2006-12-19 Thread Thierry Florac
that Python can handle. I'm far to know if this is the best approach, but at least it works quite efficiently... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED

[Zope3-Users] Required choice without default value in formlib

2007-01-12 Thread Thierry Florac
Hi, I use formlib to handle my forms. In a AddForm, how can I have a required choice property, using a dynamic vocabulary, without a default selected value ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique

[Zope3-Users] Content cloning ?

2007-01-15 Thread Thierry Florac
or advise... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] Content cloning ?

2007-01-16 Thread Thierry Florac
Le mardi 16 janvier 2007 à 07:27 -0500, Gary Poster a écrit : On Jan 16, 2007, at 6:24 AM, Thierry Florac wrote: The last problem I still have is that some of the informations stored into object's annotations have to be indexed into a set of catalogs. While these informations are indexed

Re: [Zope3-Users] Security related questions

2007-01-17 Thread Thierry Florac
and using the IRolePermissionManager interface) shouldn't be too difficult... Hope this will help you, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél

[Zope3-Users] Problem with zc.table content internationalization

2007-01-30 Thread Thierry Florac
templates, but not when used inside this table (I can only see the status-... translation key in generated output). So any help or advise would be very helpful... Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de

[Zope3-Users] Question about IOrderedContainer interface

2007-02-26 Thread Thierry Florac
interface=IWriteContainer permission=zope.ManageContent / require interface=IOrderedContainer permission=zope.ManageContent / - wait for someone else to give me another solution, which wouldn't need to modify Zope source code :-) Thanks for any help or advise, Thierry Florac

Re: [Zope3-Users] Question about IOrderedContainer interface

2007-02-27 Thread Thierry Florac
Le lundi 26 février 2007 à 19:39 +0200, Marius Gedminas a écrit : On Mon, Feb 26, 2007 at 05:28:12PM +0100, Thierry Florac wrote: I have a little question about the IOrderedContainer interface. Actually, this interface is derived from IContainer, and only contains a single method

[Zope3-Users] Internationalisation of a viewlet property

2007-03-06 Thread Thierry Florac
Hi, I've created a custom viewlet to display a menu entries with the following declaration : viewlet name=onf.bo.actions for=* manager=.ActionsManager class=.ActionsViewlet permission=zope.View layer=onf.skin.bo.OnfSkin label=Actions

[Zope3-Users] Cancelling AddForm

2007-03-12 Thread Thierry Florac
, even a simple Cancel button which should just redirect the browser actually raises an exception when required fields are missing). Any help ? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570

[Zope3-Users] Formlib and custom validation constraints

2007-03-19 Thread Thierry Florac
and which I don't want to define via invariants (because I'd like the error message to be displayed correctly next to the required widget) ? Until now I've tried a few methods (via widget._error property for example) not nothing gave me correct results... Thanks for any help, Thierry Florac P.S. : I

[Zope3-Users] boolean value of adapted objects

2007-04-03 Thread Thierry Florac
sure there's an easy way to handle such things, so any information would be really great !! Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél

[Zope3-Users] ZEO security examples

2007-04-13 Thread Thierry Florac
would be very nice. Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

[Zope3-Users] Single formlib widget for several fields

2007-04-20 Thread Thierry Florac
create and declare a custom widget, or can I handle such things without modifying my current interface (which I'd prefer). Thanks for any advise, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS

[Zope3-Users] Getting values of catalog index in a given context ?

2007-05-02 Thread Thierry Florac
, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85 ___ Zope3-users

[Zope3-Users] Small skinning question...

2007-05-10 Thread Thierry Florac
on a back-office page or not and, in fact, if a specific skin has already been applied ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED

[Zope3-Users] zope.conf options

2007-05-28 Thread Thierry Florac
Hi, I'm looking for the set of parameters that can be used in zope.conf file, including those relatives to ZODB caching options and ZEO configuration. Any link would be greatly welcome... Thanks for any help, Thierry -- This message has been scanned for viruses and dangerous content by

[Zope3-Users] Zope3 profiler ?

2007-06-12 Thread Thierry Florac
Hi, I'm looking for a simple solution to profile a Zope3 application, some kind of 'ZopeProfiler' product which was available for Zope2. Any link or advise would be welcome... Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département

[Zope3-Users] Getting view result from Python

2007-06-27 Thread Thierry Florac
output directly from Python code, which I don't actually manage to do... So any advise to this probably simple problem would be welcome. Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS

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

2007-06-27 Thread Thierry Florac
Le mercredi 27 juin 2007 à 14:31 +0200, Christophe Combelles a écrit : 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

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

2007-06-28 Thread Thierry Florac
Le mercredi 27 juin 2007 à 20:17 +0300, Marius Gedminas a écrit : On Wed, Jun 27, 2007 at 04:59:07PM +0200, Thierry Florac wrote: Le mercredi 27 juin 2007 à 14:31 +0200, Christophe Combelles a écrit : Thierry Florac a écrit : I'd like to get a view output from some Python code

Re: [Zope3-Users] Custom Schemas, form widgets

2007-07-03 Thread Thierry Florac
fields. Hi, I currently use zc.datetimewidget package for date/time inputs. It's available throught SVN, and works very well (currently with formlib for me). Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé

Re: [Zope3-Users] Using RAMCache

2007-07-03 Thread Thierry Florac
the browser-view again. First of all, I thing that you can implement a RAM cache manager as a utility into your site, and then just get to it via zapi.queryUtility('IRAMCache'). But I didn't use RAM cache until now so I'm not sure if everything is OK with them... Thierry Florac -- Chef de

[Zope3-Users] View or content provider

2007-07-11 Thread Thierry Florac
usage and/or memory usage ?? Thanks for any advise for this simple problem, as both methods work perfectly... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED

Re: [Zope3-Users] Zope3 PID file ?

2007-07-17 Thread Thierry Florac
? Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] Zope3 PID file ?

2007-07-17 Thread Thierry Florac
Le mardi 17 juillet 2007 à 12:23 +0200, Martijn Pieters a écrit : On 7/17/07, Thierry Florac [EMAIL PROTECTED] wrote: What about zopectl logreopen? zopectl logreopen works, but it seems that a SIGUSR2 signal is sent and that the whole Zope process is respawned. So I don't see any

[Zope3-Users] z3c.zalchemy / z3c.sqlalchemy

2007-07-17 Thread Thierry Florac
of them... Thanks for any information. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] hurry.workflow - retrieve item's history with timestamps of states transitions

2007-07-31 Thread Thierry Florac
be very easy. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] zmi in zope 3.3.1

2007-08-28 Thread Thierry Florac
this release ; you may get the second (excellent !) edition of his book, published in 2007, which is based on Zope-3.3. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED

Re: [Zope3-Users] Weird error for a certain named attribute

2007-10-23 Thread Thierry Florac
to join them as one string (if this is even a good solution at all, I'm not sure). Just have a look at SetIndex component ; I think it's included into zc.catalog SVN package. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue

[Zope3-Users] Installing Twisted with ZopeProject

2007-11-20 Thread Thierry Florac
Hi, Until now, I was using Zope (3.3) installed from source (on Linux) without problem. Actually, I'm trying to discover ZopeProject and other eggs based distributed packages, which seems to become the default (only ?) distribution mode for future releases of Zope3. My problem is simple : I'm

[Zope3-Users] Zope3, ZEO and RAMCache

2007-11-22 Thread Thierry Florac
Hi, I have a simple question : I'm using RAMCache with ZEO and several Zope frontends ; when calling cache.invalidate(), are the selected entries invalidated only on the Zope frontend which handled the request, or are they invalidated on each frontend ?? Thanks for any information, Thierry

Re: [Zope3-Users] Zope3, ZEO and RAMCache

2007-11-22 Thread Thierry Florac
Le jeudi 22 novembre 2007 à 14:46 +, Chris Withers a écrit : Thierry Florac wrote: Hi, I have a simple question : I'm using RAMCache What's RAMCache? I'm just talking about the RAMCache utility, which is defined into zope.app.cache package... with ZEO and several Zope

Re: [Zope3-Users] How to persist an attribute of list type

2007-11-30 Thread Thierry Florac
Le samedi 01 décembre 2007 à 02:34 +0800, Yuan HOng a écrit : Hi, It seems that I can not get list attribute of an persistent object changed. I have the following class, which has a list as one of its attributes: class Cart(Persistent): items = [] amount = 0 In the debug

Re: [Zope3-Users] Object-deleted-events

2008-01-07 Thread Thierry Florac
to implement a subscriber to IObjectRemovedEvent (defined into zope.app.container.interfaces) which is automatically fired by all standard Zope3 containers. Hope this helps, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint

Re: [Zope3-Users] UnpickleableError when adding object with reference

2008-01-15 Thread Thierry Florac
): return self._car def _setCar(self, value): self._car = removeSecurityProxy(value) car = property(_getCar,_setCar) ... Like that, any way the car property is modified, it's automatically unproxied and can be stored safely. Thierry Florac -- Chef de projet intranet

[Zope3-Users] Dynamic interfaces ?

2008-03-10 Thread Thierry Florac
, but couldn't find any link about that. Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33

[Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-14 Thread Thierry Florac
Hi, I'm trying to use a few z3c.* packages to build a little test application : z3c.form, z3c.formui, z3c.layout, z3c.pagelet... What I've done until now is : - create a custom layer : class ITestLayer(z3c.form.interfaces.IFormLayer,

Re: [Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-14 Thread Thierry Florac
Hi, On ven, 2008-03-14 at 23:12 +0100, Thierry Florac wrote: I'm trying to use a few z3c.* packages to build a little test application : z3c.form, z3c.formui, z3c.layout, z3c.pagelet... What I've done until now is : - create a custom layer : class ITestLayer

{Spam?} Re: [Zope3-Users] Problem with z3c.form / z3c.formui packages

2008-03-28 Thread Thierry Florac
On mer, 2008-03-19 at 06:33 -0700, garz wrote: have some views for some content: class SomeContentDisplayForm(z3c.formui.layout.FormLayoutSupport, z3c.form.form.DisplayForm): fields = z3c.form.field.Fields(ISomeConcent) class SomeContentEditForm(z3c.formui.layout.FormLayoutSupport,

[Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Thierry Florac
the relevance of found results ? Thanks for any help, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : [EMAIL PROTECTED] Tél. : +33 01.40.19.59.64 Fax. : +33 01.40.19.59.85

Re: [Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Thierry Florac
to intersect the results of several distinct queries, so that the results order provided by TextIndexNG and following ranking is kept ?? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12

Re: [Zope3-Users] TextIndexNG ranking questions

2008-04-15 Thread Thierry Florac
results set intersection) and a list (containing TextIndexNG results, ordered by ranking), is it possible to EFFICIENTLY get items of the set in the order in which they are stored in the list ?? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département

Re: [Zope3-Users] Preferred languages

2008-04-17 Thread Thierry Florac
(hardcoded into the application). Is there a way to tell Zope to use the hardcoded strings, when 'en' is requested? Hi, I currently use z3c.language.(switch|negotiator|session) packages to handle internationalization. It works correctly for me... Thierry Florac -- Chef de projet intranet

Re: [Zope3-Users] Copying Objects from/in the ZODB

2008-07-27 Thread Thierry Florac
Le dimanche 27 juillet 2008 à 15:15 -0300, Tim Cook a écrit : Hi All, Another basic question but I can't seem to find the easy way to do this. I have a group of instances stored in the ZODB. They are basically skeletons that I want to copy, edit and store as new instances elsewhere in

[Zope3-Users] How to add content in HTML head ?

2008-09-18 Thread Thierry Florac
in any template ? I already use zc.resourcelibrary package, which handles the same kind of problem for JS/CSS resources... Thanks for any help or link... Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570

[Zope3-Users] Last zc.async package for Zope-3.3.1

2008-10-20 Thread Thierry Florac
Hi, Actually using Zope-3.3.1, I'm looking at zc.async package but the last release is no more compatible with my Zope release. Could anyone point me to the last compatible release ?? Thanks, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département

[Zope3-Users] Zope3 and SQLAlchemy

2008-11-18 Thread Thierry Florac
package is the best to plug into my Zope (3.3.1) application ? - do all these packages handle the same features ?? Thanks for any information, Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS

Re: [Zope3-Users] zc.catalog NormalizationWrapper question...

2008-12-18 Thread Thierry Florac
Le jeudi 18 décembre 2008 à 11:03 -0500, Gary Poster a écrit : On Dec 18, 2008, at 9:52 AM, Thierry Florac wrote: Hi, I'm currently using zc.catalog package for value and set indexes on a Zope-3.3 application. I'd also like to use DateTimeValueIndex and DateTimeSetIndex

Re: [Zope3-Users] Run starup code with zope 3.

2009-02-12 Thread Thierry Florac
to check a set of persistent database utilities at application startup, and it works fine. Thierry Florac -- Chef de projet intranet/internet Office National des Forêts - Département Informatique 2, Avenue de Saint-Mandé 75570 PARIS Cedex 12 Mél : thierry.flo...@onf.fr Tél. : +33

  1   2   >