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:
> 
> 
> 
> but with ['http://foo'] I create:
> 
> 

Ah.

> How I create refX?

I have no idea if that's even possible.

-- 
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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 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:



but with ['http://foo'] I create:



How I create refX?

Greetings.


> For example, I want something like this:
> http://boo";;
>   ref2 request/URL3" />
> 
> And so on.
> 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


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:
http://boo";;
  ref2 request/URL3" />

And so on.

-- 
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[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:
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... 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )