hello list,

I saw that the first time i send this question to the list it was in RTF-format and not nice readable, so i send it again.

I want to use something like the Zope tutorial lesson 9 in ZPT,
but i don't now how to do this. Any suggestions?
This is the DTML version from the tutorial i'm talking about:

<dtml-call expr="RESPONSE.setCookie('lastVisited', _.DateTime())">

<dtml-comment>
If this is their first time here set a default value
for lastVisited, since they won't have the cookie yet.
</dtml-comment>

<dtml-unless lastVisited>
  <dtml-call "REQUEST.set('lastVisited','1999/01/01')">
</dtml-unless>

<h2><dtml-var title></h2>

<dtml-in "sightingsFolder.objectValues()">
<dtml-if expr="bobobase_modification_time() > _.DateTime(lastVisited)">
<b>New</b>
</dtml-if>
<dtml-var sequence-item>
</dtml-in>


> Jos van der Vleuten
Programmeur / Analist
> http://www.walcheren-online.net
>
> UCC Business Solutions
>
> Buizerdlaan 2
> Postbus 1534
> Nieuwegein
> Telefoon +31 (0)30 6008600
> Fax +31 (0)30 6008601
> http://www.ucc.nl
>
> Have a nice day !
>