[Zope3-Users] Re: NotYet error when creating content during container creation

2007-02-25 Thread Philipp von Weitershausen
Jürgen Kartnaller wrote: I've also tried to create the subfolders in a subscriber on IObjectCreatedEvent, but this is equivalent to the previous attempt : NotYet error. What I've understood is that the transaction that manages the folder is not finished, and the IntId utility is not yet able

Re: [Zope3-Users] Re: NotYet error when creating content during container creation

2007-02-25 Thread Christophe Combelles
Jürgen Kartnaller a écrit : Christophe Combelles wrote: Hello, I've been spending several hours on a problem which is probably trivial for advanced zope3ers, but it was not for me, so I'm posting the solution in case it's useful for someone (I've not found anything on it). http://mail.

[Zope3-Users] Re: NotYet error when creating content during container creation

2007-02-25 Thread Jürgen Kartnaller
Christophe Combelles wrote: Hello, I've been spending several hours on a problem which is probably trivial for advanced zope3ers, but it was not for me, so I'm posting the solution in case it's useful for someone (I've not found anything on it). http://mail.zope.org/pipermail/zope3-users

[Zope3-Users] NotYet error when creating content during container creation

2007-02-25 Thread Christophe Combelles
Hello, I've been spending several hours on a problem which is probably trivial for advanced zope3ers, but it was not for me, so I'm posting the solution in case it's useful for someone (I've not found anything on it). The problem: I want to create a folder, and when this folder is created, s

Re: [Zope3-Users] Problem with macro

2007-02-25 Thread Marius Gedminas
On Sun, Feb 25, 2007 at 02:02:43PM +0100, Florian Lindner wrote: > I have a simple problem. A template: > > > > > > > > [...] > > > > > > > > That is registered as view.html. How? ? > Now I want to use the macro in another page: > >

Re: [Zope3-Users] Problem with macro

2007-02-25 Thread Christophe Combelles
Florian Lindner a écrit : Hello, I have a simple problem. A template: [...] I'm not good with METAL (I'm trying to mainly use viewlets), but is it really valid to have use-macro and define-macro in the same template? I'm only using de

[Zope3-Users] Problem with macro

2007-02-25 Thread Florian Lindner
Hello, I have a simple problem. A template: [...] That is registered as view.html. Now I want to use the macro in another page: div metal:use-macro="context/Blog/@@view.html/Blog" /> (tried different variations) but that always causes