Re : [Zope3-Users] Zope and UTF-8 accentuated characters

2006-08-28 Thread Stéphane Brault
Thanks Marius. My data is stored in a MySQL database (charset utf-8), which I access through sqlos. My string data are stored in a unicodeCol (a sqlos object which manages unicode data). The browser's page charset is UTF-8, so I gess there lies the problem. I generate pages through

[Zope3-Users] Re: [Zope3-dev] z3c - be or not to be

2006-08-28 Thread Bernd Dorn
On 27.08.2006, at 18:53, Dieter Maurer wrote: Roger Ineichen wrote at 2006-8-25 18:27 +0200: ... The reason why; We really have no time to do this in the next couple of month. And the option sombody else doing it is also *NO* option because we have allready productive projects build on this

Re : [Zope3-Users] Why Zope3

2006-08-28 Thread Stéphane Brault
I'm not a zope 3 expert, mainly a user. I use zope 3 for my company project and I'm fairly happy with it. I don't use the ZODB (the object database coming with zope) but mysql through the sqlos package (which allows to use the SQLObject ORM), there is also a package which allows the use of

[Zope3-Users] Re: Why Zope3

2006-08-28 Thread Martin Aspeli
Philipp von Weitershausen wrote: Behrang Dadsetan wrote: Hi Philipp, Your reply made me discover the fact that http://svn.zope.org contains so many third-party packages. Is there any page that gives a minimal description to each of these packages? Like an overview maybe even in the same

Re: [Zope3-Users] Re: Performance

2006-08-28 Thread Philipp von Weitershausen
David Johnson wrote: Okay. I think I figured it out. It seems that images and large objects are the main culprit. We have very few images, mainly just icons for the content types and tabs. I discovered this by using lynx and with IE disabling images. So the new question is: how do I

Re: [Zope3-Users] Re: how to know if a principal has the right permissions

2006-08-28 Thread Philipp von Weitershausen
Lorenzo Gil Sanchez wrote: El dom, 27-08-2006 a las 23:53 +0200, Philipp von Weitershausen escribió: zope.security.canAccess zope.security.canWrite Nice, I didn't know about those and I ended writing my own solution: def canAdd(self): interaction = ZopeSecurityPolicy()

Re: [Zope3-Users] Re: how to know if a principal has the right permissions

2006-08-28 Thread Philipp von Weitershausen
Lorenzo Gil Sanchez wrote: Right. Because you're not supposed to poke at __data. The two underscores should scare you off! By the way, this is a rule of thumb: Whenever you get ForbiddenAttribute errors, you're doing something wrong. Either: 1. you're missing security declarations

Re: [Zope3-Users] Re: how to know if a principal has the right permissions

2006-08-28 Thread Lorenzo Gil Sanchez
El lun, 28-08-2006 a las 20:49 +0200, Philipp von Weitershausen escribió: Lorenzo Gil Sanchez wrote: Right. Because you're not supposed to poke at __data. The two underscores should scare you off! By the way, this is a rule of thumb: Whenever you get ForbiddenAttribute errors, you're

Re: [Zope3-Users] Re: how to know if a principal has the right permissions

2006-08-28 Thread Philipp von Weitershausen
Lorenzo Gil Sanchez wrote: El lun, 28-08-2006 a las 20:49 +0200, Philipp von Weitershausen escribió: Lorenzo Gil Sanchez wrote: Right. Because you're not supposed to poke at __data. The two underscores should scare you off! By the way, this is a rule of thumb: Whenever you get

Re: [Zope3-Users] Re: Performance

2006-08-28 Thread Tom Dossis
David Johnson wrote: Okay. I think I figured it out. It seems that images and large objects are the main culprit. We have very few images, mainly just icons for the content types and tabs. I discovered this by using lynx and with IE disabling images. So the new question is: how do I