Re: [Zope] nested metal macros

2006-08-23 Thread Dieter Maurer
Antonio Beamud Montero wrote at 2006-8-22 19:45 +0200: ... I do not understand what you precisely want to achieve. However, you could get something like the example in your original post by: * define macroB at the page level (it uses macroA) * make your former macroB a macroC

[Zope] nested metal macros

2006-08-22 Thread Antonio Beamud Montero
Hi all: I'm trying to nest several macros but only the last is showed. I define for example macroA with a slot named slotA for example. macroB uses macroA and fills slotA, but also defines a slot.. something like this: - MacroA html xmlns=http://www.w3.org/1999/xhtml;

Re: [Zope] nested metal macros

2006-08-22 Thread Dieter Maurer
Antonio Beamud Montero wrote at 2006-8-22 08:46 +0200: ... - MacroB div xmlns:metal=http://xml.zope.org/namespaces/metal; metal:use-macro=container/macroA/macros/macroA span metal:fill-slot=slotA div align=center metal:define-macro=macroB span

Re: [Zope] nested metal macros

2006-08-22 Thread Antonio Beamud Montero
El mar, 22-08-2006 a las 19:13 +0200, Dieter Maurer escribió: Antonio Beamud Montero wrote at 2006-8-22 08:46 +0200: ... - MacroB div xmlns:metal=http://xml.zope.org/namespaces/metal; metal:use-macro=container/macroA/macros/macroA span metal:fill-slot=slotA div

Re: [Zope] nested metal macros

2006-08-22 Thread Dieter Maurer
Antonio Beamud Montero wrote at 2006-8-22 19:21 +0200: ... Ok... I want to define a template (like a skeleton), other template (like the body of the skeleton) and lot of templates in sections of the body of the skeleton and reuse the skeleton and the body across all my web... How I can do that?

Re: [Zope] nested metal macros

2006-08-22 Thread Antonio Beamud Montero
El mar, 22-08-2006 a las 19:34 +0200, Dieter Maurer escribió: Antonio Beamud Montero wrote at 2006-8-22 19:21 +0200: ... Ok... I want to define a template (like a skeleton), other template (like the body of the skeleton) and lot of templates in sections of the body of the skeleton and reuse