[Zope] ZPT and attributes

2005-04-08 Thread Antonio Beamud Montero
Hi all: How I can create attribute names dynamically? For example, I want something like this: books ref1=http://boo; ref2=http://foo; ... Where ref1 and ref2, are created by the url list. I have done in DTML because I cannot with ZPT. Thanks... ___

Re: [Zope] ZPT and attributes

2005-04-08 Thread Lennart Regebro
On Apr 8, 2005 4:51 PM, Antonio Beamud Montero [EMAIL PROTECTED] wrote: Hi all: How I can create attribute names dynamically? tal:attributes=attributename expression For example, I want something like this: books tal:attributes=ref1 string:http://boo;;

Re: [Zope] ZPT and attributes

2005-04-08 Thread Antonio Beamud Montero
El vie, 08-04-2005 a las 16:55 +0200, Lennart Regebro escribió: On Apr 8, 2005 4:51 PM, Antonio Beamud Montero [EMAIL PROTECTED] wrote: Hi all: How I can create attribute names dynamically? tal:attributes=attributename expression Sorry, I haven't explain the problem correctly :) The

Re: [Zope] ZPT and attributes

2005-04-08 Thread Lennart Regebro
On Apr 8, 2005 5:00 PM, Antonio Beamud Montero The problem is the number of refX depends on the list of urls, i.e. if I have ['http://foo', 'http://boo', 'http://google.com'] then I create: books ref1='http://foo' ref2='http://boo' ref3='http://google.com' but with ['http://foo'] I