[Zope] scoping problem?
Arjan Scherpenisse
A.Scherpenisse@zap.a2000.nl
12 Nov 1999 15:49:24 +0100
Hi,
i have this code, to display a 'see also' block in my navigation bar,
using a 'seealso' property in the folder. This property is a
comma-seperated list of interesting id's.
<dtml-call "REQUEST.set('links', _.string.splitfields(seealso,','))">
<dtml-in links>
<tr><td>
<a href="<dtml-var "absolute_url()">"><dtml-var title></a>
</td></tr>
</dtml-in>
But, this doesn't work as expected. The values from the absolute_url()
and the title are still the ones from the current page.
When i try something like <var sequence-item>, the correct id is
displayed. But when i try a statement like <dtml-with sequence-item>,
it uses again the wrong scope, it seems.
I hope someone can point me in the right direction.
--
Arjan Scherpenisse, A.Scherpenisse@zap.a2000.nl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Hi, MS Outlook just gave me a signature virus"