[Zope] uniqueValuesFor makes an unexpected evaluation.
Lennart Regebro
lennart@torped.se
Mon, 9 Dec 2002 19:17:20 +0100
I used the following dtml:
<dtml-in "Catalog.uniqeValuesFor('countries')">
This works as expected, that is returning a list of the unique values in the
"countries" index. But if I run this from a folder that is a subfolder to a
fodler called "countries" then index_html gets called for this folder (which
the failes, because the index:_html makes a call to REQUEST and it doens't
get one).
That makes absolutely no sense, and I can't even see why this would happen.
Why does countries gets called when I do
"Catalog.uniqeValuesFor('countries')". There are quotation marks around
countries, it should be treated like a string. It seems to me that it's
called during the interpretation of the DTML, because it seems that
uniqueValuesFor isn't being called.
Anybody have *any* idea?