[Zope] ZClass hitCounter

Tom Deprez Tom Deprez" <tom.deprez@village.uunet.be
Sat, 15 May 1999 12:47:51 +0200


Ok, I've managed to get the increment of the counter from an instance :

<!--#with counter-->
<!--#call
propertysheets.propHitCounter.manage_changeProperties(hitCount=hitCount+1)--
>
<!--#var counter-->
<!--/#with-->

Now, I want to have a method 'inc' in the product HitCounter which
increments the hitCount...

how to get this done? I can't get it to work.... I don't even know how to
call this method, because : 1. nothing happes, or 2. I can system is
unavailable... with

1.

<!--#with counter-->
<!--#call increment-->
<!--#var counter-->
<!--/#with-->

2.

<!--#with counter-->
<!--#call "increment"-->
<!--#var counter-->
<!--/#with-->

And what do I've to place in the DTML method 'increment'....

Please, can somebody help me?

Tom.