>>>>> "kc" == k clair <kclair-1hdnqmT0oxUXQ3Lr6voeyA@xxxxxxxxxxxxxxxx> writes:
kc> but template toolkit balks at that. If I set a seperate
kc> variable to "domain__${d}" and use that as the key, it
kc> works fine. But I'd like to do this in a single statement
kc> as it'll be repeated many times in my template. Is there
kc> a way to do it?
I don't think you can do that. The grammar doesn't seem to support
concatination to generate a key. I have a fair bit of code that does
the temporary variable way you noted above.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D. Khera Communications, Inc.
Internet: khera-yUsKYk4uhJJBDgjK7y7TUQ@xxxxxxxxxxxxxxxx Rockville, MD
+1-240-453-8497
AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/
|