Re: [Zope3-Users] Re: Referencing objects in auto-generated forms

2006-04-18 Thread Frank Burkhardt
Hi,. On Sun, Apr 16, 2006 at 01:48:37PM -0500, Jeff Rush wrote: [snip] Frank, I thought vocabularies were being de-emphasized though, in favor of the newer 'sources' component? Vocabularies were good for short lists of choices, but because it read them all into memory at once not so

[Zope3-Users] formlib problem

2006-04-18 Thread Stéphane Brault
Hi, I can't use formlib, when I run the example in the form.txt I get this error: Traceback (most recent call last): File pyshell#29, line 1, in -toplevel- print MyForm(None, request)() File pyshell#26, line 6, in __call__ widgets = form.setUpWidgets(self.form_fields, 'form',

[Zope3-Users] ZEO Zope3 and Twisted

2006-04-18 Thread David Pratt
Is there any plan to provide security for ZEO client / server communication using Twisted now that it is in Zope3? Many thanks Regards, David ___ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users

[Zope3-Users] Sending data to widgets

2006-04-18 Thread Frank Burkhardt
Hi, I need to send some data from a view class to all widgets that are used in the form. Unfortunately some of the widget that need to receive those data are contained e.g. in lists or dictionaries. I tried to do somthing like this: request._data=somedata My view class would add 'somedata' to

[Zope3-Users] Re: Sending data to widgets

2006-04-18 Thread Philipp von Weitershausen
Hi Frank, I need to send some data from a view class to all widgets that are used in the form. Unfortunately some of the widget that need to receive those data are contained e.g. in lists or dictionaries. I tried to do somthing like this: request._data=somedata My view class would

Re: [Zope3-Users] Creating PluggableAuthentication problem.

2006-04-18 Thread Michael Howitz
Tobias Weber wrote: Hello! I try to add a PluggableAuthentication and a PrincipalFolder automatically. When I add a principal to the PrincipalFolder it works fine, but the authentification of the User fails. When I add one more PluggableAuthentication manually and choose the automatically

Re: [Zope3-Users] Re: Referencing objects in auto-generated forms

2006-04-18 Thread Gary Poster
On Apr 18, 2006, at 3:31 AM, Frank Burkhardt wrote: Hi,. On Sun, Apr 16, 2006 at 01:48:37PM -0500, Jeff Rush wrote: [snip] Frank, I thought vocabularies were being de-emphasized though, in favor of the newer 'sources' component? Vocabularies were good for short lists of choices, but

[Zope3-Users] Re: Use Case for a Tree of Adapter Registries?

2006-04-18 Thread Philipp von Weitershausen
Jeff Rush wrote: I've read the code for adapter registries, how there is a global one and any number of local ones, arranged in a tree and that each can be disabled. But I can't figure out when you'd want to make use of such an arrangement. The docstrings and .txt files use abstract

Re: [Zope3-Users] formlib problem

2006-04-18 Thread Michael Howitz
Stéphane Brault wrote: Hi, I can't use formlib, when I run the example in the form.txt I get this error: Traceback (most recent call last): File pyshell#29, line 1, in -toplevel- print MyForm(None, request)() File pyshell#26, line 6, in __call__ widgets =

Re: [Zope3-Users] Re: Sending data to widgets

2006-04-18 Thread Frank Burkhardt
Hi, On Tue, Apr 18, 2006 at 03:20:49PM +0200, Philipp von Weitershausen wrote: [snip] Right. Requests are read-only to the application. It there a chance to transport data throught the request object without modifying the depth of the zope core? Maybe there's a way for widgets to

[Zope3-Users] Re: Blobs in Z3 anyone?

2006-04-18 Thread Philipp von Weitershausen
David Pratt wrote: Hi I had asked this question about a week ago with no response. Filesystem blobs are a valuable means of storing large object data in the filesystem instead of the ZODB. I have previously written a repository product in zope2 for blobs but would like to migrate to Z3. Does

[Zope3-Users] Object modified or not

2006-04-18 Thread Frank Burkhardt
Hi, how does Zope decide, if a persistent object is modified? What I'm interested in: Does myobject._foo='bar' delattr(myobject,'_foo') make Zope create a new version of the 'myobject' in zodb? Regards, Frank ___ Zope3-users mailing list

Re: [Zope3-Users] Re: Sending data to widgets

2006-04-18 Thread Philipp von Weitershausen
Hi Frank, My problem is not about data the widget should display but about data that controls the widget's behaviour. In this case my form consists of some widgets representing a schema interface plus a special I18NController widget which is e.g. used to define, in which order different

Re : FW: [Zope3-Users] formlib problem

2006-04-18 Thread Stéphane Brault
Thanks Pete, I registered the adapters in the shell and it works. The trouble is that I have the same problem from zope. It seems that the adapters for the shema fields are not registered, therefore I can't have formlib working, even when I register the adapters by code. I don't know what

[Zope3-Users] Re: Object modified or not

2006-04-18 Thread Philipp von Weitershausen
Frank Burkhardt wrote: how does Zope decide, if a persistent object is modified? What I'm interested in: Does myobject._foo='bar' delattr(myobject,'_foo') del myobject._foo :) make Zope create a new version of the 'myobject' in zodb? Yes. Persistent objects are regarded

Re : [Zope3-Users] formlib problem

2006-04-18 Thread Stéphane Brault
Thanks Michael, There is indeed something missing : ComponentLookupError: (( zope.schema._bootstrapfields.Int object at 0x01A83610 , zope.publisher.browser.TestRequest instance URL=http://127.0.0.1 ), InterfaceClass zope.app.form.interfaces.IDisplayWidget , u'') My problem has nothing

Re: [Zope3-Users] Re: Sending data to widgets

2006-04-18 Thread Gary Poster
On Apr 18, 2006, at 10:19 AM, Frank Burkhardt wrote: Hi, On Tue, Apr 18, 2006 at 04:04:43PM +0200, Philipp von Weitershausen wrote: Hi Frank, My problem is not about data the widget should display but about data that controls the widget's behaviour. In this case my form consists of

[Zope3-Users] Re: Can't build Zope on OS X

2006-04-18 Thread Philipp von Weitershausen
Eric Williams wrote: Hi all. I’m having trouble building Zope on OS X. I’ve searched all over for a solution but could not find anything. Any help is much appreciated! [lots of stuff snipped] Seems to mee like you were using MacPython 2.4.3. According to

[Zope3-Users] url traversal and jsonserver

2006-04-18 Thread Pete Taylor
hi all, i've been looking at jsonserver recently, and am very impressed. however, my question doesn't really involve jsonserver functionality, so much as it does a bit of url traversal indirection. i have a simple dashboard like approach to a particular user interface design, where most of the