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

Re: [Zope3-Users] Access request object from content_factory

2006-06-20 Thread mats.nordgren
Ooops that should be for="">zope.app.container.interfaces.IAdding" name="AddContent.html" class=".forms.MyContentAddForm" permission="zope.ManageContent" /> Mats On Tue, 20 Jun 2006 23:37:35 -0500, mats.nordgren wrote > John, > > I have never done it with the addform approach but i

Re: [Zope3-Users] Access request object from content_factory

2006-06-20 Thread mats.nordgren
John, I have never done it with the addform approach but it is very easily done with formlib. class MyContentAddForm(form.AddForm):   form_fields = form.Fields(IMyContent)   def __init__(self, context, request):     self.context = context     self.request = request   def create(self, data):

[Zope3-Users] Access request object from content_factory

2006-06-20 Thread John Smith
Hi, I am trying to add some request related data into a content object (eg authenticated user etc). The content is being added using a normal addform/content_factory zcml approach. The class __init__ method does not receive any arguments, and the context/request pair are only available inside of

[Zope3-Users] Unable to Get Zope 3 running

2006-06-20 Thread Daniel Roberson
I am new at this but I have been unable to get Zope 3 to run correctly from the internet or from another computer on my internal network. I downloaded Python 2.4.0 and installed it. I then downloaded the Windows XP version of Zope 3 and ran the installer. I then found that the installer only

[Zope3-Users] store persistent objects

2006-06-20 Thread Leticia Larrosa
Hi all Resume: I want to store persistent data in the zope database. I must have an object that store others object inside it, including list of objects, etc. I want that when I create the root object automatically create object inside it. Example of python class: """ class Leave: name =

Re : Re : Re : [Zope3-Users] Uploading files

2006-06-20 Thread Stéphane Brault
Thanks Frank, I'll try that, Stéphane - Message d'origine De : Frank Burkhardt <[EMAIL PROTECTED]> À : Stéphane Brault <[EMAIL PROTECTED]>; zope3-users@zope.org Envoyé le : Mardi, 20 Juin 2006, 12h40mn 23s Objet : Re: Re : Re : [Zope3-Users] Uploading files Hi, On Tue, Jun 20, 2006

[Zope3-Users] Using twisted spread client within zope

2006-06-20 Thread Stéphane Brault
Hi, for my application I have to communicate with external web services, these communications have to be scheduled. That is why I use twisted processes to communicate with external servers and zope for the GUI side. I need to communicate from zope to the twisted processes, has anyone done that

Re: Re : Re : [Zope3-Users] Uploading files

2006-06-20 Thread Frank Burkhardt
Hi, On Tue, Jun 20, 2006 at 10:10:52AM +, Stéphane Brault wrote: > Hi all, > I'm sorry to bother you with what must be a simple problem but I still can't > see > how to upload files with zope 3. If ajax is not a good way to go, how should > I go ? > I just need that to upload csv files wh

Re : Re : [Zope3-Users] Uploading files

2006-06-20 Thread Stéphane Brault
Hi all, I'm sorry to bother you with what must be a simple problem but I still can't see how to upload files with zope 3. If ajax is not a good way to go, how should I go ? I just need that to upload csv files which I parse to update my database (MySQL) and to upload image files. Thanks,