-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

No, that is not possible.  The semantics of 'tal:attributes' are defined
in the spec for TAL, which is here:

  http://wiki.zope.org/ZPT/TALSpecification14


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [EMAIL PROTECTED]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGf9dJ+gerLs4ltQ4RAsSaAKCER42ardUq35PDr+ThqXHJCpRMwACeLM8X
4CbqyGSFCcClLmuT+S7zC0M=
=NMH4
-----END PGP SIGNATURE-----

_______________________________________________
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 )

Reply via email to