Re: [Zope3-Users] newbie question on i18n

2006-04-26 Thread Frank Burkhardt
Hi, On Wed, Apr 26, 2006 at 11:14:19AM +0200, Riccardo Tonon wrote: > Hi everybody, > > I'm developing a multilanguage site in Zope 3. > > I've just prepared it to support the i18n based on the browser language. > > I would like also to let the user decide which language to use. (e.g. using a

Re: [Zope3-Users] newbie question on i18n

2006-04-26 Thread Andreas Jung
--On 26. April 2006 11:14:19 +0200 Riccardo Tonon <[EMAIL PROTECTED]> wrote: Hi everybody, I'm developing a multilanguage site in Zope 3. I've just prepared it to support the i18n based on the browser language. I would like also to let the user decide which language to use. (e.g. using a

Re: [Zope3-Users] newbie question

2006-04-10 Thread Marco Mariani
张平 wrote: > Hi, > > I wanna develop a site for managing content using workflow, where can i > find any document about zope3 workflow, > You should look at the directory wfmc/README.txt in the SVN repository. It's the new workflow system. The one referred to in the book is also in SVN, but I thin

Re: [Zope3-Users] Newbie question...

2006-03-21 Thread Stephan Richter
On Tuesday 21 March 2006 18:47, Thierry FLORAC wrote: > Of course, I'm not sure to really understand the difference between this > code and the previous one, and why this "object" inheritance is so > important (I've always thought that every Python class was automatically > inheriting from "object"

Re: [Zope3-Users] Newbie question...

2006-03-21 Thread Thierry FLORAC
On Tue, 2006-03-21 at 17:59 -0500, Stephan Richter wrote: > On Tuesday 21 March 2006 17:39, Thierry FLORAC wrote: > > class IPhotoStorage: > > Well, this needs to inherit Interface. Of course it is ! I just forgot to put the correct syntax for this inheritance in my post... :-( > > clas

Re: [Zope3-Users] Newbie question...

2006-03-21 Thread Stephan Richter
On Tuesday 21 March 2006 17:39, Thierry FLORAC wrote: >     class IPhotoStorage: Well, this needs to inherit Interface. >     class PhotoStorage: try to make this a new-style class: class PhotoStorage(object) Let me know what the outcome was. Regards, Stephan -- Stephan Richter CBU Physics &

Re: [Zope3-Users] Newbie question...

2006-03-21 Thread Thierry FLORAC
On Mon, 2006-03-20 at 19:02 -0500, Stephan Richter wrote: > On Monday 20 March 2006 17:26, Thierry FLORAC wrote: > > Actually, the only working way I found to update my annotations through > > my adapters is always to use "form" directives with the help of a > > support class using "getData/setData

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Stephan Richter
On Monday 20 March 2006 17:26, Thierry FLORAC wrote: > Actually, the only working way I found to update my annotations through > my adapters is always to use "form" directives with the help of a > support class using "getData/setData" methods which call the adapter > directly... Can you post the c

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Thierry FLORAC
On Mon, 2006-03-20 at 09:45 -0500, Stephan Richter wrote: On Saturday 04 March 2006 10:01, Thierry FLORAC wrote: >  - define "editform" in browser's "configure.zcml" => probably bad ! If the "for" attribute differs from the "schema" attribute in the edit form, the form will automatically lo

Re: [Zope3-Users] Newbie question...

2006-03-20 Thread Stephan Richter
On Saturday 04 March 2006 10:01, Thierry FLORAC wrote: >  - define "editform" in browser's "configure.zcml" => probably bad ! If the "for" attribute differs from the "schema" attribute in the edit form, the form will automatically look up an adapter from the context object (implementing the "for

Re: [Zope3-Users] Newbie question...

2006-03-06 Thread Thierry FLORAC
On Tue, 2006-03-07 at 01:20 +0100, Thierry FLORAC wrote: > My code is in fact very simple : > > class IPhotoStorage: > identifier = TextLine(...) > hostname = TextLine(...) > > PhotoStorageKey = "http://www.ulthar.net/keys/storage"; > >

Re: [Zope3-Users] Newbie question...

2006-03-06 Thread Thierry FLORAC
On Sat, 2006-03-04 at 16:01 +0100, Thierry FLORAC wrote: > I've started to create a few components with Zope-3.2. > Until now, everything is OK for simple content components and a few > utilities. > > I'm actually trying to develop new adapters. > One of these adapters is designed to use annotatio