14 Feb
2001
14 Feb
'01
7:35 p.m.
Schmidt, Allen J. writes:
I need to use year() as a string value in a <dtml-with yearVar> type of thing.
The folder's id is 2001 I need to use dtml-with to get to that folder.
If I use the folder name of 2001 it works fine. If I use the variable name in the dtml-with, it does not work. What you want is called "computed variable access".
"_[expression]" and "_.getitem(expression)" are answers to this problem. Search the (searchable) mailing list archive for more information. Dieter