Another change in 2.2 - taglibs

Iwan Vosloo <[email protected]> Thu, 08 Mar 2007 14:07:28 +0200
Newsgroups gmane.comp.python.spyce.general
Message-ID <[email protected]>
Hi there,

it seems that pre 2.2 you could write (in a taglib):

[[.attr name="aname" default="somestring"]]

However, 2.2 seems to always treat the string in default as Python code,
so the equivalent in 2.2 is:

[[.attr name="aname" default="'somestring'"]]


Regards
-i


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV