[Zope3-Users] session start/end

2007-04-19 Thread Sascha Ottolski
Hi, reading through zope.app.session, I couldn't find any built-in support for session_start and session_end events, similar to what existed in Zope2. Are there any recipies for such a use case? Searching the web didn't gave me pointers. And by the way, is it possible to programmatically

Re: [Zope3-Users] Interfaces in Schemas

2007-04-19 Thread Sascha Ottolski
Am Donnerstag 19 April 2007 schrieb Hermann Himmelbauer:  Tried it out and it seems to work for Objects() in the schema. However, for Lists(value_type=Object()), I get permission problems: not a real answer, but another hint:

Re: [Zope3-Users] Re: PT, i18n and dynamic attributes...how to?

2007-02-02 Thread Sascha Ottolski
On Friday 02 February 2007 09:35:58 Alex Furlong wrote: I'm wondering if there is a proper solution to a common problem: translating a page template with dynamic attributes. If I put something like ... You probably want to look at i18n:attribute and i18n:name for the translation of dynamic

Re: [Zope3-Users] Re: PT, i18n and dynamic attributes...how to?

2007-02-02 Thread Sascha Ottolski
Am Freitag 02 Februar 2007 schrieb Alex Furlong: I admit that I might be just too dumb to see the obvious Perhaps a little lazy to read! :) not really :-) your example is of course a valid solution, but in my opinion an inconvenient one, when it comes to the poor translation guy. I think it

Re: [Zope3-Users] Re: PT, i18n and dynamic attributes...how to?

2007-02-02 Thread Sascha Ottolski
cc: to the list, hope you don't mind. Am Freitag 02 Februar 2007 schrieb Peter Koppatz: p i18n:translate= Hi, please a tal:attributes=href view/click_urlclick/a here! /p span i18n:translate= tal:omit-tag=Hi, please/span a

Re: [Zope3-Users] best practice for serving static content by front-end webserver?

2007-01-14 Thread Sascha Ottolski
Am Sonntag, 14. Januar 2007 09:49 schrieb Lennart Regebro: On 1/13/07, Sascha Ottolski [EMAIL PROTECTED] wrote: Now, when grepping the zope sources, and third party packages, the included files are spread around. that seems to make it impossible to write proper rewrite rules. if a request

[Zope3-Users] best practice for serving static content by front-end webserver?

2007-01-13 Thread Sascha Ottolski
Hi, I guess lots of people already solved that, however, I couldn't find something in the web yet. I'm wondering how it is done best to let a front-end webserver server the static content (image, css, js) on a live system, while keeping the possibility to have a still working self-serving

Re: [Zope3-Users] ZODB explorer?

2006-12-04 Thread Sascha Ottolski
Am Dienstag, 5. Dezember 2006 04:23 schrieb Robert Hicks: I have search a bit on GOOGLE and didn't find anything. I was wondering if there was a GUI for ZODB (like TOAD for Oracle or similar)? never tried it, but there is http://svn.zope.org/z3c.zodbbrowser/. If you do, I would be interested

[Zope3-Users] schema field for an Image?

2006-12-01 Thread Sascha Ottolski
Hi, I'm wondering if anything already exists, that would allow me to define a schema like (pseudo) IPerson(Interface): image = File( max_size=100, ) Person(Persistent): implements(IPerson) image = FileProperty(form_fields['image']) with the result, that the image

Re: [Zope3-Users] custom widgets (IDisplayWidget)

2006-11-25 Thread Sascha Ottolski
Am Samstag, 25. November 2006 09:46 schrieb Hassan Alirezaei: I think what you do(especially the I18NWidget) should be a part of standard zope. I too think something like this would be a good thing to have as standard. Just thought that anyone might be interested, I stumbled over another

Re: [Zope3-Users] custom widgets (IDisplayWidget)

2006-11-25 Thread Sascha Ottolski
Am Samstag, 25. November 2006 11:36 schrieb Sascha Ottolski: Am Samstag, 25. November 2006 09:46 schrieb Hassan Alirezaei: I think what you do(especially the I18NWidget) should be a part of standard zope. I too think something like this would be a good thing to have as standard. Just

[Zope3-Users] suppressing menu item

2006-11-15 Thread Sascha Ottolski
Hi, I created a sub-interface of IFile, say IMyFile(IFile), which has it's own Edit form, configured like this: editform for=..IMyFile schema=..IMyFile class=.EditMyFile permission=zope.ManageContent name=editmyfile.html menu=zmi_views title=Edit

Re: [Zope3-Users] suppressing menu item

2006-11-15 Thread Sascha Ottolski
Am Mittwoch, 15. November 2006 23:08 schrieben Sie: Sascha Ottolski wrote: Hi, I created a sub-interface of IFile, say IMyFile(IFile), which has it's own Edit form, configured like this: editform for=..IMyFile schema=..IMyFile class=.EditMyFile

Re: [Zope3-Users] object i18n

2006-11-11 Thread Sascha Ottolski
Am Samstag, 11. November 2006 15:56 schrieb Hassan Alirezaei: But the real problem is when two users want to have different translations for the same english word. for example one user might define some-jp-equevalent for an english word but another user might want to have

[Zope3-Users] zope3 collector monitor list?

2006-11-03 Thread Sascha Ottolski
Hi, there was a discussion last year[1] about setting up a monitor list for the zope3 collector, but that never seemed to happen. Wouldn't that make sense? At least I think it would :-) Cheers, Sascha [1] http://mail.zope.org/pipermail/zope3-dev/2005-May/014585.html -- Lalisio GmbH        

Re: [Zope3-Users] join translations of content-objects

2006-10-20 Thread Sascha Ottolski
Am Freitag, 20. Oktober 2006 10:07 schrieb Michael Töpfl: Hi, is there a zope3 addon-package, which allows to join translations of content-objects with references like Zope2-LinguaPlone does? I know, that a implementation of a simple approch isn`t quite hard! I already browsed svn.zope.org,