[Zope] Form Validation

2000-09-06 Thread Andreas Pauley
Hi, I see you can let Zope do basic form validation for you by appending ":string" or ":int" to your form name. The error messages that are displayed are not that clear, however. How can I get more control over what happens when an error occurs? (e.g. I'd like to be able to get back a

[Zope] Passing parameters to external methods

2000-09-13 Thread Andreas Pauley
Hi, I need to pass some parameters to my external methods. I have an external method that looks (somewhat) like this: def extAccess(self, accttype_cde): return accttype_cde In the following dtml code, the following statement (with the SQL method) works fine: dtml-if

[Zope] Zope User in Apache Logs

2006-05-02 Thread Andreas Pauley
Hi all, I've been going through the list archives looking for tips on logging (getting sensible statistics from my log files). At the moment I have the setup recommended by most posts, namely multiple Apache virtual hosts that proxies requests to a single Zope instance. I would like to know

Re: [Zope] Zope User in Apache Logs

2006-05-02 Thread Andreas Pauley
Andreas Pauley wrote: I would like to know how I can get Apache to log the current Zope user. Here's an example from my Apache access_log: 10.0.0.100 - - [02/May/2006:15:32:18 +0200] GET / HTTP/1.1 200 35721 Which results in this entry from my Z2.log: 127.0.0.1 - adp [02/May/2006:15:32:21