[Zope] custom __of__

2000-12-20 Thread Randall F. Kern
This is something that I still don't quite understand. I have a set of (python, Folder derived) objects, which are children of a Folder derived python class. Each of these in turn has another, related python object. / a ab1 ab2 ab3

RE: [Zope] RE: New install - no management screen? (resolved)

2000-12-31 Thread Randall F. Kern
I realize you've already worked around this problem, but I've seen this on some installations of IE. The solution I've found is to delete all cookies from the client. -Randy -Original Message- From: Glenn Gillis [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 31, 2000 8:57 AM To: [EMA

RE: [Zope] Using a multiple_selection property in a product

2001-01-03 Thread Randall F. Kern
Try this: _properties = ( {'id':'classdays', 'type':'multiple selection','mode':'w', 'select_variable': 'days'}, ...) days = ( 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday' ) -Randy -Original Message- From: Ronald L. Roeber

RE: [Zope] How to escape quotation mark in dtml script?

2001-01-08 Thread Randall F. Kern
-Randy -Original Message- From: Dirksen [mailto:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 12:41 AM To: [EMAIL PROTECTED] Subject: [Zope] How to escape quotation mark in dtml script? won't work! Please help. Dirksen __ Do You Y

RE: [Zope] hasRole bug or feature in 2.2.?

2001-01-13 Thread Randall F. Kern
> From: Ron Bickers [mailto:[EMAIL PROTECTED]] > If this is true, it explains clearly Zope's behavior. It's really a browser > "feature" and not a Zope issue at all. Yes, that's the problem. My solution is to use a custom UserFolder, which sets a temporary cookie when a normal HTTP login is

RE: [Zope] renaming python input params in DTML

2001-01-14 Thread Randall F. Kern
You can't use DTML tags inside an expr="" attribute; the value of expr is python code. To access the sequence-item variable from python, you need: _['sequence-item'] So, try something like this (untested): -Randy -Original Message- From: Lee [mailto:[EMAIL PROTECTED]] Sen

RE: [Zope] if-else using ZSQL resultset & sendmail query

2001-01-20 Thread Randall F. Kern
bgcolor is white ... bgcolor is grey ... If you really need the "resultset number", you can use sequence-number. As for and news, it only sends mail via SMTP, so it can't be used to post news. -Randy -Original Message- From: Lee [mailto:[EMAIL PROT

[Zope] ZMySQLDA problems after upgrade

2001-01-25 Thread Randall F. Kern
I recently moved my product from zope 2.2.5 with ZMySQLDA 1.1.4 and MySQLDB 0.1.2 to a Zope 2.3.0b3 with new mysql code (MySQL-python-0.3.0, and ZMySQLDA 2.0.1). With these changes, I've found a couple problems, and was wondering if others where familiar with any of these problems, if some might

RE: [Zope] ZMySQLDA problems after upgrade

2001-01-26 Thread Randall F. Kern
You will get 0 rows if you use max_rows=0. -Randy -Original Message- From: Ron Bickers [mailto:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 10:05 AM To: Ron Bickers; Andy Dustman; Randall F. Kern Cc: [EMAIL PROTECTED] Subject: RE: [Zope] ZMySQLDA problems after upgrade

[Zope] CoreSessionTracking and ConflictError

2001-01-29 Thread Randall F. Kern
I've been porting my product from my own private session manager to use CoreSessionTracking 0.6, and am having a problem with lots of conflict errors. I've got a session_id_mgr in the root, configured as per defaults, and a session_data_mgr also in the root, using the RAM base container. Then I