[ZPT] Permanently reversed PARENTS... A Bug?
Felix Hermann Hoßfeld
enemybuster@hotmail.com
Tue, 04 Dec 2001 09:46:12 +0100
Hi!
I was looking for an equivalent of <dtml-var ... reverse> in order to put
breadcrumbs on the page.
I don´t want to reverse the request.PARENTS permanently so I like to copy it
before reversing to itemlist.
<span tal:define="itemlist request/PARENTS; dummy itemlist/reverse"
tal:repeat="item itemlist">
Breadcrumbs here
</span>
However, this still reverses request.PARENTS. I guess itemlist is only a
pointer to request.PARENTS, not a copy. Is that how tal:define is supposed
to work?
A workaround is simple. You only need to reverse the list once more. But a
clean solution would be better.
Yours
Felix
Yours
Felix Hoßfeld
Felix H. Hoßfeld
EDV-Administrator
Universität Hamburg
Philosophisches Seminar
Von-Melle-Park 6
20146 Hamburg
_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp