[Zope] List of attributes

Garito garito at sistes.net
Sun Jun 24 23:23:40 EDT 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070625/7de8543e/attachment.htm


More information about the Zope mailing list