[Zope] problem with NeoBoard and breadcrumbs

Dieter Maurer dieter@handshake.de
Wed, 17 Jul 2002 20:51:53 +0200


Aseem Mohanty writes:
 > I call the following method in my standard_html_header and it works fine 
 > everywhere
Then you are lucky!
 > except in the NeoBoard page:

Keep in mind:

  You should not use "_[...]" when you want the result to be used
  as Zope object. "_[...]" will call the result, if it happens
  to be callable. You will not get the object but its rendering!

  Use "_.getitem(...)" in this case.

 > ...
 >   <dtml-call "rev.insert(0, _['sequence-item'])">
 > ...
 > <dtml-in rev>
 >   <a href="<dtml-var "_['sequence-item'].absolute_url()">" 
 > ...


Dieter