Re: recursive macro problem with Chameleon zpt, bug? implementation issue?

2011-04-26 Thread Malthe Borch
On 25 April 2011 23:28, Iain Duncan wrote: > I don't know, I was looking for examples of ZPT recursive macros and the > examples I found seemed to imply yes, but I am new to ZPT. I have tried it in ZPT and it did not work. It's possible to make it work (in Chameleon), but it opens up some questi

Re: recursive macro problem with Chameleon zpt, bug? implementation issue?

2011-04-25 Thread Iain Duncan
On Mon, Apr 25, 2011 at 1:10 AM, Malthe Borch wrote: > On 25 April 2011 02:57, Iain Duncan wrote: > > Apologies for the cross post ( and direct post), not sure whether this > > should be in Pylons discuss or Repoze these days. > > I think it's possibly a Pylons post. > I'd recommend up dating t

Re: recursive macro problem with Chameleon zpt, bug? implementation issue?

2011-04-25 Thread Malthe Borch
On 25 April 2011 02:57, Iain Duncan wrote: > Apologies for the cross post ( and direct post), not sure whether this > should be in Pylons discuss or Repoze these days. I think it's possibly a Pylons post. > error: >     raise NameError(key) > RenderError: An uncaught exception was raised. > Name

recursive macro problem with Chameleon zpt, bug? implementation issue?

2011-04-24 Thread Iain Duncan
Apologies for the cross post ( and direct post), not sure whether this should be in Pylons discuss or Repoze these days. I'm trying to use a recursive metal macro in a zpt template in a pyramid app, from what I can tell, the following should work, but I don't know what' wrong: