[Zope3-dev] ? vs $
Guido van Rossum
guido@python.org
Thu, 13 Jun 2002 16:35:14 -0400
SteveA and I are confused why in a path in TALES you can use ? for
expansion, but $ elsewhere. E.g. you can write
<td tal:content="context/?jobid/summary">
I believe that in string expressions you can use $foo to expand a
variable:
<td tal:content="string:${jobid}">
Why can't we use $jobid in the first example?
(Embarrassingly, I think I was at the meeting where this was invented,
but I can't recall the rationale.)
--Guido van Rossum (home page: http://www.python.org/~guido/)