27 Jun
2001
27 Jun
'01
12:53 a.m.
Actually, try
<dtml-var "_.getitem(myVariable,1)">
It's the 1 that renders it.
Thank you. I should also mention that I found anothere syntax to do it also. It is slightly different than the underscore syntax I'm used to trying. <dtml-var expr="_[myVariable]"> instead of what I also tried, which was <dtml-var expr="_['myVariable']"> The previous one works, where as the latter one just prints out 'methodA'. Thanks again, Tommy