Hello List, I am trying out various aspects of Rivet. I managed to setup an example for DIODisplay. It was not so easy, because there are no examples in the documentation. I am using a Debian server with MySql.
1.) I think I found a bug in the DisplayRequest method. It sets up a query with "count(*)" and in the following if clause tries to set the total to "$a(count)". Since the key of the count value is named "count(*)" the line should read: set total $a(count\(*\)) with the round brackets escaped. Then it works for me. But could you not use the "$DIOResult numrows" directly, like: set total [$DIOResult numrows] That also worked for me. 2.) What I also noticed, is that there is no method to set the "errorhandler", but it is listed in the docs. 3.) Since I am new to Tcl I did not managed to add a new function. How can I define a new method or create an entirely new class, as stated in the docs? To override an existing method I used the ::itcl::body statement. Regards, Marc Bartels
PGP.sig
Description: PGP signature