Bad: Re: [Zope-dev] ZSQL using LIKE operator

2001-02-09 Thread Schmidt, Allen J.
Got it. Making the change now. Thanks for keeping an eye on this thread. What about the sqltest suggestion on posted on this thread? Or do sqltest and sqlvar handle DB calls in a similar fashion? Thanks -Original Message- From: Jon Franz [mailto:[EMAIL PROTECTED]] Sent: Thursday,

[Zope-dev] 2.3.0. Unindex_object Tried To Unindex Nonexistent

2001-02-09 Thread Chris Withers
Christopher Petrilli wrote: Steve is right, though I fixed that problem when it snuck up on me, but apparantly it never got merged into the branches correctly. Don't we all love CVS? I personally had a problem with using 'i' as anything but a iterator variable. Right, okay, patched

[Zope-dev] Getting parent within ZClass hierarchy

2001-02-09 Thread Arno Gross
Easy question, but I couldn't find the answer. How can I access the id (or title) of the parent containing my current object? E.g. NewsContainer |---NewsCategory ( ZClass - ObjectManager) |---NewsItem (ZClass - CatalogAware) I'm looking for a method (Python script) in

Re: [Zope-dev] Greedy except clauses

2001-02-09 Thread Chris McDonough
Whoo hoo! Thanks very much Anthony. - Original Message - From: "Anthony Baxter" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 09, 2001 1:31 PM Subject: Re: [Zope-dev] Greedy except clauses Ok, my last for tonight - I put the output of my horrible script at

Re: [Zope-dev] Getting parent within ZClass hierarchy

2001-02-09 Thread Steve Alexander
Arno Gross wrote: Easy question, but I couldn't find the answer. How can I access the id (or title) of the parent containing my current object? E.g. NewsContainer |---NewsCategory ( ZClass - ObjectManager) |---NewsItem (ZClass - CatalogAware) I'm looking for a

RE: Re: [Zope-dev] ZSQL using LIKE operator

2001-02-09 Thread Jon Franz
sqltest just creates the full string of the where clause segment for the test using the same kind of 'safe' sql-string logic as sqlvar: so you should be able to replace the value to test against with any valid python expression, such as the one below where the % operators are concatenated

[Zope-dev] Plugins as Dataskins

2001-02-09 Thread Johan Carlsson
Hi, Can use Plugins as Dataskins? If so, do I need to put them inside a Customizer? And how does customizes play with Specialists, or should they even do that in the first place? Regards, Johan Carlsson ___ Zope-Dev maillist - [EMAIL PROTECTED]

RE: Re: [Zope-dev] ZSQL using LIKE operator

2001-02-09 Thread Schmidt, Allen J.
Not taken as being harsh from where I stand! The more we know...the better! Thanks for the guidelines and the URL. It has been passed on to the group that handles the MySQL on our server. Have not started using it for Production, but will be soon. From a recent post, I noticed that this topic

Re: [Zope-dev] Hard set port number in 2.3?

2001-02-09 Thread Toby Dickenson
Tim Ansell wrote: But now with zope 2.3.0 it keeps writing urls going to the firewall box on port 8080 instead of port 80 like it previously did. Anyone know how to fix this problem? Where i should look? Hmm. I hadnt been aware that VirtualHostMonster was coming in 2.3.0, so I developed

Re: [Zope-dev] Plugins as Dataskins

2001-02-09 Thread Steve Alexander
Johan Carlsson wrote: Hi, Can use Plugins as Dataskins? The PlugIns product is separate from the ZPatterns/DataSkins product. ZPatterns requires that PlugIns be installed, though. There's some experimental support for having Dataskins as plug-ins. However, I can't think of why I'd need to

Re: [Zope-dev] Hard set port number in 2.3?

2001-02-09 Thread Matt Hamilton
On Fri, 9 Feb 2001, Toby Dickenson wrote: Tim Ansell wrote: But now with zope 2.3.0 it keeps writing urls going to the firewall box on port 8080 instead of port 80 like it previously did. Anyone know how to fix this problem? Where i should look? I have noticed the same thing when I

Re: [Zope-dev] Storing part of an object on the file system

2001-02-09 Thread Andy McKay
Hmm sounds like ZPatterns might help ;-)... will take a look thanks. -- Andy McKay. - Original Message - From: "Steve Alexander" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 09, 2001 1:27 AM Subject: Re: [Zope-dev] Storing part of

[Zope-dev] Bug in DateTime?

2001-02-09 Thread Casey Duncan
I have been working on a calendar for a web site and I came across some strange behavior with DateTime. Using the isCurrentDay() method returns true if only the day number of the month is the same as today's. For instance, today is Feb 9, 2001. The following returns true however in both Zope

Re: [Zope-dev] Plugins as Dataskins

2001-02-09 Thread Johan Carlsson
Johan Carlsson wrote: Hi, Can use Plugins as Dataskins? The PlugIns product is separate from the ZPatterns/DataSkins product. ZPatterns requires that PlugIns be installed, though. There's some experimental support for having Dataskins as plug-ins. However, I can't think of why I'd

[Zope-dev] SiteAccess Newbie

2001-02-09 Thread Erich Seifert
Hi, I just implemented virtual hosting on our web server combining multiple virtual hosts and localization as described in the corresonding how-to. But it's very (very) slow. How can I speed it up? Following the External Python Method I used for the Access Rule: import string def

Re: [Zope-dev] Greedy except clauses

2001-02-09 Thread Jeremy Hylton
"AB" == Anthony Baxter [EMAIL PROTECTED] writes: AB Now, it's obvious that not all of these are bad - some are AB probably fine - but there's also many that are _not_ good. The AB one in MailHost.py does eat exceptions. I'm sure there are AB others. I am probably a bit idiosyncratic,

[Zope-dev] ZClass Permissions

2001-02-09 Thread Adrian Hungate
Is it just me, or is there a bug in the "Edit" tab of the "Zope Permission" object used when creating ZClass products? When I hit "Save Changes" I get: - Zope Error Zope has encountered an error while publishing this resource. Invalid request The parameter, name,

Re: [Zope-dev] Object decision from WebDav/FTP

2001-02-09 Thread Tres Seaver
"Andy McKay" [EMAIL PROTECTED] wrote: Where does Zope do the decision to turn an file sent via FTP or WebDAV into an object of a certain type? I want to fiddle with this so an image put via WebDAV is a myImage object (for example) rather than an Image See the "hookable PUT" proposal

Re: [Zope-dev] Greedy except clauses

2001-02-09 Thread Anthony Baxter
I took the list I generated, and started looking at a number of them. There seems to be a number of different types of case: There's the "just too slack to specify the exception" case -- generally easy, if tedious, to fix. There's the "we're rendering DTML, it could raise an exception of some