Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-30 Thread Alexei Ustyuzhaninov
David Johnson пишет: On Jan 29, 2007, at 5:30 PM, Alexei Ustyuzhaninov wrote: David Johnson пишет: What do you mean by Your authenticator is registered as a Plugin in a PAU in your current site? I registered the authenticator as a utility and assigned the utility name to the

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

2007-01-30 Thread Thierry Florac
Hi, I currently have a little problem to translate contents displayed in a zc.table component. Here is an extract of my Python code : from onf import _ DRAFT = 0 # New document PROPOSED = 1 # Publication request CANCELED

Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-30 Thread Stephan Richter
On Monday 29 January 2007 11:30, Alexei Ustyuzhaninov wrote: Aha, seems that I see where is my problem. I didn't manage site through ZMI. Is it possible to do this manipulation programmatically? Yes, we do it only this way. The site management API is very easy. See IComponents. Regards,

Re: [Zope3-Users] Pluggable authentication, a newbie's question

2007-01-30 Thread Stephan Richter
On Monday 29 January 2007 16:06, David Johnson wrote: Aha, seems that I see where is my problem. I didn't manage site   through ZMI. Is it possible to do this manipulation programmatically? That I don't know. Probably.   Why you would want to is another   question. There is a lot of

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

2007-01-30 Thread Fred Drake
On 1/30/07, Thierry Florac [EMAIL PROTECTED] wrote: My problem is that the StateLabels are translated correctly in several templates, but not when used inside this table (I can only see the status-... translation key in generated output). You'll need to use a SortableColumn subclass that

[Zope3-Users] problems using os.popen2 in a heavily used utility

2007-01-30 Thread Shaar Gabriel
Hi. i have a utility that generates thumbnails for objects that can be displayed as an image (faxes). the part that generates the thumbnail : def generate_thumbnail(self, data): Return a smaller view of the data stream # if data stream is a djvu file,