Re: [Zope] subfolder wrong absolute_url

2000-05-18 Thread Steve Alexander
Ulrich Wisser wrote: The path is used by the browser, not Zope. IE and Netscape will store your login/password to send it with every GET request which is in the path, e.g.: authenticate on / - path is / - all request will be with auth info authenticate on /sub - path is /

Re: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Kyler B. Laird
I just installed release 2.2.0a1 on a glibc Linux box, but I keep getting a permission problem when accessing a database query. I have encountered the same problem using ZOracleDA under SPARC Solaris. File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py, line 602, in

[Zope] Broken ZWiki

2000-05-18 Thread Tom Smith
when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? cheers tom [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.dmrl.com http://www.OTHERmedia.com

Re: [Zope] Cache

2000-05-18 Thread Dr. Peer Griebel
Jonothan Farr wrote: How can I disable the browser cache in my zope documents ? One thing you can do is set the 'Expires' header like so: dtml-call "RESPONSE.setHeader('Expires', _.DateTime().rfc822())" This works using Netscape. But for IE I had to use: dtml-call

RE: [Zope] Cache

2000-05-18 Thread Mabe, Brad
Does this work in IE5? I'm using similar META tags which work for IE4 and Netscape but don't work in IE5. -=Brad=- -Original Message- From: Dr. Peer Griebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 18, 2000 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Cache

Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers
Chris Withers wrote: [snip rubbish ;-)] This actually isn't the case, someone had just helpfully turned off 'Access Contents Information' higher up the tree... Doh! Chris ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] ZSQL-Methods: last inserted id

2000-05-18 Thread Ron Bickers
You can get a ZSQLMethod that's used for inserting to return the last inserted ID by doing the following: INSERT ...whatever... dtml-var sql_delimiter SELECT LAST_INSERT_ID() AS newid You get the results as you would with any ZSQLMethod: dtml-in my_zsql_method Inserted ID: dtml-var

RE: [Zope] Newbie: MS Access ODBC connection strings

2000-05-18 Thread michael angelo ruberto
i had a similar problem recently. my access DB was not showing up in the data sources list until i deleted the ODBC connection from windows control panel and recreated it - i guess i messed up the first time. make sure your DB shows up in the "User Data Sources" list in the ODBC Data Source

RE: [Zope] listmate + CSV problem

2000-05-18 Thread michael angelo ruberto
hi, Heiko it works! i had to replace all whitespaces in column names with under_scores. it's the whitespace that created a problem. now i have to enter "NULL" in all the empty cells to make the table line up properly -( but this is not your fault, it's mine. i think many people in my company are

[Zope] Zope Product tools.

2000-05-18 Thread Jerry Spicklemire
Bryan Patrick Coleman asked: I was wondering if there were any products for the following Genre's configuration managment, Project managment, bug tracking, cvs browsing etc for Code / Bug Tracking check out : http://www.zope.org/Members/klm/TrackerWiki/FrontPage

Re: [Zope] how do you pronounce 'ZOPE'?

2000-05-18 Thread Chris McDonough
At DC, we pronounce it J-I-M F-U-L-T-O-N. :-) But some people pronounce it like "soap" with a Z instead of an S at the beginning. Stephen Nosal wrote: Folks - Just a recurring question around the office, is there an official pronunciation for 'ZOPE'? - Steve

RE: [Zope] zsql method??/

2000-05-18 Thread Eric L. Walstad
Oops, I forgot to mention that the CONV function is used in your ZSQL method. Here's the ZSQL Method I use (returns upcoming birthdays falling within this, and the next, month): SELECT FirstName, LastName, MONTH(Birthday) AS Month, DAYOFMONTH(Birthday)AS Day, DATE_FORMAT(Birthday, '%M %D, %Y')

[Zope] Limits on text posting

2000-05-18 Thread Carlos A. Carnero Delgado
Hello again, zopistas! Actually, this is not directly related to Zope, but I just wanted to know. I have a simple form with a textarea, exactly, how much text fits in a text area? I mean, is there an upper limit to the number of characters the end user can type in the textarea? -- [ c a r l o s

[Zope] Local File System

2000-05-18 Thread Tom Scheidt
Hi and thanks, I want to view images in a local fs on a web page so i have: dtml-with images dtml-in images start=0 size=50 orphan=0 reverse img src="dtml-var "(THE IMAGE ID'S)""br /dtml-in /dtml-with I've read that I can get the filenames as id's by using getObject, but I can't seem to

Re: [Zope] Zope and PHP

2000-05-18 Thread andres
On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP output within Zope at:

Re: [Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger
On Thu, 18 May 2000, [EMAIL PROTECTED] wrote: On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP

[Zope] Newbie - problem connecting to MS Access DSN

2000-05-18 Thread richard
Andy, I have this working fine. Are you running NT or \'98? If NT is Zope running as a service? If so, did you create your DSN as a System DSN? Richard part of original message Right, that over, here\'s my plea: I\'m trying to create a connection object to a MS

Re: [Zope] ZScheduler

2000-05-18 Thread Jason Spisak
Chris Withers wrote: Karl Lewin wrote: What sort of scheduling options would be "nice to have" in a scheduling product? 1. The ability to have a method called at a certain DateTime eg: next Tuesday, at 5pm GMT 2. The ability to have a method executed every x, where x is a

Re: [Zope-dev] Methods through the Web (security?)

2000-05-18 Thread Martijn Faassen
Brian Lloyd wrote: I don't have a good answer for you, though I tend to agree with you that some things just don't want to be accessed outside of some larger context. I'd like to hear some different viewpoints on how people think something like this should work... What the difference

Re: [Zope-dev] Methods through the Web (security?)

2000-05-18 Thread Martijn Faassen
Brian Lloyd wrote: Yes you could, except that you would also make them inaccessible from DTML (or from anywhere else) for the same class of users. Is it really acceptable that in order to use dtml-in objectIds on a page that needs to be accessible to anonymous users that I must grant

[Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Heine Gregor
Zopistas! I want to write an Product that mirrors every ZODB-Transaction to a Backup-Server. The idea was to trap every transaction (i.e. creation, change, deletion of zope-objects) and transfer a copy of the object to another server (via XML-RPC?!?) after the transaction got commited. I've

Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Chris McDonough
Heine, You'll want to take a look at lib/python/ZODB/FileStorage, lib/python/ZODB/DemoStorage, and lib/python/ZODB/MappingStorage for ideas. You may also want to take a look at the ZODB Wiki at http://www.zope.org/Members/jim/ZODB Heine Gregor wrote: Zopistas! I want to write an

Re: [Zope-dev] Methods through the Web (security?)

2000-05-18 Thread Steve Alexander
Martijn Faassen wrote: Brian Lloyd wrote: Yes you could, except that you would also make them inaccessible from DTML (or from anywhere else) for the same class of users. Is it really acceptable that in order to use dtml-in objectIds on a page that needs to be accessible to anonymous

Re: [Zope-dev] Methods through the Web (security?)

2000-05-18 Thread Chris Withers
Martijn Faassen wrote: Various things. What you'd need is turn off 'view' permission by default for just about *everything* except possibly DTML Documents, otherwise it's just too easy to set up a site that exposes too much. Exposure to URLs should be turned off by default. Well, this is why

Re: [Zope-dev] Zope and SMP

2000-05-18 Thread Jason Spisak
Thilo Mezger: hi! Howdy. yesterday, i have test-driven zope on a dual-pentium smp-machine running linux 2.2 and i was very disappointed by the results. the zserver threads are running on both cpu's but it seems to scale really, really badly. i have only done some very cheap

Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Heine Gregor
I want to write an Product that mirrors every ZODB-Transaction to a Backup-Server. The idea was to trap every transaction (i.e. creation, change, deletion of zope-objects) and transfer a copy of the object to another server (via XML-RPC?!?) after the transaction got commited. I've

Re: [Zope-dev] DCOracle and floats (was: DCOracle Problem on HPUX)

2000-05-18 Thread Matthew T. Kromer
"R. David Murray" wrote: On Thu, 18 May 2000, Matthew T. Kromer wrote: Yes, this is in the CVS version; Chris Petrilli will probably make an announcment a release soon. The behavior is such that NUMBER with neither scale nor precision is a float. Great! Thanks for the info. From

Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Chris McDonough
Well, that sort of makes sense. The containing object is the object that needs to be updated to rid itself of the reference to the contained object. I'm not sure I understand the problem. The object to be updated *is* the container. My problem is the first step: how does the client

[Zope-dev] updated Wikki with __call__ issue

2000-05-18 Thread Chimezie Thomas-Ogbuji
I added another note on the Wikki regarding the XSLTMethod __call__ issue, more information on the ZPublisher is neccessesary for any progress. Is there any good documentation on the subject? Here is the link to the issue:

Re: [Zope-dev] Re: Fixed reply Re: [Zope-dev] Trouble setting LoginManager default user class default user class

2000-05-18 Thread Phillip J. Eby
At 04:04 PM 5/18/00 -0400, Dan L. Pierson wrote: The portal now gets created, but I can't login to the initial account. I also can't display the members roster by clicking on Members (AttributeError for getUsers), but can write a DTML method in the UserSource that lists all one user. The code

Re: [Zope-dev] Adding ZCatalog index programatically

2000-05-18 Thread Chris McDonough
How about: yourcatalog._catalog.addIndex(id, 'FieldIndex') replace FieldIndex with TextIndex or KeywordIndex as desired. "R. David Murray" wrote: I was just looking at the ZCatalog code to figure out how to programatically add an index to a Catalog. I figured out how to do that fairly

[Zope-dev] How does the submit magic work in, eg, ZCatalog manage_addIndex?

2000-05-18 Thread R. David Murray
On Thu, 18 May 2000, Chris McDonough wrote: yourcatalog._catalog.addIndex(id, 'FieldIndex') Sorry, I started that email when I was about to ask the question you answered, then figured it out myself and changed the email body to ask a new question, but forgot to change the email subject frown.

[Zope-dev] Re: Strange ZClass permissions problem with 2.2a1

2000-05-18 Thread Dr. Ross Lazarus
Yep, trying to access a newly instantiated empty zclass instance produces the same error. Looks like a bug. Email me if you want an exported version of my zclass to poke and prod at... Tres Seaver wrote: Does the problem repeat in the "vanilla" version if you just create a new instance of