9 Jun
2000
9 Jun
'00
12:40 a.m.
Chris Withers wrote:
Bill Anderson wrote:
Tom Scheidt wrote:
Hi All,
I can't get
<dtml-with PARENTS[1]>
Have you tried <dtml-with "PARENTS[1]"> ? I dont recall why ATM, but my rule-of-thumb is that if you are calling ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes.
The all-caps things isn't the problem, <dtml-var REQUEST> will work fine :-)
Yeah, I recalled why I made that rule of thumb being python related in a private email to Tom. Guess I forgot to Cc the list. :) I don't think I've ever used PARENTS or REQUEST alone (except for the occasional debugging with REQUEST), so I always wind up needing to call them the pythonic way.