[prev in list] [next in list] [prev in thread] [next in thread]
List: zope
Subject: [Zope] List of attributes
From: Garito <garito () sistes ! net>
Date: 2007-06-25 3:23:40
Message-ID: faf6c7e50706242023sbd95180kcd3b385c45ce9537 () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi all!
Is it possible to use tal:attributes with a dictionary or something like
this?
I would like to change/add attributes to a HTML object in a list or a dict
like:
<tal:b tal:define='atributos python: {'href': '
http://blogs.sistes.net/Garito', 'target': '_blank', 'myCustomAttribute':
'Value1'}
<a href="http://www.sistes.net" tal:attributes='atributos'>I'm a link!</a>
Thanks a lot!
--
Mis Cosas
http://blogs.sistes.net/Garito
[Attachment #5 (text/html)]
Hi all!<br><br>Is it possible to use tal:attributes with a dictionary or something \
like this?<br><br>I would like to change/add attributes to a HTML object in a list or \
a dict like:<br><br><tal:b tal:define='atributos python: {'href': \
' <a href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>', \
'target': '_blank', 'myCustomAttribute': \
'Value1'}<br><a href="<a \
href="http://www.sistes.net">http://www.sistes.net </a>" \
tal:attributes='atributos'>I'm a link!</a><br \
clear="all"><br>Thanks a lot!<br>-- <br>Mis Cosas<br><a \
href="http://blogs.sistes.net/Garito">http://blogs.sistes.net/Garito</a>
_______________________________________________
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic